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