bug-lilypond
[Top][All Lists]
Advanced

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

Tips and Tricks - add-staccato.ly (lily 2.6.4)


From: Frédéric Bron
Subject: Tips and Tricks - add-staccato.ly (lily 2.6.4)
Date: Tue, 03 Jan 2006 07:47:36 +0100
User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)

When using the trick to add staccato to all notes, there is a bad interference with "\relative".

In the example given in the doc, just replace :

"a b \applymusic #(lambda (x) (music-map add-staccato x)) { c c }"
by
"a b \applymusic #(lambda (x) (music-map add-staccato x)) { c' c, }"

and you will see that the reference of the "\relative" function remains always the "b" that is before \applymusic which is not what is desired.

Any idea to run a good add-staccato?

Also, I noticed that the staccato is also added to rests. Any possibility to add staccato only to notes?

Thanks,

Fred






reply via email to

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