|
From: | Mike Dean |
Subject: | Re: Unterminated terminated tie |
Date: | Tue, 18 Apr 2023 09:15:54 -0700 |
Le lundi 17 avril 2023 à 16:46 -0700, Mike Dean a écrit :
I am needing to figure out how to best tie a note...
\version "2.24.0"
\relative c' {
\key af \major
\time 2/4
\tempo "Not fast"
ef8 c' ~c16 bf af g f ef8 df16 c8 bf16 af g af bf c df ef f g af8 r r4
\repeat volta 2 {
c8 c4 ef8 f16 (ef8) f16 (ef) f16 (ef8)
bf'16 (af8) bf16 (af) bf (af) ef!~
<< { ef2}
\
{ r8 ef,16 (f g af bf b) }
>>I am getting an unterminated tie warning: C:/Users/Mike Dean/Documents/musicwork/Lilypond/The-Easy-Winners-melody.ly:19:39: warning: unterminated tie bf'16 (af8) bf16 (af) bf (af) ef! ~
and the tie needs to go from the ef! to the ef2 in the top of the simultaneous voice.
I have a couple of other instances where I need to do likewise, so any help will be welcome. Thanks.Try
\version "2.24.1" \language english \relative c' { \key af \major \time 2/4 \tempo "Not fast" ef8 c' ~c16 bf af g f ef8 df16 c8 bf16 af g af bf c df ef f g af8 r r4 \repeat volta 2 { c8 c4 ef8 f16 (ef8) f16 (ef) f16 (ef8) bf'16 (af8) bf16 (af) bf (af) ef!~ << { \voiceOne ef2} \new Voice { \voiceTwo r8 ef,16 (f g af bf b) } >> \oneVoice } }
A tie must end in the same voice as the voice it has been created in. The
<< \\ >>
construct creates a new voice for all of the inner expressions. Instead, you should use the more verbose form with\new Voice
,\oneVoice
,\voiceTwo
and\oneVoice
. Note that the first _expression_ in the<< >>
construct doesn't have\new Voice
, that's the whole point. That means it continues the previous voice context.
[Prev in Thread] | Current Thread | [Next in Thread] |