lilypond-user
[Top][All Lists]
Advanced

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

Re: a basic question


From: Marc Hohl
Subject: Re: a basic question
Date: Thu, 27 Aug 2015 10:37:13 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0

Am 27.08.2015 um 09:44 schrieb B~M:
Sorry to ask this silly little question. I am writing out SATB harmonies
for a music exam
and Ive decided to colour the bass in blue, just to make it a little
more distinct.

Based on a recent mail excange on a similar topic, this function may be helpful:

overrideVoiceColor =
#(define-music-function (color) (color?)
   (make-sequential-music
     (map (lambda (dsc)
            (propertyOverride (list 'Voice (car dsc) 'color) color))
          all-grob-descriptions)))

Call it with

\overrideVoiceColor #(x11-color 'blue)

in the bass voice.

HTH,

Marc




reply via email to

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