]> git.donarmstrong.com Git - lilypond.git/blob - input/template/satb.ly
e851da4ca06ed4261b4e02cca126a79d5af50f72
[lilypond.git] / input / template / satb.ly
1 \version "2.1.23"
2 \header {
3
4     texidoc = "
5  Four-part (SATB) vocal score.
6
7 }
8
9 sopMusic = \notes  \relative c'' { c4 c c8[( b)] c4 }
10 sopWords = \lyrics { hi4 hi hi hi  }
11
12 altoMusic = \notes  \relative c' { e4 f d e }
13 altoWords =\lyrics { ha4 ha ha ha }
14
15 tenorMusic = \notes \relative c' { g4 a f g }
16 tenorWords = \lyrics { hu4 hu hu hu }
17
18 bassMusic = \notes \relative c { c4 c g c }
19 bassWords = \lyrics { ho4 ho ho ho }
20
21 \score { \notes
22           \context StaffGroup <<
23               \context Lyrics = sopranos { s1 }
24               \context Staff = women <<
25                   \context Voice = sopranos { \voiceOne \sopMusic }
26                   \context Voice = altos { \voiceTwo \altoMusic }
27               >>
28               \context Lyrics = altos { s1 }
29               \context Lyrics = tenors { s1 }
30               \context Staff = men <<
31                   \clef bass
32                   \context Voice = tenors { \voiceOne \tenorMusic }
33                   \context Voice = basses { \voiceTwo \bassMusic }
34               >>
35               \context Lyrics = basses { s1 }
36
37               
38               \context Lyrics = sopranos \lyricsto sopranos \sopWords
39               \context Lyrics = altos \lyricsto altos \altoWords
40               \context Lyrics = tenors \lyricsto tenors \tenorWords
41               \context Lyrics = basses \lyricsto basses \bassWords
42           
43           >>
44   \paper {
45     \translator {
46
47         % a little smaller so lyrics can be closer to the staff. 
48         \StaffContext
49         minimumVerticalExtent = #'(-3 . 3) 
50     }
51   }
52 }