]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/twinkle.ly
release: 0.1.61
[lilypond.git] / input / twinkle.ly
index e3f0619b63bfb75349e7f8876c8e7c9f7caf3aeb..17d3515621b7a165bc1e3ad8fbea8e92e87d0cd8 100644 (file)
@@ -1,24 +1,27 @@
-%{MudelaHeader
-
- filename: twinkle.ly
- title: twinkle twinkle little star
- description: 
+\header{
+filename =      "twinkle.ly";
+title =         "Twinkle Twinkle Little Star";
+description =   "traditional song in various languages."
   "Ah, vous dirais-je, maman" 
   "Altijd is Kortjakje ziek"
-  "Twinkle twinkle little star"
+  "Twinkle twinkle little star";
 
- composers: ?
- entered-by: HWN & JCN
- copyright: public domain
+composer =      "Traditional";
+enteredby =     "HWN & JCN";
+copyright =     "public domain";
+}
 
- Tested Features: lyrics
-EndMudelaHeader
+%{
+Tested Features: lyrics, interleaving lyrics and staffs
 %}
-\version "0.0.61";
+
+\version "0.1.10";
 
 melody = \melodic{
-       \clef\violin;
+       \clef violin;
        \octave c';
+       \property Staff.instrument = "alto sax"
+       
        c4 c | g g | a a | g g |
        f f | e e | d d8.( e16 | )c2 | % :|
 
@@ -31,9 +34,8 @@ melody = \melodic{
 }
 
 accompany = \melodic {
-       \clef \bass;
-       \octave'c;
-       \duration 4;
+       \clef "bass";
+       \octave 'c;
        c4 c' | e' c' | f' c' | e' c' | 
        d' b | c' a | f g | c2 | 
 
@@ -53,17 +55,27 @@ global = \melodic {
 
 tekst = \lyric{ 
        Al-4 tijd is Kort- jak- je ziek,2
-       midden4 in_de week maar s'_zon- dags niet.2
-       s'_Zon-4 dags gaat ze naar de kerk,2
+%      midden4 in_de week maar 's_zon- dags niet.2
+% ugly hack: insertion of  empty syllables creates columns on extra 
+% moments.  The net result is more spacing.
+%
+       midden8 _8 in_de8 _8 week4 maar 's_zon- dags niet.2
+       's_Zon-4 dags gaat ze naar de kerk,2
        met4 een boek vol zil- ver werk.2
        Al-4 tijd is Kort- jak- je ziek,2
-       midden4 in_de week maar s'_zon- dags niet.2
+       midden8 _8  in_de8 _8 week4 maar 's_zon- dags niet.2
 }
 
+%{
+
+Ja inderdaad. Dit is geen educatieve danwel muzikaal verantwoorde
+tekst. Mogen wij ook af en toe ergens op afgeven?
+
+%}
 hegedraagjetekst = \lyric{ 
        Al-4 tijd zuigt Bill Gates mijn piek,2
        "\TeX"4 is slecht- ser dan mu- ziek.2
-       s'_Zon-4 dags gaat het door een raam,2
+       's_Zon-4 dags gaat het door een raam,2
        Weet4 dat ik me er- voor schaam.2
        Al-4 tijd zuigt Bill Gates mijn piek,2
        "\TeX"4 is slecht- ser dan mu- ziek.2
@@ -71,7 +83,8 @@ hegedraagjetekst = \lyric{
 
 texte = \lyric{ 
         
-       \textstyle "italic" ;
+%      \textstyle "italic" ;
+       \textstyle "roman" ;
        Ah!4 vous dir- ai_- je ma man2
        Ce4 qui cau- se mon tour- ment2
        Pa-4 pa veut que je rai- sonne2
@@ -113,21 +126,54 @@ textiii = \lyric{
        
 }
 
+$top_lyrics = \type Lyrics = top <
+       \global 
+       \tekst
+>
+
+$treble_staff = \type Staff = treble <
+       \global
+       \melody 
+>
+
+$bass_staff = \type Staff = bass <
+       \global
+       \accompany
+>
+
+$middle_lyrics = \type Lyrics = middle <
+       \global
+       \texte
+>
+
+$bottom_lyrics = \type Lyrics = bottom <
+       \global
+       \texti
+       \textii
+       \textiii
+>
+
+$grand_staff = \type Staff_group <
+       \$treble_staff
+       \$middle_lyrics
+       \$bass_staff
+>
+
 \score{
-       < \multi 3;
-               \melodic <\global \melody >
-               
-               % ugh
-               \lyric < \id "Lyric" "1"; \global \tekst \hegedraagjetekst >
-%              \lyric < \id "Lyric" "2";  \global \texte >
-%              \lyric < \id "Lyric" "3"; \global \texti \textii \textiii >
-               \melodic < \global \accompany >
+       < 
+               \$treble_staff
+               \$middle_lyrics
+               \$top_lyrics
+               \$grand_staff
+               \$bottom_lyrics
        >
        \paper{
-               unitspace= 2.5\cm;
+               % use a lot of space, to avoid clashing syllables
+%              arithmetic_multiplier = 8.\pt;
+               gourlay_maxmeasures = 14.0;
        }
        \midi{ 
-               \tempo 4:120 ;
+               \tempo 4 = 120 ;
        }
 }