lilypond-user
[Top][All Lists]
Advanced

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

Re: variables tied with slurs


From: Peter Bjuhr
Subject: Re: variables tied with slurs
Date: Sat, 28 Sep 2013 11:40:41 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.0


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




reply via email to

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