Docs: NR 2.1 Vocal: Review References for choral
[lilypond/mpolesky.git] / Documentation / notation / vocal.itely
blob248f892f8b59a9be73bbe1722fc91f0c3c23c29f
1 @c -*- coding: utf-8; mode: texinfo; -*-
2 @ignore
3     Translation of GIT committish: FILL-IN-HEAD-COMMITTISH
5     When revising a translation, copy the HEAD committish of the
6     version that you are working on.  For details, see the Contributors'
7     Guide, node Updating translation committishes..
8 @end ignore
10 @c \version "2.12.0"
12 @node Vocal music
13 @section Vocal music
15 @c TODO: inspirational headword
17 This section explains how to typeset vocal music, and make sure
18 that the lyrics will be aligned with the notes of their melody.
20 @menu
21 * Common notation for vocal music::
22 * Techniques specific to lyrics::
23 * Stanzas::
24 * Songs::
25 * Choral::
26 * Opera and stage musicals::
27 * Chants psalms and hymns::
28 * Ancient vocal music::
30 @end menu
33 @node Common notation for vocal music
34 @subsection Common notation for vocal music
36 This section discusses issues common to most types of vocal music.
38 @menu
39 * References for vocal music::
40 * Entering lyrics::
41 * Aligning lyrics to a melody::
42 * Automatic syllable durations::
43 * Manual syllable durations::
44 * Multiple syllables to one note::
45 * Multiple notes to one syllable::
46 * Skipping notes::
47 * Extenders and hyphens::
48 @end menu
51 @node References for vocal music
52 @unnumberedsubsubsec References for vocal music
54 This section indicates where to find details of notation issues
55 that may arise in any type of vocal music.
57 @itemize
59 @item
60 Most styles of vocal music use written text as lyrics.  An introduction
61 to this notation is to be found in @rlearning{Setting simple songs}.
63 @item
64 Vocal music is likely to require the use of @code{markup} mode, either
65 for lyrics of for other text elements (character's names, etc.).
66 This syntax is described in @ref{Text markup introduction}.
68 @item
69 @notation{Ambitus} may be added at the beginning of vocal staves, as explained
70 in @ref{Ambitus}.
72 @end itemize
74 @seealso
75 Music Glossary:
76 @rglos{ambitus}.
78 @node Entering lyrics
79 @unnumberedsubsubsec Entering lyrics
81 Lyrics are entered in lyric mode.  This section explains how this
82 done.
84 @cindex lyrics
85 @funindex \lyricmode
86 @cindex punctuation
87 @cindex spaces, in lyrics
88 @cindex quotes, in lyrics
90 @c TODO: this section is to be rewritten.
91 Since LilyPond input files are text, there is at least one
92 issue to consider when working with vocal music:
93 song texts must be interpreted as text, not notes.  For example, the
94 input@tie{}@code{d} should be interpreted as a one letter syllable,
95 not the note@tie{}D.
96 Therefore, a special lyric mode has to be used, either explicitly
97 or using some abbreviated methods.
99 Lyrics are entered in a special input mode, which can be introduced
100 by the keyword @code{\lyricmode}, or by using @code{\addlyrics} or
101 @code{\lyricsto}.  In this mode you can enter lyrics,
102 with punctuation and accents, and the input @code{d} is not parsed as
103 a pitch, but rather as a one letter syllable.  Syllables are entered
104 like notes, but with pitches replaced by text.  For example,
106 @example
107 \lyricmode @{ Twin-4 kle4 twin- kle litt- le star2 @}
108 @end example
110 There are two main methods to specify the horizontal placement
111 of the syllables, either by specifying the duration of each syllable
112 explicitly, like in the example above, or by automatically aligning
113 the lyrics to a melody or other voice of music, using @code{\addlyrics}
114 or @code{\lyricsto}.
115 @c  TODO: broken
116 @c For more details see @ref{The Lyrics context}.
118 A word or syllable of lyrics begins with an alphabetic character, and ends
119 with
120 any space or digit.  The following characters can be any character
121 that is not a digit or white space.
123 Any character that is not a digit or white space will be regarded as
124 part of the syllable; one important consequence of this is that a word
125 can end with @code{@}}, which often leads to the following mistake:
127 @example
128 \lyricmode @{ lah- lah@}
129 @end example
131 In this example, the @code{@}} is included in the final syllable, so the
132 opening brace is not balanced and the input file will probably not
133 compile.
136 @funindex \property in \lyricmode
138 @noindent
139 Similarly, a period which follows an alphabetic sequence is included in
140 the resulting string.  As a consequence, spaces must be inserted around
141 property commands: do @emph{not} write
143 @example
144 \override Score.LyricText #'font-shape = #'italic
145 @end example
147 @noindent
148 but instead use
150 @example
151 \override Score . LyricText #'font-shape = #'italic
152 @end example
154 @funindex _
155 @cindex spaces, in lyrics
156 @cindex quotes, in lyrics
157 @cindex ties, in lyrics
159 In order to assign more than one syllable to a single note, you can
160 surround them with quotes or use a @code{_} character, to get spaces
161 between syllables, or use tilde  symbol (@code{~}) to get a lyric tie.
163 @lilypond[quote,ragged-right,fragment,verbatim]
164 \time 3/4
165 \relative c' { c2 e4 g2 e4 }
166 \addlyrics { gran- de_a- mi- go }
167 \addlyrics { pu- "ro y ho-" nes- to }
168 \addlyrics { pu- ro~y~ho- nes- to }
169 @end lilypond
171 @noindent
172 The lyric tie is implemented with the Unicode character
173 @code{U+203F}; therefore a font that includes this glyph
174 (such as DejaVuLGC) has to be used.  More explanations about
175 text and non-text fonts can be found in @ref{Fonts}.
178 To enter lyrics with characters from non-English languages, or with
179 accented and special characters (such as the heart symbol or slanted quotes),
180 simply insert the characters directly into the input file and save
181 it with UTF-8 encoding.  See @ref{Text encoding}, for more info.
183 @lilypond[quote,ragged-right,fragment,verbatim]
184 \relative c' { e4 f e d e f e2 }
185 \addlyrics { He said: “Let my peo ple go”. }
186 @end lilypond
188 To use normal quotes in lyrics, add a backslash before the
189 quotes.  For example,
191 @lilypond[quote,ragged-right,fragment,verbatim]
192 \relative c' { \time 3/4 e4 e4. e8 d4 e d c2. }
193 \addlyrics { "\"I" am so lone- "ly\"" said she }
194 @end lilypond
196 The full definition of a word start in Lyrics mode is somewhat more
197 complex.
199 A word in Lyrics mode begins with: an alphabetic character, @code{_},
200 @code{?}, @code{!}, @code{:}, @code{'}, the control characters @code{^A}
201 through @code{^F}, @code{^Q} through @code{^W}, @code{^Y}, @code{^^},
202 any 8-bit character with ASCII code over 127, or a two-character
203 combination of a backslash followed by one of @code{`}, @code{'},
204 @code{"}, or @code{^}.
206 @c " to balance double quotes for not-so-bright context-sensitive editors
208 To define variables containing lyrics, the function @code{lyricmode}
209 must be used.
211 @example
212 verseOne = \lyricmode @{ Joy to the world the Lord is come @}
213 \score @{
214   <<
215     \new Voice = "one" \relative c'' @{
216       \autoBeamOff
217       \time 2/4
218       c4 b8. a16 g4. f8 e4 d c2
219     @}
220     \addlyrics @{ \verseOne @}
221   >>
223 @end example
226 @seealso
227 Notation Reference:
228 @ref{Fonts}.
230 Internals Reference:
231 @rinternals{LyricText},
232 @rinternals{LyricSpace}.
235 @node Aligning lyrics to a melody
236 @unnumberedsubsubsec Aligning lyrics to a melody
238 @funindex \lyricmode
239 @funindex \addlyrics
240 @funindex \lyricsto
242 @c TODO: this stuff is to be rewritten. -vv
244 Aligning of text with melodies can be made automatically, but if you
245 specify the durations of the syllables it can also be made manually.
246 Lyrics aligning and typesetting are prepared with the help of skips,
247 hyphens and extender lines.
249 Lyrics are printed by interpreting them in the context called
250 @code{Lyrics}; see @rinternals{Lyrics}, for more.
252 @example
253 \new Lyrics \lyricmode @dots{}
254 @end example
256 There are two main methods to specify the horizontal placement
257 of the syllables:
259 @itemize
260 @item
261 by automatically aligning
262 the lyrics to a melody or other voice of music, using @code{\addlyrics}
263 or @code{\lyricsto}
265 @item
266 or by specifying the duration of each syllable
267 explicitly, using @code{\lyricmode}
268 @end itemize
270 The @code{Voice} context containing the melody to which the lyrics
271 are being aligned must not have @qq{died}, or the lyrics after that
272 point will be lost.  This can happen if there are periods when that
273 voice has nothing to do.  For methods of keeping contexts alive, see
274 @ref{Keeping contexts alive}.
277 @node Automatic syllable durations
278 @unnumberedsubsubsec Automatic syllable durations
280 @cindex syllable durations, automatic
281 @cindex lyrics and melodies
283 The lyrics can be aligned under a given melody
284 automatically.  This is achieved by combining the
285 melody and the lyrics with the @code{\lyricsto} expression
287 @example
288 \new Lyrics \lyricsto @var{name} @dots{}
289 @end example
291 @noindent
292 This aligns the lyrics to the
293 notes of the @code{Voice} context called @var{name}, which must
294 already exist.  Therefore normally the @code{Voice} is specified first, and
295 then the lyrics are specified with @code{\lyricsto}.  The command
296 @code{\lyricsto} switches to @code{\lyricmode} mode automatically, so the
297 @code{\lyricmode} keyword may be omitted.
299 The following example uses different commands for entering lyrics.
301 @lilypond[quote,fragment,ragged-right,verbatim]
303   \new Voice = "one" \relative c'' {
304     \autoBeamOff
305     \time 2/4
306     c4 b8. a16 g4. f8 e4 d c2
307   }
309 % not recommended: left-aligned syllables
310   \new Lyrics \lyricmode { Joy4 to8. the16 world!4. the8 Lord4 is come.2 }
312 % wrong: durations needed
313   \new Lyrics \lyricmode { Joy to the earth! the Sa -- viour reigns. }
315 %correct
316   \new Lyrics \lyricsto "one" { No more let sins and sor -- rows grow. }
318 @end lilypond
320 The second stanza is not properly aligned because the durations
321 were not specified.  A solution for that would be to use @code{\lyricsto}.
323 @cindex \addlyrics
325 The @code{\addlyrics} command is actually just a convenient way
326 to write a more complicated LilyPond structure that sets up the
327 lyrics.
329 @example
330 @{ MUSIC @}
331 \addlyrics @{ LYRICS @}
332 @end example
334 @noindent
335 is the same as
337 @example
338 \new Voice = "blah" @{ music @}
339 \new Lyrics \lyricsto "blah" @{ LYRICS @}
340 @end example
342 Here is an example,
344 @lilypond[ragged-right,verbatim,fragment,quote]
345 \time 3/4
346 \relative c' { c2 e4 g2. }
347 \addlyrics { play the game }
348 @end lilypond
350 More stanzas can be added by adding more
351 @code{\addlyrics} sections
353 @lilypond[ragged-right,verbatim,fragment,quote]
354 \time 3/4
355 \relative c' { c2 e4 g2. }
356 \addlyrics { play the game }
357 \addlyrics { speel het spel }
358 \addlyrics { joue le jeu }
359 @end lilypond
361 The command @code{\addlyrics} cannot handle polyphony settings.
362 For these cases you should use @code{\lyricsto} and
363 @code{\lyricmode}, for details see@ref{Lyrics explained}.
365 @node Manual syllable durations
366 @unnumberedsubsubsec Manual syllable durations
368 Lyrics can also be entered without @code{\addlyrics} or
369 @code{\lyricsto}.  In this case,
370 syllables are entered like notes -- but with pitches replaced by text -- and the
371 duration of each syllable must be entered explicitly.  For example:
373 @example
374 play2 the4 game2.
375 sink2 or4 swim2.
376 @end example
378 The alignment to a melody can be specified with the
379 @code{associatedVoice} property,
381 @example
382 \set associatedVoice = #"lala"
383 @end example
385 @noindent
386 The value of the property (here: @code{"lala"}) should be the name of
387 a @code{Voice} context.  Without this setting, extender lines
388 will not be formatted properly.
390 Here is an example demonstrating manual lyric durations,
392 @lilypond[relative=1,ragged-right,verbatim,fragment,quote]
393 << \new Voice = "melody" {
394     \time 3/4
395     c2 e4 g2.
397  \new Lyrics \lyricmode {
398    \set associatedVoice = #"melody"
399    play2 the4 game2.
400  } >>
401 @end lilypond
404 @seealso
405 Notation Reference:
406 @ref{Keeping contexts alive}.
408 Internals Reference:
409 @rinternals{Lyrics},
410 @rinternals{Voice}.
413 @node Multiple syllables to one note
414 @unnumberedsubsubsec Multiple syllables to one note
417 @funindex _
418 @cindex ties, in lyrics
420 In order to assign more than one syllable to a single note, you can
421 surround them with quotes or use a @code{_} character, to get spaces
422 between syllables, or use tilde  symbol (@code{~}) to get a lyric
423 tie.@footnote{The lyric ties is implemented with the Unicode character
424 U+203F, so be
425 sure to have a font (like DejaVuLGC) installed that includes this
426 glyph.}
428 @lilypond[quote,ragged-right,fragment,verbatim]
429 \time 3/4
430 \relative c' { c2 e4 g2 e4 }
431 \addlyrics { gran- de_a- mi- go }
432 \addlyrics { pu- "ro y ho-" nes- to }
433 \addlyrics { pu- ro~y~ho- nes- to }
434 @end lilypond
437 @seealso
438 Internals Reference:
439 @rinternals{LyricCombineMusic}.
442 @c Here come the section which used to be "Melismata"
443 @c the new title might be more self-explanatory
446 @node Multiple notes to one syllable
447 @unnumberedsubsubsec Multiple notes to one syllable
449 @cindex melisma
450 @cindex melismata
451 @cindex phrasing, in lyrics
453 Sometimes, particularly in Medieval music, several notes are to be sung on one
454 single syllable; such vocalises are called melismas, or melismata.
456 @c this method seems to be the simplest; therefore
457 @c it might be better to present it first - vv
459 You can define melismata entirely in the lyrics, by entering @code{_}
460 for every extra note that has to be added to the melisma.
462 @c TODO: clarify: __ is used to crate a lyric extender,
463 @c _ is used to add a note to a melisma, so both __ and _ are needed.
465 @c verbose! --FV
466 @c duplicated: TODO fix
467 Additionally, you can make an extender line to be typeset to indicate
468 the melisma in the score, writing a double underscore next to the
469 first syllable of the melisma.  This example shows the three elements
470 that are used for this purpose (all of them surrounded by spaces):
471 double hyphens to separate syllables in a word, underscores to add
472 notes to a melisma, and a double underscore to put an extender line.
474 @c wrong: extender line only on last syllable of a word.  Change example
475 @lilypond[relative=1,verbatim,fragment,quote]
476 { \set melismaBusyProperties = #'()
477  c d( e) f f( e) e e  }
478 \addlyrics
479  { Ky -- _ _ ri __ _ _ _  e }
480 @end lilypond
482 In this case, you can also have ties and slurs in the melody if you
483 set @code{melismaBusyProperties}, as is done in the example above.
485 However, the @code{\lyricsto} command can also
486 detect melismata automatically: it only puts one
487 syllable under a tied or slurred group of notes.  If you want to force
488 an unslurred group of notes to be a melisma, insert @code{\melisma}
489 after the first note of the group, and @code{\melismaEnd} after the
490 last one, e.g.,
492 @lilypond[quote,relative=2,ragged-right,fragment,verbatim]
494   \new Voice = "lala" {
495     \time 3/4
496     f4 g8
497     \melisma
498     f e f
499     \melismaEnd
500     e2
501   }
502   \new Lyrics \lyricsto "lala" {
503     la di __ daah
504   }
506 @end lilypond
508 In addition, notes are considered a melisma if they are manually
509 beamed, and automatic beaming (see @ref{Setting automatic beam
510 behavior}) is switched off.
512 @lilypond[quote,relative=2,ragged-right,fragment,verbatim]
514   \new Voice = "lala" {
515     \time 3/4
516     \autoBeamOff
517     f4 g8[ f e f]
518     e2
519   }
520   \new Lyrics \lyricsto "lala" {
521     la di __ daah
522   }
524 @end lilypond
526 @c TODO: this now links to LM -vv
527 @c   umm, yeah... so what?  -gp
529 @cindex SATB
530 @cindex choral score
532 A complete example of a SATB score setup is in
533 @rlearning{Vocal ensembles}.
536 @predefined
537 @funindex \melisma
538 @code{\melisma},
539 @funindex \melismaEnd
540 @code{\melismaEnd}.
541 @endpredefined
544 @c @seealso
545 @c @lsr{vocal,lyric@/-combine.ly}.
548 @knownissues
550 Melismata are not detected automatically, and extender lines must be
551 inserted by hand.
553 @node Skipping notes
554 @unnumberedsubsubsec Skipping notes
556 Making a lyric line run slower than the melody can be achieved by
557 inserting @code{\skip}s into the lyrics.  For every @code{\skip},
558 the text will be delayed another note.  The @code{\skip} command
559 must be followed by a valid duration, but this is ignored when
560 @code{\skip} is used in lyrics.
562 @lilypond[verbatim,ragged-right,quote]
563 \relative c' { c c g' }
564 \addlyrics {
565   twin -- \skip 4
566   kle
568 @end lilypond
571 @node Extenders and hyphens
572 @unnumberedsubsubsec Extenders and hyphens
574 @cindex melisma
575 @cindex extender
577 @c leave this as samp. -gp
578 In the last syllable of a word, melismata are sometimes indicated with
579 a long horizontal line starting in the melisma syllable, and ending in
580 the next one.  Such a line is called an extender line, and it is
581 entered as @samp{ __ } (note the spaces before and after the two
582 underscore characters).
584 @warning{Melismata are indicated in the score with extender lines,
585 which are entered as one double underscore; but short melismata can
586 also be entered by skipping individual notes, which are entered as
587 single underscore characters; these do not make an extender line to be
588 typeset by default.}
590 @cindex hyphens
592 @c leave this as samp. -gp
593 Centered hyphens are entered as @samp{ -- } between syllables of a same word
594 (note the spaces before and after the two hyphen characters).  The hyphen
595 will be centered between the syllables, and its length will be adjusted
596 depending on the space between the syllables.
598 In tightly engraved music, hyphens can be removed.  Whether this
599 happens can be controlled with the @code{minimum-distance} (minimum
600 distance between two syllables) and the @code{minimum-length}
601 (threshold below which hyphens are removed).
604 @seealso
605 Internals Reference:
606 @rinternals{LyricExtender},
607 @rinternals{LyricHyphen}.
610 @node Techniques specific to lyrics
611 @subsection Techniques specific to lyrics
613 @c TODO This whole section is to be reorganized. -vv
615 @menu
616 * Working with lyrics and variables::
617 * Lyrics and repeats::
618 * Divisi lyrics::
619 * Lyrics independent of notes::
620 * Spacing out syllables::
621 * Placement of lyrics between staves::
622 @end menu
626 @node Working with lyrics and variables
627 @unnumberedsubsubsec Working with lyrics and variables
629 @cindex lyrics, variables
631 To define variables containing lyrics, the function @code{\lyricmode}
632 must be used.  You do not have to enter durations though, if you add
633 @code{\addlyrics} or @code{\lyricsto}
634 when invoking your variable.
636 @example
637 verseOne = \lyricmode @{ Joy to the world the Lord is come @}
638 \score @{
639  <<
640    \new Voice = "one" \relative c'' @{
641      \autoBeamOff
642      \time 2/4
643      c4 b8. a16 g4. f8 e4 d c2
644    @}
645    \addlyrics @{ \verseOne @}
646  >>
648 @end example
650 For different or more complex orderings, the best way is to set up the
651 hierarchy of staves and lyrics first, e.g.,
652 @example
653 \new ChoirStaff <<
654   \new Voice = "soprano" @{ @emph{music} @}
655   \new Lyrics = "sopranoLyrics" @{ s1 @}
656   \new Lyrics = "tenorLyrics" @{ s1 @}
657   \new Voice = "tenor" @{ @emph{music} @}
659 @end example
661 @noindent
662 and then combine the appropriate melodies and lyric lines
664 @example
665 \context Lyrics = sopranoLyrics \lyricsto "soprano"
666 @emph{the lyrics}
667 @end example
669 @noindent
670 The final input would resemble
672 @example
673 <<\new ChoirStaff << @emph{setup the music} >>
674  \lyricsto "soprano" @emph{etc}
675  \lyricsto "alto" @emph{etc}
676 @emph{etc}
678 @end example
680 @ignore
681 @c TODO
682 http://code.google.com/p/lilypond/issues/detail?id=329
683 The problem cannot be reproduced.
684 The following has no sense, because the issue seems to be fixed.
685 A comment is in tracker waiting for response ---FV
688 Be careful when defining a variable with lyrics that creates a new
689 context, for example, using the deprecated @code{\lyrics} command.  See
690 the next erroneous example:
692 @example
693 words = \lyrics{ %warning: this creates a new context
694  one two
697   \new Voice = "sop" { c1 }
698   \new Lyrics \lyricsto "sop" { \words }
699   \new Voice = "alt" { c2 c }
700   \new Lyrics \lyricsto "alt" { \words }
702 @end example
704 the problem is that \lyricsto will try to connect the "sop" melody with the context
705 created by "\new Lyrics".
707 Then \lyrics in \words creates another context, and the original "\new Lyrics" one
708 remains empty.
710 @end ignore
713 @seealso
714 @c TODO: document \new Staff << Voice \lyricsto >> bug
715 Internals Reference:
716 @rinternals{LyricCombineMusic},
717 @rinternals{Lyrics}.
720 @node Lyrics and repeats
721 @unnumberedsubsubsec Lyrics and repeats
723 @c TODO New section.  Add text
727 @node Divisi lyrics
728 @unnumberedsubsubsec Divisi lyrics
730 You can display alternate (or divisi) lyrics by naming voice
731 contexts and attaching lyrics to those specific contexts.
733 @lilypond[verbatim,ragged-right,quote]
734 \score{ <<
735   \new Voice = "melody" {
736     \relative c' {
737       c4
738       <<
739         { \voiceOne c8 e }
740         \new Voice = "splitpart" { \voiceTwo c4 }
741       >>
742       \oneVoice c4 c | c
743     }
744   }
745   \new Lyrics \lyricsto "melody" { we shall not o- ver- come }
746   \new Lyrics \lyricsto "splitpart" { will }
747 >> }
748 @end lilypond
751 You can use this trick to display different lyrics for a repeated
752 section.
754 @lilypond[verbatim,ragged-right,quote]
755 \score{ <<
756   \new Voice = "melody" \relative c' {
757     c2 e | g e | c1 |
758     \new Voice = "verse" \repeat volta 2 {c4 d e f | g1 | }
759     a2 b | c1}
760   \new Lyrics = "mainlyrics" \lyricsto melody \lyricmode {
761     do mi sol mi do
762     la si do }
763   \context Lyrics = "mainlyrics" \lyricsto verse \lyricmode {
764    do re mi fa sol }
765   \new Lyrics = "repeatlyrics" \lyricsto verse \lyricmode {
766    dodo rere mimi fafa solsol }
769 @end lilypond
773 @node Lyrics independent of notes
774 @unnumberedsubsubsec Lyrics independent of notes
776 @cindex Devnull context
778 In some complex vocal music, it may be desirable to place
779 lyrics completely independently of notes.  Music defined
780 inside @code{lyricrhythm} disappears into the
781 @code{Devnull} context, but the rhythms can still be used
782 to place the lyrics.
784 @lilypond[quote,verbatim,ragged-right]
785 voice = {
786   c''2
787   \tag #'music { c''2 }
788   \tag #'lyricrhythm { c''4. c''8 }
789   d''1
792 lyr = \lyricmode { I like my cat! }
795   \new Staff \keepWithTag #'music \voice
796   \new Devnull="nowhere" \keepWithTag #'lyricrhythm \voice
797   \new Lyrics \lyricsto "nowhere" \lyr
798   \new Staff { c'8 c' c' c' c' c' c' c'
799   c' c' c' c' c' c' c' c' }
801 @end lilypond
803 This method is recommended only if the music in the @code{Devnull}
804 context does not contain melismata.  Melismata are defined by the
805 @code{Voice} context.  Connecting lyrics to a @code{Devnull} context
806 makes the voice/lyrics links to get lost, and so does the info on
807 melismata.  Therefore, if you link lyrics to a @code{Devnull} context,
808 the implicit melismata get ignored.
810 @c Conclusion: do not use devnull for lyrics -FV
812 @c this clarifies http://code.google.com/p/lilypond/issues/detail?id=248
814 @node Spacing out syllables
815 @unnumberedsubsubsec Spacing out syllables
817 @cindex Spacing lyrics
818 @cindex Lyrics, increasing space between
820 To increase the spacing between lyrics, set the @code{minimum-distance}
821 property of @code{LyricSpace}.
823 @lilypond[relative,verbatim,fragment,quote,ragged-right]
825   c c c c
826   \override Lyrics.LyricSpace #'minimum-distance = #1.0
827   c c c c
829 \addlyrics {
830   longtext longtext longtext longtext
831   longtext longtext longtext longtext
833 @end lilypond
835 @noindent
836 To make this change for all lyrics in the score, set the property in the
837 layout.
839 @lilypond[verbatim,quote,ragged-right]
840 \score {
841   \relative c' {
842   c c c c
843   c c c c
844   }
845   \addlyrics {
846   longtext longtext longtext longtext
847   longtext longtext longtext longtext
848   }
849   \layout {
850     \context {
851       \Lyrics
852       \override LyricSpace #'minimum-distance = #1.0
853     }
854   }
856 @end lilypond
858 @c @snippets
859 @c This snippet has been renamed to "lyrics-alignment.ly"
860 @c update as soon as lsr/is updated -vv
861 @c @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
862 @c {lyrics-alignment.ly}
864 @c TODO: move to LSR -vv
865 @snippets
867 Checking to make sure that text scripts and lyrics are within the margins is
868 a relatively large computational task.  To speed up processing, LilyPond does
869 not perform such calculations by default; to enable it, use
871 @example
872 \override Score.PaperColumn #'keep-inside-line = ##t
873 @end example
875 To make lyrics avoid bar lines as well, use
877 @example
878 \layout @{
879   \context @{
880     \Lyrics
881       \consists "Bar_engraver"
882       \consists "Separating_line_group_engraver"
883       \override BarLine #'transparent = ##t
884   @}
886 @end example
888 @c TODO Create and add lsr example of lyricMelismaAlignment
889 @c It's used like this to center-align all lyric syllables,
890 @c even when notes are tied. -td
892 @ignore
893 \layout
895      \context { \Score lyricMelismaAlignment = #0 }
897 @end ignore
900 @node Placement of lyrics between staves
901 @unnumberedsubsubsec Placement of lyrics between staves
903 @c TODO Add text from -user
904 @c TODO Add new spacing properties, centering lyrics, etc
907 @node Stanzas
908 @subsection Stanzas
910 @menu
911 * Adding stanza numbers::
912 * Adding dynamics marks to stanzas::
913 * Adding singers' names to stanzas::
914 * Stanzas with different rhythms::
915 * Printing stanzas at the end::
916 * Printing stanzas at the end in multiple columns::
917 @end menu
920 @node Adding stanza numbers
921 @unnumberedsubsubsec Adding stanza numbers
923 @cindex stanza number
925 Stanza numbers can be added by setting @code{stanza}, e.g.,
927 @lilypond[quote,ragged-right,verbatim,relative=2,fragment]
928 \new Voice {
929   \time 3/4 g2 e4 a2 f4 g2.
930 } \addlyrics {
931   \set stanza = #"1. "
932   Hi, my name is Bert.
933 } \addlyrics {
934   \set stanza = #"2. "
935   Oh, ché -- ri, je t'aime
937 @end lilypond
940 @noindent
941 These numbers are put just before the start of the first syllable.
943 @c TODO Create and add snippet to show how two lines of a
944 @c stanza can be grouped together, along these lines:
945 @c (might need improving a bit) -td
947 @ignore
948 leftbrace = \markup { \override #'(font-encoding . fetaBraces) \lookup
949 #"brace105" }
951 stanzaOneOne = {
952   \set stanza = \markup { "1. " \leftbrace }
953   \lyricmode { Child, you're mine and I love you.
954     Lend thine ear to what I say.
956   }
959 stanzaOneThree =  {
960 %  \set stanza = \markup { "   "}
961   \lyricmode { Child, I have no great -- er joy
962     Than to have you walk in truth.
964   }
967 \new Voice {
968   \repeat volta 2 { c'8 c' c' c' c' c' c'4
969                     c'8 c' c' c' c' c' c'4   }
970 }  \addlyrics { \stanzaOneOne }
971    \addlyrics { \stanzaOneThree }
973 @end ignore
975 @node Adding dynamics marks to stanzas
976 @unnumberedsubsubsec Adding dynamics marks to stanzas
978 Stanzas differing in loudness may be indicated by putting a
979 dynamics mark before each stanza.  In LilyPond, everything coming in
980 front of a stanza goes into the @code{StanzaNumber} object; dynamics marks
981 are no different.  For technical reasons, you have to set the stanza
982 outside @code{\lyricmode}:
984 @lilypond[quote,ragged-right,verbatim]
985 text = {
986   \set stanza = \markup { \dynamic "ff" "1. " }
987   \lyricmode {
988     Big bang
989   }
993   \new Voice = "tune" {
994     \time 3/4
995     g'4 c'2
996   }
997 \new Lyrics \lyricsto "tune" \text
999 @end lilypond
1001 @node Adding singers' names to stanzas
1002 @unnumberedsubsubsec Adding singers' names to stanzas
1004 @cindex singer name
1005 @cindex name of singer
1007 Names of singers can also be added.  They are printed at the start of
1008 the line, just like instrument names.  They are created by setting
1009 @code{vocalName}.  A short version may be entered as @code{shortVocalName}.
1011 @lilypond[fragment,ragged-right,quote,verbatim,relative=2]
1012 \new Voice {
1013   \time 3/4 g2 e4 a2 f4 g2.
1014 } \addlyrics {
1015   \set vocalName = #"Bert "
1016   Hi, my name is Bert.
1017 } \addlyrics {
1018   \set vocalName = #"Ernie "
1019   Oh, ché -- ri, je t'aime
1021 @end lilypond
1023 @node Stanzas with different rhythms
1024 @unnumberedsubsubsec Stanzas with different rhythms
1026 Often, different stanzas of one song are put to one melody in slightly
1027 differing ways.  Such variations can still be captured with
1028 @code{\lyricsto}.
1030 @subsubheading Ignoring melismata
1032 One possibility is that the text has a melisma in one stanza, but
1033 multiple syllables in another one.  One solution is to make the faster
1034 voice ignore the melisma.  This is done by setting
1035 @code{ignoreMelismata} in the Lyrics context.
1037 @lilypond[verbatim,ragged-right,quote]
1039   \relative c' \new Voice = "lahlah" {
1040     \set Staff.autoBeaming = ##f
1041     c4
1042     \slurDotted
1043     f8.[( g16])
1044     a4
1045   }
1046   \new Lyrics \lyricsto "lahlah" {
1047     more slow -- ly
1048   }
1049   \new Lyrics \lyricsto "lahlah" {
1050     go
1051     \set ignoreMelismata = ##t
1052     fas -- ter
1053     \unset ignoreMelismata
1054     still
1055   }
1057 @end lilypond
1059 @knownissues
1060 Unlike most @code{\set} commands, @code{\set ignoreMelismata} does
1061 not work if prefixed with @code{\once}.  It is necessary to use
1062 @code{\set} and @code{\unset} to bracket the lyrics where melismata
1063 are to be ignored.
1065 @subsubheading Adding syllables to grace notes
1067 By default, grace notes (e.g. via @code{\grace}) do not get assigned
1068 syllables when using @code{\lyricsto}, but this behavior can be
1069 changed:
1071 @lilypond[verbatim,ragged-right,quote]
1072 \relative c' {
1073   f4 \appoggiatura a32 b4
1074   \grace { f16[ a16] } b2
1075   \afterGrace b2 { f16[ a16] }
1076   \appoggiatura a32 b4
1077   \acciaccatura a8 b4
1079 \addlyrics {
1080   normal
1081   \set includeGraceNotes = ##t
1082   case,
1083   gra -- ce case,
1084   after -- grace case,
1085   \set ignoreMelismata = ##t
1086   app. case,
1087   acc. case.
1089 @end lilypond
1091 @knownissues
1092 Like for @code{associatedVoice}, @code{includeGraceNotes} needs to be
1093 set at latest one syllable before the one which is to be put under a
1094 grace note.  For the case of a grace note at the very beginning of a
1095 piece of music, consider using a @code{\with} or @code{\context}
1096 block:
1098 @lilypond[verbatim,ragged-right,quote]
1100   \new Voice = melody \relative c' {
1101     \grace { c16[( d e f] }
1102     g1) f
1103   }
1104   \new Lyrics \with { includeGraceNotes = ##t }
1105   \lyricsto melody {
1106     Ah __ fa
1107   }
1109 @end lilypond
1111 @subsubheading Switching to an alternative melody
1113 More complex variations in text underlay are possible.  It is possible
1114 to switch the melody for a line of lyrics during the text.  This is
1115 done by setting the @code{associatedVoice} property.  In the example
1117 @lilypond[ragged-right,quote]
1119   \relative c' \new Voice = "lahlah" {
1120     \set Staff.autoBeaming = ##f
1121     c4
1122     <<
1123       \new Voice = "alternative" {
1124         \voiceOne
1125         \times 2/3 {
1126           % show associations clearly.
1127           \override NoteColumn #'force-hshift = #-3
1128           f8 f g
1129         }
1130       }
1131       {
1132         \voiceTwo
1133         f8.[ g16]
1134         \oneVoice
1135       } >>
1136     a8( b) c
1137   }
1138   \new Lyrics \lyricsto "lahlah" {
1139     Ju -- ras -- sic Park
1140   }
1141   \new Lyrics \lyricsto "lahlah" {
1142     % Tricky: need to set associatedVoice
1143     % one syllable too soon!
1144     \set associatedVoice = alternative % applies to "ran"
1145     Ty --
1146     ran --
1147     no --
1148     \set associatedVoice = lahlah % applies to "rus"
1149     sau -- rus Rex
1150   } >>
1151 @end lilypond
1153 @noindent
1154 the text for the first stanza is set to a melody called @q{lahlah},
1156 @example
1157 \new Lyrics \lyricsto "lahlah" @{
1158   Ju -- ras -- sic Park
1160 @end example
1163 The second stanza initially is set to the @code{lahlah} context, but
1164 for the syllable @q{ran}, it switches to a different melody.
1165 This is achieved with
1166 @example
1167 \set associatedVoice = alternative
1168 @end example
1170 @noindent
1171 Here, @code{alternative} is the name of the @code{Voice} context
1172 containing the triplet.
1174 @c TODO: make this easier to understand -vv
1175 This command must be one syllable too early, before @q{Ty} in this
1176 case.  In other words, changing the associatedVoice happens one step
1177 later than expected.  This is for technical reasons, and it is not a
1178 bug.
1180 @example
1181 \new Lyrics \lyricsto "lahlah" @{
1182   \set associatedVoice = alternative % applies to "ran"
1183   Ty --
1184   ran --
1185   no --
1186   \set associatedVoice = lahlah % applies to "rus"
1187   sau -- rus Rex
1189 @end example
1191 @noindent
1192 The underlay is switched back to the starting situation by assigning
1193 @code{lahlah} to @code{associatedVoice}.
1196 @node Printing stanzas at the end
1197 @unnumberedsubsubsec Printing stanzas at the end
1199 Sometimes it is appropriate to have one stanza set
1200 to the music, and the rest added in verse form at
1201 the end of the piece.  This can be accomplished by adding
1202 the extra verses into a @code{\markup} section outside
1203 of the main score block.  Notice that there are two
1204 different ways to force linebreaks when using
1205 @code{\markup}.
1207 @lilypond[ragged-right,verbatim,quote]
1208 melody = \relative c' {
1209 e d c d | e e e e |
1210 d d e d | c1 |
1213 text = \lyricmode {
1214 \set stanza = #"1." Ma- ry had a lit- tle lamb,
1215 its fleece was white as snow.
1218 \score{ <<
1219   \new Voice = "one" { \melody }
1220   \new Lyrics \lyricsto "one" \text
1222   \layout { }
1224 \markup { \column{
1225   \line{ Verse 2. }
1226   \line{ All the children laughed and played }
1227   \line{ To see a lamb at school. }
1228   }
1230 \markup{
1231   \wordwrap-string #"
1232   Verse 3.
1234   Mary took it home again,
1236   It was against the rule."
1238 @end lilypond
1241 @node Printing stanzas at the end in multiple columns
1242 @unnumberedsubsubsec Printing stanzas at the end in multiple columns
1244 When a piece of music has many verses, they are often printed in
1245 multiple columns across the page.  An outdented verse number often
1246 introduces each verse.  The following example shows how to produce such
1247 output in LilyPond.
1249 @lilypond[ragged-right,quote,verbatim]
1250 melody = \relative c' {
1251   c c c c | d d d d
1254 text = \lyricmode {
1255   \set stanza = #"1." This is verse one.
1256   It has two lines.
1259 \score{ <<
1260     \new Voice = "one" { \melody }
1261     \new Lyrics \lyricsto "one" \text
1262    >>
1263   \layout { }
1266 \markup {
1267   \fill-line {
1268     \hspace #0.1 % moves the column off the left margin;
1269         % can be removed if space on the page is tight
1270      \column {
1271       \line { \bold "2."
1272         \column {
1273           "This is verse two."
1274           "It has two lines."
1275         }
1276       }
1277       \hspace #0.1 % adds vertical spacing between verses
1278       \line { \bold "3."
1279         \column {
1280           "This is verse three."
1281           "It has two lines."
1282         }
1283       }
1284     }
1285     \hspace #0.1  % adds horizontal spacing between columns;
1286         % if they are still too close, add more " " pairs
1287         % until the result looks good
1288      \column {
1289       \line { \bold "4."
1290         \column {
1291           "This is verse four."
1292           "It has two lines."
1293         }
1294       }
1295       \hspace #0.1 % adds vertical spacing between verses
1296       \line { \bold "5."
1297         \column {
1298           "This is verse five."
1299           "It has two lines."
1300         }
1301       }
1302     }
1303   \hspace #0.1 % gives some extra space on the right margin;
1304       % can be removed if page space is tight
1305   }
1307 @end lilypond
1310 @seealso
1311 Internals Reference:
1312 @rinternals{LyricText},
1313 @rinternals{StanzaNumber}.
1316 @node Songs
1317 @subsection Songs
1319 @menu
1320 * References for songs::
1321 * Lead sheets::
1322 @end menu
1324 @node References for songs
1325 @unnumberedsubsubsec References for songs
1327 @c TODO chords, setting simple songs (LM), stanzas
1330 @node Lead sheets
1331 @unnumberedsubsubsec Lead sheets
1333 Lead sheets may be printed by combining vocal parts and @q{chord mode};
1334 this syntax is explained in @ref{Chord notation}.
1336 @snippets
1337 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
1338 {simple-lead-sheet.ly}
1340 @seealso
1341 Notation Reference:
1342 @ref{Chord notation}.
1345 @node Choral
1346 @subsection Choral
1348 @cindex anthems
1349 @cindex part songs
1350 @cindex oratorio
1351 @cindex SATB
1353 This section discusses notation issues that relate most directly
1354 to choral music.  This includes anthems, part songs, oratorio,
1355 etc.
1357 @menu
1358 * References for choral::
1359 * Score layouts for choral::
1360 * Divided voices::
1361 @end menu
1363 @node References for choral
1364 @unnumberedsubsubsec References for choral
1366 Choral music is usually notated on two, three or four staves within
1367 a @code{ChoirStaff} group.  Accompaniment, if required, is placed
1368 beneath in a @code{PianoStaff} group, which is usually reduced in
1369 size for @emph{a capella} choral works.  The notes for each vocal
1370 part are placed in a @code{Voice} context, with each staff
1371 being given either a single vocal part (i.e., one @code{Voice}) or
1372 a pair of vocal parts (i.e., two @code{Voice}s).
1374 Words are placed in @code{Lyrics} contexts, either underneath each
1375 corresponding music staff, or one above and one below the music
1376 staff if this contains the music for two parts.
1378 Several common topics in choral music are described fully elsewhere:
1380 @itemize
1382 @item
1383 An introduction to creating an SATB vocal score can be found in
1384 the Learning Manual, see @rlearning{Four-part SATB vocal score}.
1386 @item
1387 Several templates suitable for various styles of choral music can
1388 also be found in the Learning Manual, see
1389 @rlearning{Vocal ensembles}.
1391 @item
1392 For information about @code{ChoirStaff} and @code{PianoStaff} see
1393 @ref{Grouping staves}.
1395 @item
1396 Shape noteheads, as used in Sacred Harp and similar notation, are
1397 described in @ref{Shape note heads}.
1399 @item
1400 When two vocal parts share a staff the stems, ties, slurs, etc., of
1401 the higher part will be directed up and those of the lower part
1402 down.  To do this, use @code{\voiceOne} and @code{\voiceTwo}.  See
1403 @ref{Single-staff polyphony}.
1405 @end itemize
1407 @predefined
1408 @code{\voiceOne},
1409 @code{\voiceTwo}.
1411 @seealso
1412 Learning Manual:
1413 @rlearning{Four-part SATB vocal score},
1414 @rlearning{Vocal ensembles}.
1416 Notation Reference:
1417 @ref{Context layout order},
1418 @ref{Grouping staves},
1419 @ref{Shape note heads},
1420 @ref{Single-staff polyphony}.
1422 Internals Reference:
1423 @rinternals{ChoirStaff},
1424 @rinternals{Lyrics},
1425 @rinternals{PianoStaff}.
1427 @node Score layouts for choral
1428 @unnumberedsubsubsec Score layouts for choral
1430 Choral music containing four staves, with or without piano
1431 accompaniment, is usually laid out with two systems per page.
1432 Depending on the page size, achieving this may require changes
1433 to several default settings.  The following settings should be
1434 considered:
1436 @itemize
1438 @item
1439 The global staff size can be modified to change the overall size
1440 of the elements of the score.  See @ref{Setting the staff size}.
1442 @item
1443 The distances between the systems, the staves and the lyrics can
1444 all be adjusted independently.  See @ref{Vertical spacing}.
1446 @item
1447 Setting @code{annotate-spacing = ##t} in the layout block will
1448 display the dimensions of the vertical layout variables.  This
1449 may help in adjusting them.  For details, see
1450 @ref{Displaying spacing}.
1452 @item
1453 Other possibilities for fitting the music onto fewer pages are
1454 described in @ref{Changing spacing}.
1456 @end itemize
1458 If the number of systems per page changes from one to two it is
1459 customary to indicate this with a system separator mark between
1460 the two systems.  By default the system separator is blank.  It
1461 may be activated with
1463 @example
1464 \paper @{
1465   system-separator-markup = \slashSeparator
1467 @end example
1469 @noindent
1470 For details of this and other page formatting properties, see
1471 @ref{Page formatting}.
1473 Dynamic markings by default are placed below the staff, but in
1474 choral music they are often placed above the staff in order to
1475 avoid the lyrics.  The predefined command @code{\dynamicUp} does
1476 this for the dynamic markings in a single @code{Voice} context.
1477 To place all dynamic markings in the score above their respective
1478 staves use the following in a @code{\layout} block within the
1479 @code{\score} block:
1481 @example
1482 \layout @{
1483   \context @{
1484     \Score
1485     \override DynamicText #'direction = #UP
1486     \override DynamicLineSpanner #'direction = #UP
1487   @}
1489 @end example
1491 @predefined
1492 @code{\dynamicUp}.
1494 @seealso
1495 Notation Reference:
1496 @ref{Setting the staff size},
1497 @ref{Vertical spacing},
1498 @ref{Displaying spacing},
1499 @ref{Changing spacing},
1500 @ref{Score layout},
1501 @ref{Using an extra voice for breaks},
1502 @ref{Page formatting}.
1504 Internals Reference:
1505 @rinternals{VerticalAxisGroup},
1506 @rinternals{StaffGrouper}.
1509 @node Divided voices
1510 @unnumberedsubsubsec Divided voices
1512 @cindex voices, divided
1514 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
1515 {using-arpeggiobracket-to-make-divisi-more-visible.ly}
1517 @seealso
1518 Notation Reference:
1519 @ref{Lines}.
1522 @node Opera and stage musicals
1523 @subsection Opera and stage musicals
1525 The music, lyrics and dialogue to opera and stage musicals are
1526 usually set out in one or more of the following forms:
1528 @itemize
1530 @item
1531 A @emph{Conductors' Score} containing the full orchestral and vocal
1532 parts, together with libretto cues if there are spoken passages.
1534 @item
1535 @emph{Orchestral Parts} containing the music for the individual
1536 instruments of the orchestra or band.
1538 @item
1539 A @emph{Vocal Score} containing all vocal parts with piano
1540 accompaniment.  The accompaniment is usually an orchestral
1541 reduction, and if so the name of the original orchestral instrument
1542 is often indicated.  Vocal scores sometimes includes stage
1543 directions and libretto cues.
1545 @item
1546 A @emph{Vocal Book} containing just the vocal parts
1547 (no accompaniment), sometimes combined with the libretto.
1549 @item
1550 A @emph{Libretto} containing the extended passages of spoken
1551 dialogue usually found in musicals, together with the words to the
1552 sung parts.  Stage directions are usually included.  LilyPond can
1553 be used to typeset libretti but as they contain no music
1554 alternative methods may be preferable.
1556 @end itemize
1558 The sections in the LilyPond documentation which cover the topics
1559 needed to create scores in the styles commonly found in opera and
1560 musicals are indicated in the References below.  This is followed
1561 by sections covering those techniques which are peculiar to
1562 typesetting opera and musical scores.
1564 @menu
1565 * References for opera and stage musicals::
1566 * Spoken music::
1567 * Dialogue over music::
1568 @end menu
1570 @node References for opera and stage musicals
1571 @unnumberedsubsubsec References for opera and stage musicals
1573 @itemize
1575 @item
1576 A conductors' score contains many grouped staves and lyrics.  Ways
1577 of grouping staves is shown in @ref{Grouping staves}.  To nest
1578 groups of staves see @ref{Nested staff groups}.
1580 @item
1581 The printing of empty staves in conductors' scores and vocal scores
1582 is often suppressed.  To create such a @qq{Frenched score} see
1583 @ref{Hiding staves}.
1585 @item
1586 Writing orchestral parts is covered in @ref{Writing parts}.
1587 Other sections in the Specialist notation chapter may be relevant,
1588 depending on the orchestration used.  Many instruments are
1589 transposing instruments, see @ref{Instrument transpositions}.
1591 @item
1592 Character names are usually shown to the left of the staff when the
1593 staff is dedicated to that character alone.  The instrument name can
1594 be used for this purpose.  See @ref{Instrument names}.
1596 @item
1597 When two or more characters share a staff the character's name is
1598 usually printed above the staff at the start of every section
1599 applying to that character.  This can be done with markup.  The use
1600 of markup is covered fully in @ref{Text}.  Often a specific font is
1601 used for this purpose, see @ref{Selecting font and font size}.
1603 @item
1604 Musical cues can be inserted with the @code{\cueDuring} predefined
1605 command.  For details of its use see @ref{Formatting cue notes}.
1607 @item
1608 Dialogue cues and stage directions can be inserted with markup.
1609 See @ref{Text}.  Extensive stage directions can be inserted with
1610 a section of stand-alone markup between two @code{\score} blocks.
1611 See @ref{Separate text}.
1613 @end itemize
1615 @predefined
1616 @code{\cueDuring},
1617 @code{\quoteDuring}.
1619 @seealso
1620 Musical Glossary:
1621 @rglos{cue-notes},
1622 @rglos{Frenched score},
1623 @rglos{Frenched staves},
1624 @rglos{transposing instrument}.
1626 Notation Manual:
1627 @ref{Grouping staves},
1628 @ref{Hiding staves},
1629 @ref{Instrument names},
1630 @ref{Instrument transpositions},
1631 @ref{Nested staff groups},
1632 @ref{Selecting font and font size},
1633 @ref{Text},
1634 @ref{Transpose},
1635 @ref{Writing parts},
1636 @ref{Writing text}.
1639 @node Spoken music
1640 @unnumberedsubsubsec Spoken music
1642 @cindex parlato
1643 @cindex Sprechgesang
1644 Such effects as @q{parlato} or @q{Sprechgesang} require performers to speak
1645 without pitch but still with rhythm; these are notated by cross
1646 note heads, as demonstrated in @ref{Special note heads}.
1648 @c TODO add "marking-notes-on-spoken-parts" snippet -vv
1649 @c add "showing the rhythm of a melody" snip
1650 @c add "one staff-line notation"
1651 @c add "improvisation" ref
1652 @c add "lyrics independents of notes" ref
1654 @node Dialogue over music
1655 @unnumberedsubsubsec Dialogue over music
1660 @node Chants psalms and hymns
1661 @subsection Chants psalms and hymns
1663 @cindex chants
1664 @cindex psalms
1665 @cindex hymns
1666 @cindex religious music
1668 The music and words for chants, psalms and hymns usually follow a
1669 well-established format in any particular church.  Although the
1670 formats may differ from church to church the type-setting problems
1671 which arise are broadly similar, and are covered in this section.
1673 @menu
1674 * References for chants and psalms::
1675 * Setting a chant::
1676 * Pointing a psalm::
1677 * Partial measures in hymn tunes::
1678 @end menu
1680 @node References for chants and psalms
1681 @unnumberedsubsubsec References for chants and psalms
1683 Typesetting Gregorian chant in various styles of ancient notation
1684 is described in @ref{Ancient notation}.
1686 Modern chant settings use modern notation with varying numbers of
1687 elements taken from ancient notation.  Some of the elements and
1688 methods to consider are these:
1690 @itemize
1692 @item
1693 Chants often use quarter notes without stems to indicate the pitch,
1694 with the rhythm being taken from the spoken rhythm of the words.  To
1695 remove the stem set the @code{transparent} property of the
1696 @code{Stem} grob to @code{#t}.  See
1697 @rlearning{Visibility and color of objects} and
1698 @ref{Visibility of objects}.  An alternative is set the
1699 @code{length} property to @code{0}.
1701 @item
1702 Chants usually omit the bar lines or use shortened or dotted bar
1703 lines to indicate pauses in the music.  To omit bar lines
1704 completely use @code{\cadenzaOn} or remove the @code{Bar_engraver}.
1705 See @ref{Unmetered music} and @ref{Modifying context plug-ins}.
1707 @item
1708 To use modified bar lines see the @emph{Bar lines} section in
1709 @ref{Bars}.  Alternatively, the correct Gregorian chant notation
1710 for pauses or rests in the music are described in @emph{Divisiones}
1711 in @ref{Typesetting Gregorian chant}.
1713 @item
1714 Chants usually omit the time signature and often omit the clef too.
1715 To omit these remove the @code{Time_signature_engraver} and
1716 @code{Clef_engraver} from the @code{Staff} context respectively.
1717 For details, see @ref{Modifying context plug-ins}.
1719 @end itemize
1721 @seealso
1722 Learning Manual:
1723 @rlearning{Visibility and color of objects}.
1725 Notation reference:
1726 @ref{Ancient notation},
1727 @ref{Visibility of objects},
1728 @ref{Bars},
1729 @ref{Unmetered music},
1730 @ref{Modifying context plug-ins},
1731 @ref{Typesetting Gregorian chant}.
1733 @node Setting a chant
1734 @unnumberedsubsubsec Setting a chant
1736 Chants in the Anglican tradition are usually either single, with 7
1737 bars of music, or double, with two lots of 7 bars.  Each group of 7
1738 bars is divided into two halves, corresponding to the two halves of
1739 each verse, usually separated by a double bar line.  Only whole and
1740 half notes are used.  The 1st bar in each half always contains a
1741 single chord of whole notes.  This is the @qq{reciting note}.
1743 Some approaches to setting a chant are shown in the following
1744 snippets.
1746 @snippets
1748 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
1749 {chant-or-psalms-notation.ly}
1751 Canticles and other liturgical texts may be set more freely, and
1752 may use notational elements from ancient music.  Often the words
1753 are shown underneath and aligned with the notes.
1755 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
1756 {ancient-notation-template----modern-transcription-of-gregorian-music.ly}
1758 @seealso
1759 Notation Reference:
1760 @ref{Typesetting Gregorian chant}.
1763 @node Pointing a psalm
1764 @unnumberedsubsubsec Pointing a psalm
1766 The words to a Anglican psalm are usually printed in separate
1767 verses underneath the chant.  See the Anglican psalm template in
1768 the Learning Manual to see how to use mark-up to center the chant
1769 and place the verses centered underneath.  Marks are inserted
1770 in the words to show how they should be fitted to the chant.
1771 Single chants (with 7 bars) are repeated for every verse.  Double
1772 chants (with 14 bars) are repeated for every pair of verses.
1774 Each verse is divided into two halves.  An asterisk or a colon
1775 is frequently used to indicate this division.  This corresponds
1776 to the double bar line in the music.  The words before the colon
1777 are sung to the first 3 bars of music; the words after the colon
1778 are sung to the last four bars.
1780 Single bar lines (or in some psalters an inverted comma or similar
1781 symbol) are inserted between words to indicate where the bar lines
1782 in the music fall.  In markup mode a single bar line can be entered
1783 with the bar check symbol, @code{|}.  Other symbols may require
1784 glyphs from the @code{fetaMusic} fonts.  For details, see
1785 @ref{Fonts}.
1787 Where there is one whole note in a bar all the words corresponding
1788 to that bar are recited on that one note in speech rhythm.  Where
1789 there are two notes in a bar there will usually be only one or two
1790 corresponding syllables.  If there are more that two syllables a
1791 dot is usually inserted to indicate where the change in note occurs.
1793 In some psalters an asterisk is used to indicate a break in a
1794 recited section instead of a comma, and stressed or slightly
1795 lengthened syllables are indicated in bold text.  Others use an
1796 accent over the syllable to indicate stress.
1798 The use of markup to center text, and arrange lines in columns is
1799 described in @ref{Formatting text}.
1801 Most of these elements are shown in one or other of the two verses
1802 in the template, see @qq{Psalms} in @rlearning{Vocal ensembles}.
1804 @seealso
1805 Learning Manual:
1806 @rlearning{Vocal ensembles}.
1808 Notation Reference:
1809 @ref{Fonts},
1810 @ref{Formatting text}.
1813 @node Partial measures in hymn tunes
1814 @unnumberedsubsubsec Partial measures in hymn tunes
1816 Hymn tunes frequently start and end every line of music with
1817 partial measures so that each line of music corresponds exactly
1818 with a line of text.  This requires a @code{\partial} command at
1819 the start of the music and @code{\bar "|"} or @code{\bar "||"}
1820 commands at the end of each line.
1822 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
1823 {hymn-template.ly}
1826 @node Ancient vocal music
1827 @subsection Ancient vocal music
1829 Ancient vocal music is supported, as explained in @ref{Ancient notation}.
1831 @c TODO
1833 @c Add "Printing both the ancient and the modern clef in vocal music" snippet,
1834 @c and "Transcription of Ancient music with incipit" snippet. -vv
1836 @seealso
1837 Notation Reference:
1838 @ref{Ancient notation}.