]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/lyric-combine.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / input / regression / lyric-combine.ly
1
2 \version "2.19.21"
3
4 \header{
5
6     texidoc= "Lyrics can be set to a melody automatically.  Excess
7 lyrics will be discarded.  Lyrics will not be set over rests.  You can
8 have melismata either by setting a property melismaBusy, or by setting
9 automaticMelismas (which will set melismas during slurs and ties).  If
10 you want a different order than first Music, then Lyrics, you must
11 precook a chord of staves/@/lyrics and label those.  Of course, the
12 lyrics ignore any other rhythms in the piece."
13
14 }
15
16 \layout { ragged-right= ##t }
17
18
19
20 m = \relative c'' {
21     \autoBeamOff
22     g8( a)  r8 \tuplet 3/2 { g'8( f e) } r8 \grace {  d16[ c b] } e4
23     \textLengthOff
24     d8.^"melisma"       \melisma c16
25     \melismaEnd
26     b
27 }
28
29 noise = \repeat unfold 6  \relative { g'16 g g g }
30
31 textI = \lyricmode {
32     la2 __ la -- la __ la la la la la
33 }
34
35 textII = \lyricmode {
36     da -- da __ da -- da da da da da
37 }
38
39
40 << \context Staff = SA \noise
41    \context Lyrics = LA { s1 }
42    \context Staff = SB { s1 }
43    \context Lyrics = LB { s1 }
44    \context Staff = SC \noise
45    
46    \context Staff = SB  \context Voice = "middle" \m 
47    \context Lyrics = LA \lyricsto "middle" \textI
48    \context Lyrics = LB \lyricsto "middle" \textII 
49 >>
50
51