Hi everybody! I extended my video generation script to allow coloring notes as they are played. Currently that works for noteheads and rests, see this example I uploaded to youtube <https://www.youtube.com/watch?v=Z6MtIydbe-I>.
Question 1: I use an after-line-breaking override for NoteHead, Rest and MultiMeasureRest events to encode the moment and the duration in the color fields of the notehead grobs, translate to postscript and postprocess the postscript files to tell ghostscript to generate images for every moment that has one of those events. Does anybody know a less hackish way to generate multiple copies of the systems of a score with changes to only the color of some grobs? Question 2: I also would like to change the color of the stems, flags and dots that belong to a notehead, but those have no 'duration. Does anybody have an idea how to give a certain color to those grobs from inside the code called by the notehead after-line-breaking override? Knut _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel