]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/template/satb.ly
* lily/tuplet-engraver.cc: remove tupletInvisible
[lilypond.git] / input / template / satb.ly
index 3c2369616f8bb42319597e51eb44982ac8568fa9..bd116bfd8c99ecf642fc311cca3376b1ace5173c 100644 (file)
@@ -1,11 +1,12 @@
+\version "2.1.21"
+\header {
 
-%{
-
+    texidoc = "
  Example template for a SATB vocal  score.
-%}
+" 
+}
 
-sopMusic = \notes  \relative c'' { c4 c [c8( )b] c4 }
+sopMusic = \notes  \relative c'' { c4 c c8[( b)] c4 }
 sopWords = \lyrics { hi4 hi hi hi  }
 
 altoMusic = \notes  \relative c' { e4 f d e }
@@ -18,28 +19,28 @@ bassMusic = \notes \relative c { c4 c g c }
 bassWords = \lyrics { ho4 ho ho ho }
 
 \score { \notes
-         \context StaffGroup <
-             \property Score.automaticMelismata = ##t
-         \context Lyrics = sopLyrs { s1 }
-         \context Staff = women { s1 }
-         \context Lyrics = altoLyrs { s1 }
-         \context Lyrics = tenorLyrs { s1 }
-         \context Staff = men {\clef bass s1 }
-         \context Lyrics = bassLyrs { s1 }
-         \addlyrics
-               \context Staff = women \context Voice = VA { \voiceOne \sopMusic }
-               \context Lyrics = sopLyrs { \sopWords}
-         \addlyrics
-               \context Staff = women \context Voice = VB { \voiceTwo \altoMusic }
-               \context Lyrics = altoLyrs { \altoWords}
-         \addlyrics
-               \context Staff = men \context Voice = VA { \voiceOne \tenorMusic }
-               \context Lyrics = tenorLyrs { \tenorWords}
-         \addlyrics
-               \context Staff = men  \context Voice = VB { \voiceTwo \bassMusic }
-               \context Lyrics = bassLyrs { \bassWords}
+         \context StaffGroup <<
+             \context Lyrics = sopranos { s1 }
+             \context Staff = women <<
+                 \context Voice = sopranos { \voiceOne \sopMusic }
+                 \context Voice = altos { \voiceTwo \altoMusic }
+             >>
+             \context Lyrics = altos { s1 }
+             \context Lyrics = tenors { s1 }
+             \context Staff = men <<
+                 \clef bass
+                 \context Voice = tenors { \voiceOne \tenorMusic }
+                 \context Voice = basses { \voiceTwo \bassMusic }
+             >>
+             \context Lyrics = basses { s1 }
+
+             
+             \context Lyrics = sopranos \lyricsto sopranos \sopWords
+             \context Lyrics = altos \lyricsto altos \altoWords
+             \context Lyrics = tenors \lyricsto tenors \tenorWords
+             \context Lyrics = basses \lyricsto basses \bassWords
          
-         >
+         >>
   \paper {
     \translator {