]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/twinkle.ly
release: 0.0.45
[lilypond.git] / input / twinkle.ly
index 035854e84676b2efaeb41e76ab3e945ec6e90ddf..8bcad352ec99e4cd9cee5563e55c2de1fe2ea84b 100644 (file)
@@ -4,61 +4,59 @@
 % 
 % Copyright: none
 
-melodie = music {
-       $\clef\violin
-       c c | g g | a a | g g |
+melody = \melodic{
+       \clef\violin
+       c4 c | g g | a a | g g |
        f f | e e | d d8.( e16 | )c2 | % :|
 
        g g | f f | e e | d d |
-%      g g | f f | e( [f0*32 e0*32 d0*32] e8. f16 | e )d | c c | 
        g g | f f | e( e8. f16 | e )d |
 
        c c | g g | a a | g g |
        f f | e e | d d8.( e16 | )c2 % :|
        \bar ":|"
-       $
 }
 
-begeleiding = music {
-       $\clef \bass
-       \octave{`}
-       c 'c | 'e 'c | 'f 'c | 'e 'c | 
-       'd b | 'c a | f g | c2 | 
+accompany = \melodic{
+       \clef \bass
+       \octave{'c}
+       c c' | e' c' | f' c' | e' c' | 
+       d' b | c' a | f g | c2 | 
 
-       'e g | d g | 'c g | b g | 
-%      'e g | 'd g | 'c 'c8.( 'd16 | \voice{ 'c )b } \voice{ g2 } |
-       'e g | 'd g | 'c 'c8.( 'd16 | 'c )b |
+       e' g | d g | c' g | b g | 
+       e' g | d' g | c' c'8.( d'16 | c' )b |
 
-       c 'c | 'e 'c | 'f 'c | 'e 'c | 
-       'd b | 'c a | f g | c2 
+       c c' | e' c' | f' c' | e' c' | 
+       d' b | c' a | f g | c2 
        \bar ":|"
-       $
 }
 
-tekst = music { 
-       @ 
+global = \melodic{
+               \meter {2 / 4}
+               \skip {24*2}
+%              \bar "||"
+       }
+
+tekst = \lyric{ 
        Al- tijd is Kort- jak- je ziek,2
-       midden in_de week maar 's_zon- dags niet.2
-       's_Zon- dags gaat ze naar de kerk,2
+       midden in_de week maar s'_zon- dags niet.2
+       s'_Zon- dags gaat ze naar de kerk,2
        met een boek vol zil- ver werk.2
        Al- tijd is Kort- jak- je ziek,2
-       midden in_de week maar 's_zon- dags niet.2
-       @
+       midden in_de week maar s'_zon- dags niet.2
 }
 
-he_gedraagje_tekst = music { 
-       @ 
+hegedraagjetekst = \lyric{ 
        Al- tijd zuigt Bill Gates mijn piek,2
        "\TeX" is slecht- ser dan mu- ziek.2
-       's_Zon- dags gaat het door een raam,2
+       s'_Zon- dags gaat het door een raam,2
        Weet dat ik me er- voor schaam.2
        Al- tijd zuigt Bill Gates mijn piek,2
        "\TeX" is slecht- ser dan mu- ziek.2
-       @
 }
 
-texte = music 
-       @ 
+texte = \lyric
+        
        \textstyle "italic" 
        Ah! vous dir- ai_- je ma man2
        Ce qui cau- se mon tour- ment2
@@ -66,11 +64,11 @@ texte = music {
        Comme un- e grand- e per- sonne2
        Moi je dis que les bon- bons2
        Val- ent mieux que la rai- son2
-       @
+       
 }
 
-text1 = music {
-       @
+texti = \lyric{
+       
        \textstyle "roman"
        Twin- kle, twin- kle, lit- tle star,2
        How I won- der what you are.2
@@ -78,11 +76,9 @@ text1 = music {
        Like a dia- mond in the sky.2
        Twin- kle, twin- kle, lit- tle star,2
        How I won- der what you are!2
-       @
 }
 
-text2 = music {
-       @
+textii = \lyric{
        \textstyle "roman"
        When the bla- zing sun is gone,2
        When he no- thing shines up- on,2
@@ -90,11 +86,11 @@ text2 = music {
        Twin- kle, twin- kle, all the night.2
        Twin- kle, twin- kle, lit- tle star,2
        How I won- der what you are!2
-       @
+       
 }
 
-text3 = music {
-       @
+textiii = \lyric{
+       
        \textstyle "roman"
        Then the tra- veler in the dark2
        Thanks you for your ti- ny spark;2
@@ -102,61 +98,20 @@ text3 = music {
        If you did not twin- kle so.2
        Twin- kle, twin- kle, lit- tle star,2
        How I won- der what you are!2
-       @
-}
-
-mstaf = staff {
-       melodic
-       music { melodie }
-}
-
-bass_staf = staff {
-       melodic 
-       music { begeleiding }
-}
-
-
-dutch_staf = staff {
-       lyric 
-       music { tekst }
-       music {he_gedraagje_tekst}
-}
-
-french_staf = staff {
-       lyric 
-       music { texte }
-}
-
-english_staf = staff {
-       lyric 
-       music { text1 }
-       music { text2 }
-       music { text3 }
+       
 }
 
-tstaf = staff { 
-       lyric 
-       music { tekst }
-       music { texte }
-}
-
-
-score {
-       staff { mstaf }
-       staff { dutch_staf }
-       staff { french_staf }
-       staff { english_staf }
-       staff { bass_staf }
-       paper {
-               unitspace 2.5cm
-       }
-       commands {
-               meter {2 * 4}
-               skip {24*2}
-%              bar "||"
+\score{
+       \staff{ global melody }
+       \staff{ global tekst hegedraagjetekst }
+       \staff{ global texte }
+       \staff{ global texti textii textiii }
+       \staff{ accompany }
+       \paper{
+               \unitspace 2.5\cm
        }
-       midi 
-               tempo 4:120 
+       \midi
+               \tempo 4:120 
        }
 }