> not top posting

Hi,

I have noticed that LilyPond v. 2.10.33 ignores ties and slurs when applying
lyrics to notes that are put into a Devnull context.

Here's a small example: If we split a note into a tie in the example from
section 7.3.7.5 of the LilyPond documentation, the result is not as expected:

voice = {
  c''2
  \tag #'music { c''2 }
  \tag #'lyricrhythm { c''4~c''8 c''8 }
  d''1
}

lyr = \lyricmode { I like my cat! }

<<
  \new Staff \keepWithTag #'music \voice
  \new Devnull="nowhere" \keepWithTag #'lyricrhythm \voice
  \new Lyrics \lyricsto "nowhere" \lyr
  \new Staff { c'8 c' c' c' c' c' c' c'
  c' c' c' c' c' c' c' c' }
>>

Word "my" ends up on the first eighth note that is tied with the preceding
quarter, and "cat!" ends up on the second eighth note.

In addition, LilyPond gives warnings about missing notes for all syllables:

>lily-d5894a905a.ly:1324:26: warning: Lyric syllable does not have note. Use
>\lyricsto or associatedVoice.
>lyr = \lyricmode { I like 
>                          my cat! }

If a Voice context is used for the rhythm instead of Devnull, the result is as
expected and no warnings are given.

-- 
Reino Ruusu



_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to