]> git.donarmstrong.com Git - lilypond.git/blob - input/twinkle.ly
bc8d67cbe32ae31dbaee9bf40d5f7e4a2253a5fa
[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 global = \notes {
52         \time 2/4;
53 }
54
55 tekst = \lyrics{ 
56         Al -- tijd is Kort -- jak -- je ziek, " "
57         midden "in de" week maar "'s zon" -- dags  " " niet.
58         "'s Zon" -- dags gaat ze naar de kerk, " "
59         met een boek vol zil -- ver  " " werk. " "
60         Al -- tijd is Kort -- jak -- je ziek, " "
61         midden  "in de" week maar "'s zon" -- dags  " " niet.
62 }
63
64
65 %{
66 Ja inderdaad. Dit is geen educatieve danwel muzikaal verantwoorde
67 tekst. Mogen wij ook af en toe ergens op afgeven?
68 %}
69
70 hegedraagjetekst = \lyrics{ 
71         Al -- tijd zuigt Bill Gates mijn piek, " "
72         "\TeX" is slecht -- ser dan mu --  " " ziek.
73         "'s Zon" -- dags gaat het door een raam, " "
74         Weet dat ik me er -- voor  " " schaam.
75         Al -- tijd zuigt Bill Gates mijn piek, " "
76         "\TeX" is slecht -- ser dan mu --  " " ziek.
77 }
78
79 texte = \lyrics{ 
80         \property Lyrics . textStyle" =  "italic" 
81 %       \property Lyrics . textStyle" =  "roman" 
82         Ah! vous dir -- ai -- je ma -- man " "
83         Ce qui cau -- se mon tour --  " " ment
84         Pa -- pa veut que je rai -- son -- ne
85         Comm' u -- ne gran -- de per -- " " son -- ne
86         Moi je dis que les bon -- bons " "
87         Va -- lent mieux que la rai --  " " son
88 }
89
90 texti = \lyrics{
91         \property "Lyrics"."textStyle" =  "roman"
92         Twin -- kle, twin -- kle, lit -- tle star, " "
93         How I won -- der what you  " " are.
94         Up a -- bove the world so high, " "
95         Like a dia -- mond in the  " " sky. " "
96         Twin -- kle, twin -- kle, lit -- tle star, " "
97         How I won -- der what you  " " are!
98 }
99
100 textii = \lyrics{
101         When the bla -- zing sun is gone, " "
102         When he no -- thing shines up --  " " on,
103         Then you show your lit -- tle light, " "
104         Twin -- kle, twin -- kle, all the  " " night. " "
105         Twin -- kle, twin -- kle, lit -- tle star, " "
106         How I won -- der what you  " " are!
107 }
108
109 textiii = \lyrics{
110         Then the tra -- veler in the dark " "
111         Thanks you for your ti -- ny  " " spark;
112         He could not see which way to go,
113         If you did not twin -- kle  " " so. " "
114         Twin -- kle, twin -- kle, lit -- tle star, " "
115         How I won -- der what you  " " are!
116 }
117
118 \score{
119         \notes <
120                 \context Staff=i s1
121                 \context Lyrics=top s1
122                 \context GrandStaff <
123                         \context Staff=ii \repeat semi 2 < \global\melody >
124                         \context Staff=iii \repeat semi 2 < \global\accompany >
125                 >
126                 \context Lyrics=bottom s1
127                 % ugh, \repeat in \addlyrics dumps core
128                 \addlyrics
129                         % \context Staff = i \repeat semi 2 <\global\melody>
130                         \context Staff = i <\global\melody>
131                         < 
132                                 %\repeat fold 2 {} 
133                                 %\alternative { 
134                                         \context Lyrics = top \tekst
135                                         \context Lyrics = top \texte
136                                 %}
137                                 %\repeat fold 3 {} 
138                                 %\alternative { 
139                                         \context Lyrics = bottom \texti
140                                         \context Lyrics = bottom \textii
141                                         \context Lyrics = bottom \textiii
142                                 %}
143                         >
144         >
145         \paper{
146                 gourlay_maxmeasures = 14.0;
147         }
148         \midi{ 
149                 \tempo 4 = 120 ;
150         }
151 }
152