Skip to content

aaumkar/python-ttml-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-ttml-tool

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.

How to use it?

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

Getting it running

Install the dependancies
pip3 install -r requirements.txt
Put lyrics in the lyrics.txt

Please have in mind

Running the program

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 for note_on event.
  • When you want to record end time of the line, release any MIDI key.
    I am looking for note_off event.

This works for me, but welcome improvements/suggestions.

About

Python based CLI tool to record TTML Lyrics for Apple Music.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages