lilypond-user
[Top][All Lists]
Advanced

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

Re: Colored hairpins?


From: Mats Bengtsson
Subject: Re: Colored hairpins?
Date: Wed, 09 Apr 2008 11:47:32 +0200
User-agent: Thunderbird 2.0.0.5 (X11/20070716)



Trevor Daniels wrote:

Tim Reeves wrote
Well, it helps some, but why do I get an error when I try the same thing with hairpins?

error: syntax error, unexpected EVENT_IDENTIFIER

r4 d4 \p d d | \repeat "unfold" 4 {d1~} | d1 \once \override Hairpin #'color = #blue \cr | d1 | d1 \f

The error is due to the \cr not being attached to a note, not the override.

It sometimes helps to attach dynamics to a zero-length spacer note - s1*0.
In this specific case, though, the simple solution is to insert the \cr before the \once \override
instead of after (obvious to Trevor, but perhaps not to all readers).




reply via email to

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