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).


_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to