what's the error?

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

what's the error?

Mark Stephen Mrotek

Hello,

 

See the attachment for what I want.

 

This is what I code:

 

\relative c'' {

<<{bes8 [a]}\\{

    \once \set tieWaitForNote = ##t

    \grace {c,8~ d~ fis~} <c d fis>4}>>

}

 

The error message is “unterminated tie.”

 

Someone have a keener eye than I?

 

Thank you.

 

Mark

 


_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user

tie.jpg (26K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: what's the error?

SoundsFromSound
On 2/18/2018 10:28 PM, Mark Stephen Mrotek wrote:

Hello,

 

See the attachment for what I want.

 

This is what I code:

 

\relative c'' {

<<{bes8 [a]}\\{

    \once \set tieWaitForNote = ##t

    \grace {c,8~ d~ fis~} <c d fis>4}>>

}

 

The error message is “unterminated tie.”

 

Someone have a keener eye than I?

 

Thank you.

 

Mark



Hi Mark,

Try this -
Your code compiles if you remove the \once:

\version "2.19.80"

\relative c'' {

<<{bes8 [a]}\\{

   \set tieWaitForNote = ##t

    \grace {c,8~ d~ fis~} <c d fis>4}>>

}

Otherwise you'd have to rework a bit...

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
composer | sound designer | asmr artist
LilyPond video tutorials: http://bit.ly/LearnLilyPond
Reply | Threaded
Open this post in threaded view
|

RE: what's the error?

Mark Stephen Mrotek

Ben,

 

Thanks for the solution!

 

Mark

 

From: lilypond-user [mailto:lilypond-user-bounces+carsonmark=[hidden email]] On Behalf Of Ben
Sent: Sunday, February 18, 2018 7:38 PM
To: [hidden email]
Subject: Re: what's the error?

 

On 2/18/2018 10:28 PM, Mark Stephen Mrotek wrote:

Hello,

 

See the attachment for what I want.

 

This is what I code:

 

\relative c'' {

<<{bes8 [a]}\\{

    \once \set tieWaitForNote = ##t

    \grace {c,8~ d~ fis~} <c d fis>4}>>

}

 

The error message is “unterminated tie.”

 

Someone have a keener eye than I?

 

Thank you.

 

Mark

 


Hi Mark,

Try this -
Your code compiles if you remove the \once:

\version "2.19.80"

\relative c'' {

<<{bes8 [a]}\\{

   \set tieWaitForNote = ##t

    \grace {c,8~ d~ fis~} <c d fis>4}>>

}

Otherwise you'd have to rework a bit...


_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: what's the error?

David Kastrup
In reply to this post by Mark Stephen Mrotek
"Mark Stephen Mrotek" <[hidden email]> writes:

> Hello,
>
>  
>
> See the attachment for what I want.
>
>  
>
> This is what I code:
>
>  
>
> \relative c'' {
>
> <<{bes8 [a]}\\{
>
>     \once \set tieWaitForNote = ##t
>
>     \grace {c,8~ d~ fis~} <c d fis>4}>>
>
> }
>
>  
>
> The error message is "unterminated tie."
>
>  
>
> Someone have a keener eye than I?

\once \set sets tieWaitForNote once at the current point of time.  That
means it will be active for the first grace note but not for the
others.  Consequently it's inactive for d~ which is still followed by
another grace note before the ties are resolved.

--
David Kastrup

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: Re: what's the error?

Mats Bengtsson-4


On 2018-02-19 09:38, David Kastrup wrote:
>
> \once \set sets tieWaitForNote once at the current point of time.  That
> means it will be active for the first grace note but not for the
> others.  Consequently it's inactive for d~ which is still followed by
> another grace note before the ties are resolved.
Just curious, why doesn't tieWaitForNote apply even for the first grace
note? The warning is issued both for c8~ and d~ in this example

\version "2.19.80"

\relative c' \new Voice {
   \once \set tieWaitForNote = ##t
   \grace {c8~ d~ fis~} <c d fis>4
}

     /Mats


_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: what's the error?

David Kastrup
Mats Bengtsson <[hidden email]> writes:

> On 2018-02-19 09:38, David Kastrup wrote:
>>
>> \once \set sets tieWaitForNote once at the current point of time.  That
>> means it will be active for the first grace note but not for the
>> others.  Consequently it's inactive for d~ which is still followed by
>> another grace note before the ties are resolved.
> Just curious, why doesn't tieWaitForNote apply even for the first
> grace note? The warning is issued both for c8~ and d~ in this example
>
> \version "2.19.80"
>
> \relative c' \new Voice {
>   \once \set tieWaitForNote = ##t
>   \grace {c8~ d~ fis~} <c d fis>4
> }

Tie_engraver consults tieWaitForNote in two places: at
start_translation_timestep when it otherwise flushes out and warns about
unterminated ties from notes having exceeded their duration, and in
process_acknowledged where it uses it several times.  It doesn't buffer
it in any way, and it also warns and flushes stuff in the
process_acknowledged routine.  So it's entirely possible that you need
tieWaitForNote set until the tie has been finally connected or it will
get flushed out.

--
David Kastrup

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

RE: what's the error?

Mark Stephen Mrotek
In reply to this post by David Kastrup
David,

Thank you for the explanation.

Mark

-----Original Message-----
From: David Kastrup [mailto:[hidden email]]
Sent: Monday, February 19, 2018 12:38 AM
To: Mark Stephen Mrotek <[hidden email]>
Cc: 'lilypond-user' <[hidden email]>
Subject: Re: what's the error?

"Mark Stephen Mrotek" <[hidden email]> writes:

> Hello,
>
>  
>
> See the attachment for what I want.
>
>  
>
> This is what I code:
>
>  
>
> \relative c'' {
>
> <<{bes8 [a]}\\{
>
>     \once \set tieWaitForNote = ##t
>
>     \grace {c,8~ d~ fis~} <c d fis>4}>>
>
> }
>
>  
>
> The error message is "unterminated tie."
>
>  
>
> Someone have a keener eye than I?

\once \set sets tieWaitForNote once at the current point of time.  That
means it will be active for the first grace note but not for the others.
Consequently it's inactive for d~ which is still followed by another grace
note before the ties are resolved.

--
David Kastrup


_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: what's the error?

David Kastrup
"Mark Stephen Mrotek" <[hidden email]> writes:

> David Kastrup [mailto:[hidden email]]  wrote:
>>
>>
>> \once \set sets tieWaitForNote once at the current point of time.
>> That means it will be active for the first grace note but not for the
>> others.  Consequently it's inactive for d~ which is still followed by
>> another grace note before the ties are resolved.
>
>
> David,
>
> Thank you for the explanation.

Well, as noticed elsewhere in this thread, this does not fully explain
the whole behavior.  It would appear that tieWaitForNote has to stay set
until the tie is resolved or the tie will get flushed out.

--
David Kastrup

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user