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