lilypond-user
[Top][All Lists]
Advanced

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

Re: Strange tie problem


From: David Kastrup
Subject: Re: Strange tie problem
Date: Wed, 24 Jun 2015 10:00:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Jacques Menu <address@hidden> writes:

> Hello Haipeng,
>
> Replacing r4 by s4 removes the stem problem, but the tie one remains :
>
>  <<
>     {
>       c2.\mf\<
>       ~
>       c2
>     }
>     \new Voice \voiceTwo { s4 g2 ~ g2 }
>   >>

Let me format this differently to illustrate what is going wrong here:

<<
   { c2.\mf\< ~ c2 }
   \new Voice \voiceTwo
   { s4 g2 ~ g2 }
>>

In a nutshell, the _only_ music "inside" of \new Voice is \voiceTwo.  So
we can equally well leave it away, resulting in

<<
   { c2.\mf\< ~ c2 }
   { s4 g2 ~ g2 }
>>

all in a single Voice.  Now we start one tie at the start of the phrase,
and one tie after the first quarter note while the first tie has not yet
finished.

You either want to write

  \new Voice { \voiceTwo s4 ... }

or

  \new Voice \with \voiceTwo { s4 ... }

(the last works only since issue 3547, version 2.17.27).

-- 
David Kastrup



reply via email to

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