lilypond-user
[Top][All Lists]
Advanced

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

Re: Feature request? (and bug report)


From: Jim Long
Subject: Re: Feature request? (and bug report)
Date: Tue, 15 Jan 2013 17:22:13 -0800
User-agent: Mutt/1.5.21 (2010-09-15)

Please forgive my earlier example, which I had not tested
thoroughly.

Consider the example below instead, and the attached output.

It shows some variations that could be useful when storing
musical phrases in a variable, while retaining some flexibility
with ties leading into or out of the phrase.

I was puzzled that

f ~ \music

works, but it appears that

\music ~ f

does not.

Is this correct, or am I still confused?  I guess if I have
to ask, ....

Thanks again,

Jim


\version "2.16.1"

one    = \relative c' { f1 ~ }  % trailing ties are possible
two    = \relative c' { f1 }
%three = \relative c' { ~ f1 }  % this syntax doesn't compile

\score {
  \new Staff {
    \relative c' {
% this compiles, but doesn't render correctly, no tie in measures 1-2
      \one f1
% measure 3 does correctly tie into measure 4
      \one f8 r2..  \break

% this works now in measures 5-6, even though it didn't in measures 1-2
      \one f1  \break

% moving the trailing tie outside the variable doesn't compile
%      \two ~ f1  \break

% this works, using the trailing tie to connect measures 7-8
      \one \two  \break

% this works to tie measures 9, 10 and 11
      f1 ~ \one f1  \break

% this can't work because the definition of three doesn't compile
%      f1 \three   \break

    }
  }
}


Attachment: tiny.pdf
Description: Adobe PDF document


reply via email to

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