bug-lilypond
[Top][All Lists]
Advanced

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

Re: Strange bug with \addlyrics


From: Trevor Daniels
Subject: Re: Strange bug with \addlyrics
Date: Fri, 7 Aug 2009 11:18:06 +0100


Francisco Vila Friday, August 07, 2009 10:08 AM

2009/8/7 Benjamin Kwong <address@hidden>:
The following produces weird behavior with the use of \addlyrics over barlines.

\version "2.13.3"

\relative c' { << { { a4 a a a | a } \addlyrics { a a a a } d d d | f f f f } \\
{ c,1 c c } >> }

\relative c' { << { { a4 a a a | a } \addlyrics { a a a a a } d d d | f f f f }
\\ { c,1 c c } >> }

with
 \addlyrics { a8 a a a a }
we see that the subsequent 'd d d' inherit the rhythms of the lyrics.
So maybe addlyrics is not well intended to be inside a polyphonic
construct like this.

Putting the lyrics outside they behave well.

<<
\relative c' { << { \new Voice="one" { a4 a a a | a } d d d | f f f f }
\\ { c,1 c c } >> }

\new Lyrics \lyricsto "one" \lyricmode { a a a a a }

But it doesn't need to be polyphonic nor
does it need \addlyrics to go wrong.  Nor
it is anything to do with the implicit
creation of contexts.  Try:

\version "2.13.3"
\relative c' {
 \new Staff {
   <<
     \new Voice = "A" { a4 a a a | a }
     \new Lyrics \lyricsto "A" \lyricmode {
       a a a a a }
   >>
   \context Voice = "A" { d d d | f f f f }
 }
}

It seems more a problem of timing synchonisation
between lyricmode and notemode.  In lyricmode it
seems the last syllable extends to the end of the
second bar, causing the following notes to squash
up until the notemode timing catches up.

The ordering is unusual, but it does seem like a
bug.

Trevor





reply via email to

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