delete a Note from this track
If isMonoNote, delete with removeElement()
If isInterval, delete it from the chord handle's vector of intervals If isHandle of chord,
removeElement, set new handle to first interval and insert that.
Draw on top of a rendered score repeatedly, save each resulting image as jpeg image sequence
Using new callback via scorecanvaslistener to add drawing on top of score.
It is important that the input Score has correct total durations in each staff of each
measure.
This is because LilyPond lays out its own barlines, so if you have 5 quarter notes in a
measure of 4/4, for example, LilyPond will put the barline after the 4th note.