[Top][All Lists]

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

[Lilypond-auto] Issue 2522 in lilypond: duration*0 considered harmful

From: lilypond
Subject: [Lilypond-auto] Issue 2522 in lilypond: duration*0 considered harmful
Date: Tue, 08 May 2012 15:43:14 +0000

Status: Accepted
Owner: ----
Labels: Type-Documentation

New issue 2522 by address@hidden: duration*0 considered harmful

The documentation sometimes uses zero-time spacer rests s1*0 as an attachment point for markup or articulations, when there is no note available for the attachment.

Setting the current duration to 1*0, however, can cause surprise if a user fails to reset the duration.
  { b'1\> s1*0\! }
  \addlyrics { la. }  % Should be "la.1"
In this case, no lyric is printed. The behavior with current duration set to zero is unfamiliar, so it might confuse people. Maybe it is wiser to avoid durations of zero in examples in the documentation.

0) use explicit durations as required
1) use empty chord <>, which has zero duration but does not change the current duration, in place of s1*0.
2) use alternate solutions instead of zero durations
  \new Staff { << { b'1 } { s2\> s4 s8 s\! } >> }
  \addlyrics { la. }

reply via email to

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