Mats Bengtsson <> 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

Reply via email to