lilypond-user
[Top][All Lists]
Advanced

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

Re: variables tied with slurs


From: Urs Liska
Subject: Re: variables tied with slurs
Date: Sat, 28 Sep 2013 08:49:18 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130623 Thunderbird/17.0.7

Am 27.09.2013 10:46, schrieb Peter Bjuhr:

On 09/27/2013 07:05 AM, Urs Liska wrote:
Does

A = \drums { sn8 sn8~ }

{ \A \A }

Do what you want?

I was curious of this, but Urs is right it does work. There are no obstacles in ending with a tie. Apparently it is just ignored:

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

Urs



reply via email to

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