Lee: ... > 1. Can I extract the time in seconds and pitch/note/fret from the lily > score and how could I bind that to python. ...
You cat get the above except for "fret" from the midi file produced by lilypond. Midi file format is specified here: https://aspodata.se/choir/midi/midiformat.pdf A midi file contains events with time, note number and sound volume. Just search for "note_on" and "note_off" events in the track of interest. To handle midi files in python, search for code here: https://pypi.org/search/?q=midi&o= Regards, /Karl Hammar
