1 #(ly:set-option 'old-relative)
5 texidoc= "Lyrics can be set to a melody automatically. Excess lyrics will be
6 discarded. Lyrics will not be set over rests. You can have melismata
7 either by setting a property melismaBusy, or by setting
8 automaticMelismas (which will set melismas during slurs and ties). If
9 you want a different order than first Music, then Lyrics, you must
10 precook a chord of staves/lyrics and label those. Of course
11 @code{\rhythm} ignores any other rhythms in the piece. Hyphens and
12 extenders do not assume anything about lyric lengths, so they continue
16 \paper { raggedright= ##t }
20 m = \notes \relative c'' {
21 \property Staff.automaticMelismata = ##t
23 g8-( a-) r8 \times 2/3 { g'8-( f e-) } r8 \grace { d16-[ c b] } e4
25 d8.^"melisma" \melisma c16
29 noise = \repeat unfold 6 \notes \relative c'' { g16 g g g }
31 textI = \context LyricsVoice = "middle-1" \lyrics { la2 __ la -- la __ la la la la la }
32 textII = \context LyricsVoice = "middle-1" \lyrics { da -- da __ da -- da da da da da }
35 \notes < \context Staff = SA \noise
36 \context Lyrics = LA { s1 }
37 \context Staff = SB { s1 }
38 \context Lyrics = LB { s1 }
39 \context Staff = SC \noise
42 \context Staff = SB \context Voice="middle" \m
43 < \context Lyrics = LA \textI
44 \context Lyrics = LB \textII