lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Some questions related to score video generation


From: Knut Petersen
Subject: Some questions related to score video generation
Date: Fri, 7 Jul 2017 09:55:38 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]