Python based CLI tool to record TTML Lyrics for Apple Music.
This is a very quick and dirty CLI tool to quickly get a .ttml file based closely on Apple Music TTML Guide.
I am hoping that you can
- work with
python(venv preffered for hygene) - work with a MIDI keyboard
- play your lyrics simultaneously as running this code
pip3 install -r requirements.txtPlease have in mind
- The first line should not be blank
- Stanzas should have ONLY single blank line separating
- Follow lyrics guidelines in Apple Video and Audio Asset Guide
Prepare a media player and run the program. Try as best as possible to run them simultaneously. (I know, but this is quick and dirty, remember?)
- When you want to record start time of the line, press any MIDI key.
I am looking fornote_onevent. - When you want to record end time of the line, release any MIDI key.
I am looking fornote_offevent.
This works for me, but welcome improvements/suggestions.