lilypond-auto
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lilypond-auto] Issue 2010 in lilypond: \lyricsto may turn into a vo


From: lilypond
Subject: Re: [Lilypond-auto] Issue 2010 in lilypond: \lyricsto may turn into a voice-mangling zombie when both parents die at the same time
Date: Sun, 05 Oct 2014 09:42:28 +0000


Comment #9 on issue 2010 by address@hidden: \lyricsto may turn into a voice-mangling zombie when both parents die at the same time
https://code.google.com/p/lilypond/issues/detail?id=2010

And here is what I suspect is responsible for resolving the deadlock:
void
Timing_translator::stop_translation_timestep ()
{
  Global_context *global = get_global_context ();

  if (to_boolean (get_property ("timing"))
      && !to_boolean (get_property ("skipBars")))
    {
      Moment barleft = (measure_length () - measure_position (context ()));
      Moment now = now_mom ();

      if (barleft > Moment (0))
        {
          Moment nextmom = now + barleft;
          nextmom.grace_part_ = Rational (0);
          global->add_moment_to_process (nextmom);
        }
    }
}

And indeed, when removing that add_moment_to_process and rerunning the example given in issue 1551:

\new Staff \relative c'' {
    <<
      \new Voice = "Testing" { f,4 f f f }
      \new Lyrics \lyricsto "Testing" { hm hm hm hm }
    >>
    d4 d d d | c c c c
}

the music no longer resumes after the first bar.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings



reply via email to

[Prev in Thread] Current Thread [Next in Thread]