[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    RE: Ties across voices; tried two methods
From:       "Mark Stephen Mrotek" <carsonmark () ca ! rr ! com>
Date:       2024-01-25 2:04:22
Message-ID: 00aa01da4f32$d116c360$73444a20$ () ca ! rr ! com
[Download RAW message or body]

This is a multipart message in MIME format.


Welcome!

 

From: Butter Cream <butter@inversityinc.com> 
Sent: Wednesday, January 24, 2024 4:29 PM
To: Leo Correia de Verdier <leo.correia.de.verdier@gmail.com>; Mark Stephen Mrotek \
                <carsonmark@ca.rr.com>
Cc: lilypond-user@gnu.org
Subject: Re: Ties across voices; tried two methods

 

Thank you! I will implement your suggestions.

 

Sent via the Samsung Galaxy S20 FE 5G, an AT&T 5G smartphone
Get Outlook for Android <https://aka.ms/AAb9ysg> 

  _____  

From: Leo Correia de Verdier <leo.correia.de.verdier@gmail.com \
                <mailto:leo.correia.de.verdier@gmail.com> >
Sent: Wednesday, January 24, 2024 7:21:29 PM
To: Mark Stephen Mrotek <carsonmark@ca.rr.com <mailto:carsonmark@ca.rr.com> >
Cc: Butter Cream <butter@inversityinc.com <mailto:butter@inversityinc.com> >; \
lilypond-user@gnu.org <mailto:lilypond-user@gnu.org>  <lilypond-user@gnu.org \
                <mailto: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 <carsonmark@ca.rr.com \
<mailto:carsonmark@ca.rr.com> >:

 

Butter,

 

Use
\repeatTie

See
https://lilypond.org/doc/v2.22/Documentation/notation/long-repeats#normal-repeats

 

Mark

 

From: lilypond-user-bounces+carsonmark=ca.rr.com@gnu.org \
<mailto:lilypond-user-bounces+carsonmark=ca.rr.com@gnu.org>  \
<lilypond-user-bounces+carsonmark=ca.rr.com@gnu.org \
<mailto:lilypond-user-bounces+carsonmark=ca.rr.com@gnu.org> > On Behalf Of Butter \
                Cream
Sent: Wednesday, January 24, 2024 1:29 PM
To: lilypond-user@gnu.org <mailto: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

    <g d'>4 <g' d'>8 <g c>~ <g c>4 r8 bes

                                         ~ | % m19

 

[16][16]

 

 

I've tried both these methods: 

    <g d'>4 <g' d'>8 <g c>~ <g c>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 <d f>2 <c e>2 }

    >> \oneVoice

    } | <g d'>4 r r2 | % m

   }

    { { \new Voice = "melody" {

    << { \voiceOne bes'8 g4 g8~ g2 }

       \new Voice { \voiceTwo <d f>2 <c e>2 }

    >> \oneVoice

    } | % m

   } <b d'>4 r r2 | }

  }

  }

 

\alternative {

% method two using \\

  { << { bes8 g4 g8~ g2 } \\ { <d f>2 <c e>2 } >> | <g d'>4 r r2 | }

  { << { bes8 g4 g8~ g2 } \\ { <d f>2 <c e>2 } >> | <b d'>4 r r2 | }

 }

 

produces this. with notes not tied.

<image001.png>

 

Thank you.


[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type \
content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 \
(filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);} o\:* \
{behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:"Bulmer MT Std Regular";
	panose-1:2 3 5 3 6 4 5 3 3 3;}
@font-face
	{font-family:Aptos;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
p.xmsonormal, li.xmsonormal, div.xmsonormal
	{mso-style-name:x_msonormal;
	margin:0in;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
span.EmailStyle24
	{mso-style-type:personal-reply;
	font-family:"Bulmer MT Std Regular",serif;
	color:#1F497D;
	font-weight:normal;
	font-style:normal;
	text-decoration:none none;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;
	mso-ligatures:none;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link="#0563C1" vlink=purple \
style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span \
style='font-size:12.0pt;font-family:"Bulmer MT Std \
Regular",serif;color:#1F497D'>Welcome!<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:12.0pt;font-family:"Bulmer MT Std \
Regular",serif;color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div \
style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p \
class=MsoNormal><b>From:</b> Butter Cream &lt;butter@inversityinc.com&gt; \
<br><b>Sent:</b> Wednesday, January 24, 2024 4:29 PM<br><b>To:</b> Leo Correia de \
Verdier &lt;leo.correia.de.verdier@gmail.com&gt;; Mark Stephen Mrotek \
&lt;carsonmark@ca.rr.com&gt;<br><b>Cc:</b> lilypond-user@gnu.org<br><b>Subject:</b> \
Re: Ties across voices; tried two methods<o:p></o:p></p></div></div><p \
class=MsoNormal><o:p>&nbsp;</o:p></p><div><p class=MsoNormal>Thank you! I will \
implement your suggestions.<o:p></o:p></p></div><div><p \
class=MsoNormal><o:p>&nbsp;</o:p></p></div><div id=ms-outlook-mobile-signature><p \
class=MsoNormal>Sent via the Samsung Galaxy S20 FE 5G, an AT&amp;T 5G \
smartphone<br>Get <a href="https://aka.ms/AAb9ysg">Outlook for \
Android</a><o:p></o:p></p></div><div class=MsoNormal align=center \
style='text-align:center'><hr size=2 width="98%" align=center></div><div \
id=divRplyFwdMsg><p class=MsoNormal><b><span \
style='color:black'>From:</span></b><span style='color:black'> Leo Correia de Verdier \
&lt;<a href="mailto:leo.correia.de.verdier@gmail.com">leo.correia.de.verdier@gmail.com</a>&gt;<br><b>Sent:</b> \
Wednesday, January 24, 2024 7:21:29 PM<br><b>To:</b> Mark Stephen Mrotek &lt;<a \
href="mailto:carsonmark@ca.rr.com">carsonmark@ca.rr.com</a>&gt;<br><b>Cc:</b> Butter \
Cream &lt;<a href="mailto:butter@inversityinc.com">butter@inversityinc.com</a>&gt;; \
<a href="mailto:lilypond-user@gnu.org">lilypond-user@gnu.org</a> &lt;<a \
href="mailto:lilypond-user@gnu.org">lilypond-user@gnu.org</a>&gt;<br><b>Subject:</b> \
Re: Ties across voices; tried two methods</span> <o:p></o:p></p><div><p \
class=MsoNormal>&nbsp;<o:p></o:p></p></div></div><div><div><p class=MsoNormal>Also: \
your tie needs to end in the same voice it started. \new Voice and the \
&lt;&lt;\\&gt;&gt; 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.&nbsp;<o:p></o:p></p></div><div><p \
class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><blockquote \
style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal \
style='margin-bottom:12.0pt'>25 jan. 2024 kl. 00:37 skrev Mark Stephen Mrotek &lt;<a \
href="mailto:carsonmark@ca.rr.com">carsonmark@ca.rr.com</a>&gt;:<o:p></o:p></p></blockquote></div><blockquote \
style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal> \
<o:p></o:p></p><div><p class=xmsonormal><span \
style='font-size:12.0pt;font-family:"Bulmer MT Std \
Regular",serif;color:#1F497D'>Butter,</span><o:p></o:p></p><p class=xmsonormal><span \
style='font-size:12.0pt;font-family:"Bulmer MT Std \
Regular",serif;color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=xmsonormal><span \
style='font-size:12.0pt;font-family:"Bulmer MT Std \
Regular",serif;color:#1F497D'>Use<br>\repeatTie</span><o:p></o:p></p><p \
class=xmsonormal><span style='font-size:12.0pt;font-family:"Bulmer MT Std \
Regular",serif;color:#1F497D'>See<br><a \
href="https://lilypond.org/doc/v2.22/Documentation/notation/long-repeats#normal-repeat \
s">https://lilypond.org/doc/v2.22/Documentation/notation/long-repeats#normal-repeats</a></span><o:p></o:p></p><p \
class=xmsonormal><span style='font-size:12.0pt;font-family:"Bulmer MT Std \
Regular",serif;color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=xmsonormal><span \
style='font-size:12.0pt;font-family:"Bulmer MT Std \
Regular",serif;color:#1F497D'>Mark</span><o:p></o:p></p><p class=xmsonormal><span \
style='font-size:12.0pt;font-family:"Bulmer MT Std \
Regular",serif;color:#1F497D'>&nbsp;</span><o:p></o:p></p><div><div \
style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p \
class=xmsonormal><b>From:</b> <a \
href="mailto:lilypond-user-bounces+carsonmark=ca.rr.com@gnu.org">lilypond-user-bounces+carsonmark=ca.rr.com@gnu.org</a> \
&lt;<a href="mailto:lilypond-user-bounces+carsonmark=ca.rr.com@gnu.org">lilypond-user-bounces+carsonmark=ca.rr.com@gnu.org</a>&gt; \
<b>On Behalf Of </b>Butter Cream<br><b>Sent:</b> Wednesday, January 24, 2024 1:29 \
PM<br><b>To:</b> <a href="mailto:lilypond-user@gnu.org">lilypond-user@gnu.org</a><br><b>Subject:</b> \
Ties across voices; tried two methods<o:p></o:p></p></div></div><p \
class=xmsonormal>&nbsp;<o:p></o:p></p><div><p class=xmsonormal><span \
style='font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>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.</span><o:p></o:p></p></div><div><p class=xmsonormal><span \
style='font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>&nbsp;</span><o:p></o:p></p></div><div><p \
class=xmsonormal><span \
style='font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>*.ly:100:42: \
warning: unterminated tie</span><o:p></o:p></p></div><div><p class=xmsonormal><span \
style='font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>&nbsp; &nbsp; \
&lt;g d'&gt;4 &lt;g' d'&gt;8 &lt;g c&gt;~ &lt;g c&gt;4 r8 \
bes</span><o:p></o:p></p></div><div><p class=xmsonormal><span \
style='font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>&nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;~ | % \
m19</span><o:p></o:p></p></div><div><p \
class=xmsonormal>&nbsp;<o:p></o:p></p></div><div><p class=xmsonormal><span \
style='font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>[16][16]</span><o:p></o:p></p></div><div><p \
class=xmsonormal>&nbsp;<o:p></o:p></p></div><div><p \
class=xmsonormal>&nbsp;<o:p></o:p></p></div><div><p class=xmsonormal><b><span \
style='font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>I've tried both \
these methods:&nbsp;</span></b><o:p></o:p></p></div><div><p class=xmsonormal><span \
style='font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>&nbsp; &nbsp; \
&lt;g d'&gt;4 &lt;g' d'&gt;8 &lt;g c&gt;~ &lt;g c&gt;4 r8 bes~ | % m19&nbsp; \
&nbsp;&lt;-<b>Last measure single voice</b></span><o:p></o:p></p></div><div><p \
class=xmsonormal><span \
style='font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>&nbsp; } <b>&lt;- \
end of repeat Volta 2</b></span><o:p></o:p></p></div><div><p class=xmsonormal><span \
style='font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>&nbsp; \
\alternative {</span><o:p></o:p></p></div><div><p class=xmsonormal><b><span \
style='font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>% method one \
using \new Voice&nbsp;</span></b><o:p></o:p></p></div><div><p class=xmsonormal><span \
style='font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>&nbsp;{ \new \
Voice = &quot;melody&quot; {</span><o:p></o:p></p></div><div><p \
class=xmsonormal><span \
style='font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>&nbsp; &nbsp; \
&lt;&lt; { \voiceOne bes8 g4 g8~ g2 }</span><o:p></o:p></p></div><div><p \
class=xmsonormal><span \
style='font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>&nbsp; &nbsp; \
&nbsp; &nbsp;\new Voice { \voiceTwo &lt;d f&gt;2 &lt;c e&gt;2 \
}</span><o:p></o:p></p></div><div><p class=xmsonormal><span \
style='font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>&nbsp; &nbsp; \
&gt;&gt; \oneVoice</span><o:p></o:p></p></div><div><p class=xmsonormal><span \
style='font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>&nbsp; &nbsp; } | \
&lt;g d'&gt;4 r r2 | % m</span><o:p></o:p></p></div><div><p class=xmsonormal><span \
style='font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>&nbsp; \
&nbsp;}</span><o:p></o:p></p></div><div><p class=xmsonormal><span \
style='font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>&nbsp; &nbsp; { { \
\new Voice = &quot;melody&quot; {</span><o:p></o:p></p></div><div><p \
class=xmsonormal><span \
style='font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>&nbsp; &nbsp; \
&lt;&lt; { \voiceOne bes'8 g4 g8~ g2 }</span><o:p></o:p></p></div><div><p \
class=xmsonormal><span \
style='font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>&nbsp; &nbsp; \
&nbsp; &nbsp;\new Voice { \voiceTwo &lt;d f&gt;2 &lt;c e&gt;2 \
}</span><o:p></o:p></p></div><div><p class=xmsonormal><span \
style='font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>&nbsp; &nbsp; \
&gt;&gt; \oneVoice</span><o:p></o:p></p></div><div><p class=xmsonormal><span \
style='font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>&nbsp; &nbsp; } | \
% m</span><o:p></o:p></p></div><div><p class=xmsonormal><span \
style='font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>&nbsp; &nbsp;} \
&lt;b d'&gt;4 r r2 | }</span><o:p></o:p></p></div><div><p class=xmsonormal><span \
style='font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>&nbsp; \
}</span><o:p></o:p></p></div><div><p class=xmsonormal><span \
style='font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>&nbsp; \
}</span><o:p></o:p></p></div><div><p \
class=xmsonormal>&nbsp;<o:p></o:p></p></div><div><p class=xmsonormal><span \
style='font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>\alternative \
{</span><o:p></o:p></p></div><div><p class=xmsonormal><b><span \
style='font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>% method two \
using \\</span></b><o:p></o:p></p></div><div><p class=xmsonormal><span \
style='font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>&nbsp; { &lt;&lt; \
{ bes8 g4 g8~ g2 } \\ { &lt;d f&gt;2 &lt;c e&gt;2 } &gt;&gt; | &lt;g d'&gt;4 r r2 | \
}</span><o:p></o:p></p></div><div><p class=xmsonormal><span \
style='font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>&nbsp; { &lt;&lt; \
{ bes8 g4 g8~ g2 } \\ { &lt;d f&gt;2 &lt;c e&gt;2 } &gt;&gt; | &lt;b d'&gt;4 r r2 | \
}</span><o:p></o:p></p></div><div><p class=xmsonormal><span \
style='font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>&nbsp;}</span><o:p></o:p></p></div><div><p \
class=xmsonormal>&nbsp;<o:p></o:p></p></div><div><p class=xmsonormal><span \
style='font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>produces this. \
with notes not tied.</span><o:p></o:p></p></div><div><div><p class=MsoNormal><span \
style='font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>&lt;image001.png&gt;<o:p></o:p></span></p></div></div><div><p \
class=xmsonormal>&nbsp;<o:p></o:p></p></div><div><p class=xmsonormal><span \
style='font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>Thank \
you.</span><o:p></o:p></p></div></div></div></blockquote></div></div></body></html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic