]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/lyric-combine.ly
1d67184f26e86e1f908a986f7173466f490aec7e
[lilypond.git] / input / regression / lyric-combine.ly
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.
12 ";
13
14
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";
21 }
22
23 \version "1.3.117";
24
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 }
33
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  }
38
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
45       
46       \addlyrics
47           \context Staff = SB \m
48           < \context Lyrics = LA \textI
49             \context Lyrics = LB \textII
50           >
51           
52     >
53 }
54