]> git.donarmstrong.com Git - lilypond.git/blob - input/twinkle.ly
release: 1.3.0
[lilypond.git] / input / twinkle.ly
1 \header{
2 filename =      "twinkle.ly";
3 title =         "Twinkle Twinkle Little Star";
4 composer =      "Traditional";
5 enteredby =     "hwn and jcn";
6 copyright =     "public domain";
7 }
8
9 %{
10 DESCRIPTION
11
12 traditional song in various languages.
13   "Ah, vous dirais-je, maman" 
14   "Altijd is Kortjakje ziek"
15   "Twinkle twinkle little star"
16 %}
17
18 %{
19 Tested Features: lyrics, interleaving lyrics and staffs, repeats,
20         auto beaming, adding lyrics to notes, hyphens
21 %}
22
23 \version "1.2.0";
24
25 melody = \notes \relative c'' {
26         \clef violin;
27         \property Staff.instrument = "alto sax"
28         
29         c4 c | g' g | a a | g g |
30         f f | e e | d d8.( e16 | )c2 |
31
32         g'4 g | f f | e e | d d |
33         g g | f f | e( e8. f16 | e4 )d |
34
35         c c | g' g | a a | g g |
36         f f | e e | d d8.( e16 | )c2 |
37 }
38
39 accompany = \notes \relative c {
40         \clef "bass";
41         c4 c' | e c | f c | e c | 
42         d b | c a | f g | c,2 | 
43
44         e'4 g, | d' g, | c g | b g | 
45         e' g, | d' g, | c c8.( d16 | c4 )b |
46
47         c, c' | e c | f c | e c | 
48         d b | c a | f g | c,2 
49 }
50
51
52 tekst = \lyrics{ 
53         Al -- tijd is Kort -- jak -- je ziek, " "
54         midden "in de" week maar "'s zon" -- dags  " " niet.
55         "'s Zon" -- dags gaat ze naar de kerk, " "
56         met een boek vol zil -- ver  " " werk. " "
57         Al -- tijd is Kort -- jak -- je ziek, " "
58         midden  "in de" week maar "'s zon" -- dags  " " niet.
59 }
60
61
62 %{
63 Ja inderdaad. Dit is geen educatieve danwel muzikaal verantwoorde
64 tekst. Mogen wij ook af en toe ergens op afgeven?
65 %}
66
67 hegedraagjetekst = \lyrics{ 
68         Al -- tijd zuigt Bill Gates mijn piek, " "
69         "\TeX" is slecht -- ser dan mu --  " " ziek.
70         "'s Zon" -- dags gaat het door een raam, " "
71         Weet dat ik me er -- voor  " " schaam.
72         Al -- tijd zuigt Bill Gates mijn piek, " "
73         "\TeX" is slecht -- ser dan mu --  " " ziek.
74 }
75
76 texte = \lyrics{ 
77         \property Lyrics . textStyle" =  "italic" 
78 %       \property Lyrics . textStyle" =  "roman" 
79         Ah! vous dir -- ai -- je ma -- man " "
80         Ce qui cau -- se mon tour --  " " ment
81         Pa -- pa veut que je rai -- son -- ne
82         Comm' u -- ne gran -- de per -- " " son -- ne
83         Moi je dis que les bon -- bons " "
84         Va -- lent mieux que la rai --  " " son
85 }
86
87 texti = \lyrics{
88         \property "Lyrics"."textStyle" =  "roman"
89         Twin -- kle, twin -- kle, lit -- tle star, " "
90         How I won -- der what you  " " are.
91         Up a -- bove the world so high, " "
92         Like a dia -- mond in the  " " sky. " "
93         Twin -- kle, twin -- kle, lit -- tle star, " "
94         How I won -- der what you  " " are!
95 }
96
97 textii = \lyrics{
98         When the bla -- zing sun is gone, " "
99         When he no -- thing shines up --  " " on,
100         Then you show your lit -- tle light, " "
101         Twin -- kle, twin -- kle, all the  " " night. " "
102         Twin -- kle, twin -- kle, lit -- tle star, " "
103         How I won -- der what you  " " are!
104 }
105
106 textiii = \lyrics{
107         Then the tra -- veler in the dark " "
108         Thanks you for your ti -- ny  " " spark;
109         He could not see which way to go,
110         If you did not twin -- kle  " " so. " "
111         Twin -- kle, twin -- kle, lit -- tle star, " "
112         How I won -- der what you  " " are!
113 }
114
115 \score{
116         \notes <
117                 \context Staff=i s1
118                 \context Lyrics=top s1
119                 \context GrandStaff <
120                         \context Staff=ii \repeat volta 2 <
121                           \time 2/4;
122                           \melody >
123                         \context Staff=iii \repeat volta 2 <
124                           \accompany >
125                 >
126                 \context Lyrics=bottom s1
127                 % ugh, \repeat in \addlyrics dumps core
128                 \addlyrics
129                         \context Staff = i < \melody>
130                         < 
131                                 %\repeat fold 2 {} 
132                                 %\alternative { 
133                                         \context Lyrics = top \tekst
134                                         \context Lyrics = top \texte
135                                 %}
136                                 %\repeat fold 3 {} 
137                                 %\alternative { 
138                                         \context Lyrics = bottom \texti
139                                         \context Lyrics = bottom \textii
140                                         \context Lyrics = bottom \textiii
141                                 %}
142                         >
143         >
144         \paper{
145                 gourlay_maxmeasures = 14.0;
146         }
147         \midi{ 
148                 \tempo 4 = 120 ;
149         }
150 }
151