> Hi, I am using Lilypond 2.7.27 for Windows 98 and I'm trying to compile a 
> choral work. Here is an simple file of my problem:
>
> [...]
>
> Here, the first stanza "melody" covers the entire music. For the second 
> stanza "other", the lyrics only appear at certain points of the music. In 
> the example, it appears in bar 1 and 3. I tried compiling the file but as 
> the output shows, the second stanza does not appear in the 3rd bar. Why is 
> this?
> If I'm not mistaken there is a skip function that allows us to skip lyrics 
> over notes but if the gap is several lines of music, that is not practical. 
> I cannot use another \new Lyric as there would appear to be a gap between 
> the stanzas. Is there a way to make the second stanza "other" appear at bar 
> 3?

Hmm, your design is a bit confusing...
Here attached a version that does what you expect (I think).

Best,
Gilles
\version "2.6.3"

melody = \relative c' {
 \voiceTwo g4 a b
 \oneVoice c4 e e e2
 \voiceTwo d2 d c
 \bar ".|."
}

other = \relative c' {
  \voiceOne g4 a b
  s4 s s s2
  \voiceOne d2 d c
}


theMusic = \new Staff <<
  \context Voice = "other" { \other }
  \context Voice = "melody" { \melody }
  \new Lyrics \lyricsto "melody" \new Lyrics { This is the first line of text
                                               for the music }
  \new Lyrics  \lyricsto "other" \new Lyrics { This is the second line text }
>>


\score {
  \theMusic

  \layout {}
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to