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




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

Reply via email to