I don't see any answer, so here are my two cents.
Here you can find snippet, that colors note heads depending on their
pitch and name:
http://lilypond.org/doc/v2.12/input/lsr/lilypond-snippets/Pitches#Color
ing-notes-depending-on-their-pitch
All you need to do is modify the list associating pitches (names) with
colors. Pitches are described using ly:make-pitch, which description
you will find here:
http://lilypond.org/doc/v2.18/Documentation/internals/scheme-functions
As I understand, you want all pitches from key signature blue and the
rest of non-natural pitches red.
Hth,
Basia
On pią, 2019-01-11 at 13:08 +0100, Pierre-Emile LHUILLIER wrote:
> Dear all,
>  
> Could you help me achieving the following objectives :
>  
> 1)      In a piano staff, I would like to color (in blue) the notes
> that are played on the black piano keys
> And if possible :
> 2)      I would like to color differently the note that are played on
> a black piano keys because of the key signature (in blue) from the
> notes that are played on black piano keys because of accidentals (in
> red)
>  
> Best regards
> 
> Pierre-Emile
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to