lilypond-1.3.118
[lilypond.git] / input / test / lyric-combine.ly
blob1d67184f26e86e1f908a986f7173466f490aec7e
1 \header{
2 texidoc="
3 Lyrics can be set to a melody automatically. Excess lyrics will be
4 dumped. Lyrics will not be set over rests. You can have melismata
5 either by setting a property melismaBusy, or by setting
6 automaticMelismas (which will set melismas during slurs and ties). If
7 you want a different order than first Music, then Lyrics, you must
8 precook a chord of staffs/lyrics and label those. Of course
9 @code{\rhythm} ignores any other rhythms in the piece. Hyphens and
10 extenders do not assume anything about lyric lengths, so they continue
11 to work.
15 filename = "twinkle-pop.ly";
16 xtitle = "Ah, vous dirais-je, maman ";
17 description = "twinkle twinkle in pop-song-settings";
18 composer = "traditional";
19 enteredby = "HWN, chords by Johan Vromans";
20 copyright = "public domain";
23 \version "1.3.117";
25 m = \notes \relative c'' {
26 \property Staff.automaticMelismata = ##t
27 \autoBeamOff
28 g4 r8 \times 2/3 { g'8( f )e } r8 \grace { [d16 c b] } e4
29 \emptyText
30 d8.^"melisma" \melisma c16
31 \melismaEnd
32 b }
34 noisebeat = \notes \relative c'' {g16 g g g }
35 noise = { \noisebeat \noisebeat \noisebeat \noisebeat \noisebeat \noisebeat }
36 textI = \lyrics { la2 __ la -- la __ la la la la la }
37 textII = \lyrics { da -- da __ da -- da da da da da }
39 \score {
40 \notes < \context Staff = SA \m
41 \context Lyrics = LA { s1 }
42 \context Staff = SB { s1 }
43 \context Lyrics = LB { s1 }
44 \context Staff = SC \noise
46 \addlyrics
47 \context Staff = SB \m
48 < \context Lyrics = LA \textI
49 \context Lyrics = LB \textII