On 09/28/2013 08:49 AM, Urs Liska wrote:
\version "2.17.26"
% How could I write the equivalent of
\drums { sn8 sn8 ~ sn8 sn8 }
%using variables?
% This does work!
A = \drummode { sn8 sn8 ~ }
\score {
\new DrumStaff
{ \A \A }
}
%end with a tie
{ b'4 a' g' b' ~ }
Best
Peter
Thanks.
I didn't know about \drums vs. \drummode and couldn't check.
AFAIK a Tie without a target will issue a warning, but that's all. You
can always use a tie to end a variable and connect it to a following
music.
On the other hand, this doesn't work:
\version "2.17.28"
A = \relative c'' {a4 b c a ~ }
\score {
\new Staff
{ \A \A }
}
Best
Peter
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user