Thank you! I will implement your suggestions.
Sent via the Samsung Galaxy S20 FE 5G, an AT 5G smartphone
Get Outlook for Android<https://aka.ms/AAb9ysg>
From: Leo Correia de Verdier
Sent: Wednesday, January 24, 2024 7:21:29 PM
To: Mark Stephen Mrotek
Cc: Butter Cream ; lilypond-user@gnu.org
Subject: Re: Ties across voices; tried two methods
Also: your tie needs to end in the same voice it started. \new Voice and the
<<\\>> construct both create other voices. If you remove \new Voice = “melody”
from your first attempt it will work, as the last note of the tie is then in
the same voice as the first.
25 jan. 2024 kl. 00:37 skrev Mark Stephen Mrotek :
Butter,
Use
\repeatTie
See
https://lilypond.org/doc/v2.22/Documentation/notation/long-repeats#normal-repeats
Mark
From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org
On Behalf Of Butter Cream
Sent: Wednesday, January 24, 2024 1:29 PM
To: lilypond-user@gnu.org
Subject: Ties across voices; tried two methods
Hi ponders, I have a piece of music with alternative ending. The last measure
prior to the alternative is a single voice has a tied note to both endings. I'v
e tried two methods but both methods produce similar error: {with no tie} Any
help would be appreciated.
*.ly:100:42: warning: unterminated tie
4 8 ~ 4 r8 bes
~ | % m19
[16][16]
I've tried both these methods:
4 8 ~ 4 r8 bes~ | % m19 <-Last measure single voice
} <- end of repeat Volta 2
\alternative {
% method one using \new Voice
{ \new Voice = "melody" {
<< { \voiceOne bes8 g4 g8~ g2 }
\new Voice { \voiceTwo 2 2 }
>> \oneVoice
} | 4 r r2 | % m
}
{ { \new Voice = "melody" {
<< { \voiceOne bes'8 g4 g8~ g2 }
\new Voice { \voiceTwo 2 2 }
>> \oneVoice
} | % m
} 4 r r2 | }
}
}
\alternative {
% method two using \\
{ << { bes8 g4 g8~ g2 } \\ { 2 2 } >> | 4 r r2 | }
{ << { bes8 g4 g8~ g2 } \\ { 2 2 } >> | 4 r r2 | }
}
produces this. with notes not tied.
Thank you.