]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/twinkle-pop.ly
($(outdir)/%.pdf): add DVIPS_FLAGS. This will
[lilypond.git] / input / twinkle-pop.ly
index 1feeeb2eec6f9d528ae2d4aaa43e11bd86928b24..80c4ea8f60f9f78be45233f543a2a9f9af7a4ab3 100644 (file)
@@ -1,47 +1,71 @@
+#(ly:set-option 'old-relative)
+\version "2.1.22"
 \header{
-filename               twinkle.ly
-title          Ah, vous dirais-je, maman 
-description            twinkle twinkle in pop-song-settings
-composers              traditional
-
-enteredby              HWN, chords by Johan Vromans
-copyright              public domain
+filename =      "twinkle-pop.ly"
+xtitle =        "Ah, vous dirais-je, maman "
+composer =      "traditional"
+enteredby =     "HWN, chords by Johan Vromans"
+copyright =     "public domain"
 }
 
-%{
-Tested Features                lyrics and chords
-%}
 
-\version "0.1.1";
+melodie =  \notes\relative c'' {
+        \clef "violin"
+        \time 2/4 
 
-melodie = \melodic {
-        \clef"violin";
-        \meter 2/4 ;
-        \octave  c';
+        c4 c  | g' g | a a | g2  |
+        f4 f  | e e  | d d | c2  |
+        g'4 g | f f  | e e | d d |
+        g  g  | f f  | e e | d d |
+       % copy 1-8
+        c4 c  | g' g | a a | g2  |
+        f4 f  | e e  | d d | c2 \bar "|."
+}
 
-        c4^"C" c |      g     g |       a^"F"  a |      g2^"C"   |
-        f4^"F" f |      e^"C" e |       d^"G7" d |      c2^"C"   |
-        g4^"G" g |      f^"F" f |       e^"C"  e |      d^"G7" d |
-        g^"G"  g |      f^"F" f |       e^"C"  e |      d^"G7" d |
-        c4^"C" c |      g     g |       a^"F"  a |      g2^"C"   |
-        f4^"F" f |      e^"C" e |       d^"G7" d |      c2^"C"   |
+acc =  \chords {
+       % why don't \skip, s4 work?
+        c2 c f c
+        f c g:7 c
+       g f c  g:7 % urg, bug!
+        g f c  g:7
+       % copy 1-8
+        c2 c f c
+        f c g:7 c
 }
 
-texte = \lyric
-         
-        \textstyle "italic";
-        Ah!4 vous dir- ai_- je ma man2
-        Ce4 qui cau- se mon tour- ment2
-        Pa-4 pa veut que je rai- so- nne
-        Comme4 un- e grand- e per- so- nne
-        Moi4 je dis que les bon- bons2
-        Val-4 ent mieux que la rai- son2
+text =  \lyrics
+        \override LyricText  #'font-shape = #'italic
+
+        Ah!4 vous dir -- ai -- je ma man2
+        Ce4 qui cau -- se mon tour -- ment2
+        Pa4 --  pa veut que je rai -- so -- nne
+        Comme4 un -- e grand -- e per -- so -- nne
+        Moi4 je dis que les bon -- bons2
+        Val4 -- ent mieux que la rai -- son2
         
 }
 
 \score {
-        <  \melodic <  \id "Piano" "";  \melodie >
-           \lyric   < \id "Lyric" "";  \texte >
-        >
+        <<  
+          \context ChordNames \acc
+          \context Staff=melody \melodie
+           \context Lyrics \text
+        >>
+       \header{
+               title = "Ah, vous dirais-je, maman "
+       }
+        \paper {  }
+}
+
+\score {
+        <<  
+          \chords \context ChordNames \transpose c d\acc
+          \notes \context Staff=melody \transpose c d\melodie
+           \lyrics \context Lyrics \text
+        >>
+       \header{
+               piece = "clarinet in B$\flat$"
+       }
         \paper {  }
 }
+