]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/template/melody-lyrics-chords.ly
*** empty log message ***
[lilypond.git] / input / template / melody-lyrics-chords.ly
index dcd3b572d2a825644533ad44e2ed2b85d60024a6..9e28e041c6923c7cd67b6d6d4b132061f394a258 100644 (file)
@@ -1,32 +1,31 @@
-\version "1.7.18"
-
-\header {
-  texidoc = "popsong format: chords, melody and lyrics."
+\version "2.1.28"
+\header
+{
+    texidoc = "Popsong format: chords, melody and lyrics."
 }
 
-melody = \notes \relative c' {
-  a b c d
+melody = \notes \relative c'
+{
+    a b c d
 }
 
 text = \lyrics {
-  Aaa Bee Cee Dee
+    Aaa Bee Cee Dee
 }
 
 accompaniment = \chords {
-  a2 c2
+    a2 c2
 }
 
 \score {
-  <
+  <<
     \context ChordNames \accompaniment
-    \addlyrics
-      \context Staff = one {
-        \property Staff.autoBeaming = ##f
-        \property Staff.automaticMelismata = ##t
+    \context Voice = one {
+       \autoBeamOff
         \melody
-      }
-      \context Lyrics \text
-  >
+    }
+    \lyricsto "one" \new Lyrics \text
+  >>
   \paper { }
   \midi  { }
 }