Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(45)

Side by Side Diff: Documentation/learning/templates.itely

Issue 41990043: Issue 3720: Built-in templates for SATB vocal scores (Closed)
Patch Set: Created 11 years, 3 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Documentation/learning/fundamental.itely ('k') | Documentation/notation/vocal.itely » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 @c -*- coding: utf-8; mode: texinfo; -*- 1 @c -*- coding: utf-8; mode: texinfo; -*-
2 2
3 @ignore 3 @ignore
4 Translation of GIT committish: FILL-IN-HEAD-COMMITTISH 4 Translation of GIT committish: FILL-IN-HEAD-COMMITTISH
5 5
6 When revising a translation, copy the HEAD committish of the 6 When revising a translation, copy the HEAD committish of the
7 version that you are working on. For details, see the Contributors' 7 version that you are working on. For details, see the Contributors'
8 Guide, node Updating translation committishes.. 8 Guide, node Updating translation committishes..
9 @end ignore 9 @end ignore
10 10
11 @c \version "2.16.0" 11 @c \version "2.16.0"
12 12
13 @node Templates 13 @node Templates
14 @appendix Templates 14 @appendix Templates
15 15
16 This section of the manual contains templates with the LilyPond score 16 This section of the manual contains templates with the LilyPond score
17 already set up for you. Just add notes, run LilyPond, and enjoy 17 already set up for you. Just add notes, run LilyPond, and enjoy
18 beautiful printed scores! 18 beautiful printed scores!
19 19
20 @menu 20 @menu
21 * Built-in templates::
21 * Single staff templates:: 22 * Single staff templates::
22 * Piano templates:: 23 * Piano templates::
23 * String quartet templates:: 24 * String quartet templates::
24 * Vocal ensembles templates:: 25 * Vocal ensembles templates::
25 * Orchestral templates:: 26 * Orchestral templates::
26 * Ancient notation templates:: 27 * Ancient notation templates::
27 * Other templates:: 28 * Other templates::
28 @end menu 29 @end menu
29 30
30 31
32 @node Built-in templates
33 @appendixsec Built-in templates
34
35 Two templates, suitable for a range of choral music, are built into
36 LilyPond. These may be used to create simple choral music, with or
37 without piano accompaniment, in two or four staves. The templates
38 are @q{built-in}, which means they do not need to be copied and
39 edited: instead they are simply @code{\include}'d in the input file.
40
41 The templates are in pairs, one of the pair is @code{\include}'d at
42 the top of the input file and the other is @code{\include}'d at the
43 bottom. Your music expressions are entered by defining values for
44 specific variables between the two @code{\include}'d files.
45
46 The template pair @code{S-A-T-B-init.ily} and @code{S-A-T-B.ily}
47 are used to produce up to four separate SATB staves with individual
48 lyrics and optional piano accompaniment. The template pair
49 @code{SA-TB-init.ily} and @code{SA-TB.ily} are used to produce two
50 vocal staves, one for SA and one for TB, together with optional
51 piano accompaniment.
52
53 Any of the staves my be omitted. Here, for example, is how the input
Jean-Charles 2013/12/14 16:15:14 mAy be omitted
54 file for a Soprano/Bass duet might be written:
55
56 @lilypond[verbatim,quote]
57 \include "S-A-T-B-init.ily"
58
59 SopranoMusic = \relative { c'' c c c }
60 SopranoLyrics = \lyricsto "Soprano" \lyricmode {
61 High voice ly -- rics
62 }
63 BassMusic = \relative { a a a a }
64 BassLyrics = \lyricsto "Bass" \lyricmode {
65 Low voice ly -- rics
66 }
67 \include "S-A-T-B.ily"
68 @end lilypond
69
70 The same template pair can be used for a full four-part SATB
71 arrangement with individual lyrics and piano accompaniment:
72
73 @lilypond[verbatim, quote]
74 \include "S-A-T-B-init.ily"
75
76 SopranoMusic = \relative { a'4 a8 a a4\f a }
77 SopranoLyrics = \lyricsto "Soprano" \lyricmode {
78 Sop -- ra -- no ly -- rics
79 }
80 AltoMusic = \relative { d'4 d d\f d }
81 AltoLyrics = \lyricsto "Alto" \lyricmode {
82 Al -- to ly -- rics
83 }
84 TenorMusic = \relative { a4 a a\p a }
85 TenorLyrics = \lyricsto "Tenor" \lyricmode {
86 Te -- nor ly -- rics
87 }
88 BassMusic = \relative { c2 c4\mp c }
89 BassLyrics = \lyricsto "Bass" \lyricmode {
90 Bass ly -- rics
91 }
92 PianoRHMusic = \relative { c' e g c }
93 PianoDynamics = { s2 s4\f s4 }
94 PianoLHMusic = \relative { c e g c }
95
96 \include "S-A-T-B.ily"
97 @end lilypond
98
99 A second verse or alternative lyrics may be added to each of the parts:
100
101 @lilypond[verbatim, quote]
102 \include "S-A-T-B-init.ily"
103
104 SopranoMusic = \relative {
105 a'4 a a a
106 }
107 SopranoLyrics = \lyricsto "Soprano" \lyricmode {
108 \set stanza = "1."
109 Words to verse one
110 }
111 SopranoLyricsTwo = \lyricsto "Soprano" \lyricmode {
112 \set stanza = "2."
113 Words to verse two
114 }
115 \include "S-A-T-B.ily"
116 @end lilypond
117
118 The @code{SA-TB.ily} template pair is intended for use when the
119 lyrics are the same for each part, with the vocal music arranged
120 on two staves with two voices in each. Up to nine verses may be
121 provided. Here's an unaccompanied example with just three verses.
122
123 @lilypond[verbatim, quote]
124 \include "SA-TB-init.ily"
125 ··
126 SopranoMusic = \relative { a' a a a }
127 AltoMusic = \relative { f' f f f }
128 VerseOne = \lyricsto "Soprano" \lyricmode {
129 \set stanza = "1."
130 Words to verse one
131 }
132 VerseTwo = \lyricsto "Soprano" \lyricmode {
133 \set stanza = "2."
134 Words to verse two
135 }
136 VerseThree = \lyricsto "Soprano" \lyricmode {
137 \set stanza = "3."
138 Words to verse three
139 }
140 TenorMusic = \relative { a a a a }
141 BassMusic = \relative { f f f f }
142 ··
143 \include "SA-TB.ily"
144 @end lilypond
145
146 Other variables may be given values. The key signature and
147 the time signature may be changed from the default in either of
148 the two templates:
149
150 @lilypond[verbatim, quote]
151 \include "SA-TB-init.ily"
152 ··
153 Key = \key a \major
154 Time = {
155 \time 5/4
156 \tempo "Allegro" 4 = 144
157 }
158 SopranoMusic = \relative { gis' gis gis gis gis }
159 AltoMusic = \relative { cis' cis cis cis cis }
160 VerseOne = \lyricsto "Soprano" \lyricmode {
161 Words to this du -- et
162 }
163 \include "SA-TB.ily"
164 @end lilypond
165
166 A descant may be added when using either pair of templates
167 by defining the variables @code{DescantMusic} and, in the
168 @code{S-A-T-B.ily} template pair, descant lyrics may be provided
169 by defining @code{DescantLyrics} and @code{DescantLyricsTwo}.
170
171 @code{\header} and @code{\paper} blocks may be added as normal.
172 A @code{\layout} block may be provided as the value of the
173 @code{Layout} variable:
174
175 @example
176 Layout = \layout @{ ... @}
177 @end example
178
179 The complete set of variables which may be changed can be seen by
180 examining the files @file{ly/S-A-T-B-init.ily} and
181 @file{ly/SA-TB-init.ily}. The context structures may be examined
182 in the files @file{ly/S-A-T-B.ily} and @file{ly/SA-TB.ily}. Pairs
183 of these four files may be copied, edited and placed in your
184 usual @code{\include} path to provide alternative SATB layouts
185 if the ones provided here are unsuitable.
186
187 @seealso
188 Learning Manual:
189 @ref{Organizing pieces with variables},
190 @ref{Vocal ensembles templates},
191 @ref{Extending the templates}.
192
193 @knownissues
194 More complex arrangements of SATB choral music are not possible with
195 these simple built-in templates.
196
197
31 @node Single staff templates 198 @node Single staff templates
32 @appendixsec Single staff templates 199 @appendixsec Single staff templates
33 200
34 @menu 201 @menu
35 * Notes only:: 202 * Notes only::
36 * Notes and lyrics:: 203 * Notes and lyrics::
37 * Notes and chords:: 204 * Notes and chords::
38 * Notes lyrics and chords:: 205 * Notes lyrics and chords::
39 @end menu 206 @end menu
40 207
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 @node String quartet parts 275 @node String quartet parts
109 @appendixsubsec String quartet parts 276 @appendixsubsec String quartet parts
110 277
111 @lilypondfile[verbatim,quote,ragged-right,texidoc] 278 @lilypondfile[verbatim,quote,ragged-right,texidoc]
112 {string-quartet-template-with-separate-parts.ly} 279 {string-quartet-template-with-separate-parts.ly}
113 280
114 281
115 @node Vocal ensembles templates 282 @node Vocal ensembles templates
116 @appendixsec Vocal ensembles templates 283 @appendixsec Vocal ensembles templates
117 284
285 The templates shown below should be copied into your score and edited
286 there. If you have a relatively simple SATB layout you may prefer to
287 use the built-in templates, which can simply be @code{\include}'d, see
288 @ref{Built-in templates}.
289
118 @menu 290 @menu
119 * SATB vocal score:: 291 * SATB vocal score::
120 * SATB vocal score and automatic piano reduction:: 292 * SATB vocal score and automatic piano reduction::
121 * SATB with aligned contexts:: 293 * SATB with aligned contexts::
122 * SATB on four staves:: 294 * SATB on four staves::
123 * Solo verse and two-part refrain:: 295 * Solo verse and two-part refrain::
124 * Hymn tunes:: 296 * Hymn tunes::
125 * Psalms:: 297 * Psalms::
126 @end menu 298 @end menu
127 299
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 \header { 455 \header {
284 piece = "piece2" 456 piece = "piece2"
285 opus = "opus2" 457 opus = "opus2"
286 } 458 }
287 } 459 }
288 @end lilypond 460 @end lilypond
289 @end ignore 461 @end ignore
290 462
291 463
292 464
OLDNEW
« no previous file with comments | « Documentation/learning/fundamental.itely ('k') | Documentation/notation/vocal.itely » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b