lilypond-auto
[Top][All Lists]
Advanced

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

[Lilypond-auto] Issue 3133 in lilypond: A music expression cannot be fol


From: lilypond
Subject: [Lilypond-auto] Issue 3133 in lilypond: A music expression cannot be followed by a tie
Date: Tue, 22 Jan 2013 00:16:36 +0000

Status: Accepted
Owner: ----
Labels: Type-Documentation

New issue 3133 by address@hidden: A music expression cannot be followed by a tie
http://code.google.com/p/lilypond/issues/detail?id=3133

Jim Long posted on lilypond-user here:

http://lists.gnu.org/archive/html/lilypond-user/2013-01/msg00649.html

I couldn't find anything within the documentation for ties or music expressions prohibiting Jim's syntax, so my guess is that this is a gap in the docs rather than a bug.

So I forwarded it to bug-lilypond here:

http://lists.gnu.org/archive/html/bug-lilypond/2013-01/msg00146.html


Jim's original post to lilypond-user follows:

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

    }
  }
}







reply via email to

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