]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/new/vocal-ensemble-template.ly
Merge branch 'master' of /home/jcharles/GIT/Lily/. into translation
[lilypond.git] / Documentation / snippets / new / vocal-ensemble-template.ly
1 \version "2.19.12"
2
3 \header {
4   lsrtags = "really-simple, template, vocal-music"
5
6   texidoc = "
7 Here is a standard four-part SATB vocal score. With larger ensembles,
8 it is often useful to include a section which is included in all parts.
9 For example, the time signature and key signature are almost always the
10 same for all parts. Like in the @qq{Hymn} template, the four voices are
11 regrouped on only two staves.
12
13 "
14   doctitle = "Vocal ensemble template"
15 }
16 \paper {
17   top-system-spacing.basic-distance = #10
18   score-system-spacing.basic-distance = #20
19   system-system-spacing.basic-distance = #20
20   last-bottom-spacing.basic-distance = #10
21 }
22
23 global = {
24   \key c \major
25   \time 4/4
26 }
27
28 sopMusic = \relative c'' {
29   c4 c c8[( b)] c4
30 }
31 sopWords = \lyricmode {
32   hi hi hi hi
33 }
34
35 altoMusic = \relative c' {
36   e4 f d e
37 }
38 altoWords = \lyricmode {
39   ha ha ha ha
40 }
41
42 tenorMusic = \relative c' {
43   g4 a f g
44 }
45 tenorWords = \lyricmode {
46   hu hu hu hu
47 }
48
49 bassMusic = \relative c {
50   c4 c g c
51 }
52 bassWords = \lyricmode {
53   ho ho ho ho
54 }
55
56 \score {
57   \new ChoirStaff <<
58     \new Lyrics = "sopranos" \with {
59       % this is needed for lyrics above a staff
60       \override VerticalAxisGroup.staff-affinity = #DOWN
61     }
62     \new Staff = "women" <<
63       \new Voice = "sopranos" {
64         \voiceOne
65         << \global \sopMusic >>
66       }
67       \new Voice = "altos" {
68         \voiceTwo
69         << \global \altoMusic >>
70       }
71     >>
72     \new Lyrics = "altos"
73     \new Lyrics = "tenors" \with {
74       % this is needed for lyrics above a staff
75       \override VerticalAxisGroup.staff-affinity = #DOWN
76     }
77     \new Staff = "men" <<
78       \clef bass
79       \new Voice = "tenors" {
80         \voiceOne
81         << \global \tenorMusic >>
82       }
83       \new Voice = "basses" {
84         \voiceTwo << \global \bassMusic >>
85       }
86     >>
87     \new Lyrics = "basses"
88     \context Lyrics = "sopranos" \lyricsto "sopranos" \sopWords
89     \context Lyrics = "altos" \lyricsto "altos" \altoWords
90     \context Lyrics = "tenors" \lyricsto "tenors" \tenorWords
91     \context Lyrics = "basses" \lyricsto "basses" \bassWords
92   >>
93 }