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