bug-lilypond
[Top][All Lists]
Advanced

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

Lyrics ignore ties and slurs when applied to a Devnull context.


From: Reino Ruusu
Subject: Lyrics ignore ties and slurs when applied to a Devnull context.
Date: Sun, 2 Nov 2008 01:18:00 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

> 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





reply via email to

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