On Friday 19 August 2005 17.50, Kenneth Lee wrote:
> Hi,
>
> i would like to color the note-head by its note-name
> on the whole score. For example, to color every C with
> red and every D with yellow, for example.
>
> i have tried \applyoutput but it only work on the note
> that follows immediately. This means i need to
> \applyoutput on every notes which is not perferrable.
>
> any help would be deeply appreciated.
You could take a look at \musicMap. It could be used to
map each NoteEvent cis8 to { \applyoutput {...} cis8 }
It requires some Scheme hacking though, and you need to know about the
internal representation of Music Expressions. It's probably doable in less
than 20 lines of code, including colour codes.
--
Erik
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user