@item
Vocal music is likely to require the use of @code{markup} mode,
either for lyrics or for other text elements (characters' names,
-etc.) This syntax is described in @ref{Text markup introduction}.
+etc.). This syntax is described in @ref{Text markup introduction}.
@item
@notation{Ambitus} may be added at the beginning of vocal staves,
the named Voice context containing the melody with
@code{\lyricsto}:
-@lilypond[quote,verbatim,relative=2]
+@lilypond[quote,verbatim]
<<
- \new Voice = "melody" {
- a1 a4. a8 a2
+ \new Voice = "melody" \relative {
+ a'1 a4. a8 a2
}
\new Lyrics \lyricsto "melody" {
These are the words
Here are two examples:
-@lilypond[relative=1,verbatim,quote]
+@lilypond[verbatim,quote]
<<
- \new Voice = "melody" {
- c'2 a f f e e
+ \new Voice = "melody" \relative {
+ c''2 a f f e e
}
\new Lyrics \lyricmode {
c4. -- a -- f -- f -- e2. -- e
To change syllable alignment, simply override the @code{self-alignment-X}
property:
-@lilypond[relative=1,verbatim,quote]
+@lilypond[verbatim,quote]
<<
- \new Voice = "melody" {
+ \new Voice = "melody" \relative {
\time 3/4
- c2 e4 g2 f
+ c'2 e4 g2 f
}
\new Lyrics \lyricmode {
\override LyricText.self-alignment-X = #LEFT
quotes or use a @code{_} character. Alternatively, you can use
the tilde symbol (@code{~}) to get a lyric tie.
-@lilypond[quote,ragged-right,verbatim,relative=2]
+@lilypond[quote,ragged-right,verbatim]
{
- { \autoBeamOff
- r8 b c fis, fis c' b e,
+ \relative {
+ \autoBeamOff
+ r8 b' c fis, fis c' b e,
}
\addlyrics
{
Melismata are created automatically over notes which are tied
together:
-@lilypond[quote,relative=2,verbatim]
+@lilypond[quote,verbatim]
<<
- \new Voice = "melody" {
+ \new Voice = "melody" \relative {
\time 3/4
- f4 g2 ~ |
+ f''4 g2 ~ |
4 e2 ~ |
8
}
slurs over the notes of each melisma. This is the usual way of
entering lyrics:
-@lilypond[quote,relative=2,verbatim]
+@lilypond[quote,verbatim]
<<
- \new Voice = "melody" {
+ \new Voice = "melody" \relative {
\time 3/4
- f4 g8 ( f e f )
+ f''4 g8 ( f e f )
e8 ( d e2 )
}
\new Lyrics \lyricsto "melody" {
providing automatic beaming is switched off. See
@ref{Setting automatic beam behavior}.
-@lilypond[quote,relative=2,verbatim]
+@lilypond[quote,verbatim]
<<
- \new Voice = "melody" {
+ \new Voice = "melody" \relative {
\time 3/4
\autoBeamOff
- f4 g8[ f e f]
+ f''4 g8[ f e f]
e2.
}
\new Lyrics \lyricsto "melody" {
An unslurred group of notes will be treated as a melisma if they
are bracketed between @code{\melisma} and @code{\melismaEnd}.
-@lilypond[quote,relative=2,verbatim]
+@lilypond[quote,verbatim]
<<
- \new Voice = "melody" {
+ \new Voice = "melody" \relative {
\time 3/4
- f4 g8
+ f''4 g8
\melisma
f e f
\melismaEnd
single underscore character, @code{_}, for every extra note that has
to be added to the melisma.
-@lilypond[verbatim, quote, relative=2]
+@lilypond[verbatim, quote]
<<
- \new Voice = "melody" {
+ \new Voice = "melody" \relative {
\time 3/4
- f4 g8 f e f
+ f''4 g8 f e f
e8 d e2
}
\new Lyrics \lyricsto "melody" {
without their indicating melismata. To do this, set
@code{melismaBusyProperties}:
-@lilypond[relative=1,verbatim,quote]
+@lilypond[verbatim,quote]
<<
- \new Voice = "melody" {
+ \new Voice = "melody" \relative {
\time 3/4
\set melismaBusyProperties = #'()
- c4 d ( e )
+ c'4 d ( e )
g8 [ f ] f4 ~ 4
}
\new Lyrics \lyricsto "melody" {
placing a single underscore in the lyrics for each note which
should be included in the melisma:
-@lilypond[relative=1,verbatim,quote]
+@lilypond[verbatim,quote]
<<
- \new Voice = "melody" {
+ \new Voice = "melody" \relative {
\time 3/4
\set melismaBusyProperties = #'()
- c4 d ( e )
+ c'4 d ( e )
g8 [ f ] ~ 4 ~ f
}
\new Lyrics \lyricsto "melody" {
@predefined
-
@code{\autoBeamOff},
@code{\autoBeamOn},
@code{\melisma},
@code{\melismaEnd}.
+@endpredefined
@seealso
Musical Glossary:
To increase the spacing between lyrics, set the
@code{minimum-distance} property of @code{LyricSpace}.
-@lilypond[relative=1,verbatim,quote,ragged-right]
-{
+@lilypond[verbatim,quote,ragged-right]
+\relative c' {
c c c c
\override Lyrics.LyricSpace.minimum-distance = #1.0
c c c c
@cindex repeating lyrics with alternative endings
@cindex alternative endings and lyrics
-If the words of the repeated section are the same, exactly the
-same structure can be used for both the lyrics and music.
+If the words of the repeated section are the same, and none of the
+@code{\alternative} blocks start with a rest, exactly the same
+structure can be used for both the lyrics and music. This has the
+advantage that @code{\unfoldRepeats} will expand both music and
+lyrics correctly.
@lilypond[quote,verbatim]
\score {
@cindex skipping notes in lyrics
@cindex lyrics, skipping notes
-But when the repeated section has different words, a repeat
+But when the repeated section has different words, or when one
+of the @code{\alternative} blocks starts with a rest, a repeat
construct cannot be used around the words and @code{\skip} commands
have to be inserted manually to skip over the notes in the
alternative sections which do not apply.
aligner = \relative { b'8( c d c) d( d d d) }
words = \lyricmode { la __ la __ }
-\new ChoirStaff <<
+\new ChoirStaff \with {\accepts NullVoice } <<
\new Staff \soprano
\new NullVoice = "aligner" \aligner
\new Lyrics \lyricsto "aligner" \words
Stanza numbers can be added by setting @code{stanza}, e.g.,
-@lilypond[quote,ragged-right,verbatim,relative=2]
-\new Voice {
- \time 3/4 g2 e4 a2 f4 g2.
+@lilypond[quote,ragged-right,verbatim]
+\new Voice \relative {
+ \time 3/4 g'2 e4 a2 f4 g2.
} \addlyrics {
\set stanza = #"1. "
Hi, my name is Bert.
@code{vocalName}. A short version may be entered as
@code{shortVocalName}.
-@lilypond[ragged-right,quote,verbatim,relative=2]
-\new Voice {
- \time 3/4 g2 e4 a2 f4 g2.
+@lilypond[ragged-right,quote,verbatim]
+\new Voice \relative {
+ \time 3/4 g'2 e4 a2 f4 g2.
} \addlyrics {
\set vocalName = #"Bert "
Hi, my name is Bert.
@cindex grace notes and lyrics
@cindex lyrics on grace notes
-By default, grace notes (e.g. via @code{\grace}) do not get assigned
+By default, grace notes (e.g., via @code{\grace}) do not get assigned
syllables when using @code{\lyricsto}, but this behavior can be
changed:
@code{\oneVoice},
@code{\voiceOne},
@code{\voiceTwo}.
+@endpredefined
@seealso
Learning Manual:
@end lilypond
@predefined
-@code{\dynamicUp}, @code{\dynamicDown}, @code{\dynamicNeutral}.
+@code{\dynamicUp},
+@code{\dynamicDown},
+@code{\dynamicNeutral}.
+@endpredefined
@seealso
Notation Reference:
applying to that character. This can be done with markup. Often a
specific font is used for this purpose.
-@lilypond[quote,verbatim,relative=1]
-\clef "G_8"
-c4^\markup \fontsize #1 \smallCaps Kaspar
-c c c
-\clef "bass"
-a4^\markup \fontsize #1 \smallCaps Melchior
-a a a
-\clef "G_8"
-c4^\markup \fontsize #1 \smallCaps Kaspar
-c c c
+@lilypond[quote,verbatim]
+\relative c' {
+ \clef "G_8"
+ c4^\markup \fontsize #1 \smallCaps Kaspar
+ c c c
+ \clef "bass"
+ a4^\markup \fontsize #1 \smallCaps Melchior
+ a a a
+ \clef "G_8"
+ c4^\markup \fontsize #1 \smallCaps Kaspar
+ c c c
+}
@end lilypond
Alternatively, if there are many character changes, it may be easier
For short interjections a simple markup suffices.
-@lilypond[quote,verbatim,relative=2]
-a4^\markup { \smallCaps { Alex - } \italic { He's gone } } a a a
-a4 a a^\markup { \smallCaps { Bethan - } \italic Where? } a
-a4 a a a
+@lilypond[quote,verbatim]
+\relative {
+ a'4^\markup { \smallCaps { Alex - } \italic { He's gone } } a a a
+ a4 a a^\markup { \smallCaps { Bethan - } \italic Where? } a
+ a4 a a a
+}
@end lilypond
For longer phrases it may be necessary to expand the music to make
cadenza. If the section is long you may need to insert dummy
bar lines with @code{\bar ""} to show where the line should break.
-@lilypond[verbatim,quote,relative=2]
-a4 b c2 |
-\cadenzaOn
-a4 b c2
-a4 b c2
-\bar ""
-a4 b c2
-a4 b c2
-\cadenzaOff
-a4 b c2 |
-a4 b c2 |
+@lilypond[verbatim,quote]
+\relative a' {
+ a4 b c2 |
+ \cadenzaOn
+ a4 b c2
+ a4 b c2
+ \bar ""
+ a4 b c2
+ a4 b c2
+ \cadenzaOff
+ a4 b c2 |
+ a4 b c2 |
+}
@end lilypond
Rests or pauses in chants can be indicated by modified bar lines.
-@lilypond[verbatim, quote,relative=2]
-a4
-\cadenzaOn
-b c2
-a4 b c2
-\bar "'"
-a4 b c2
-a4 b c2
-\bar ";"
-a4 b c2
-\bar "!"
-a4 b c2
-\bar "||"
+@lilypond[verbatim, quote]
+\relative a' {
+ a4
+ \cadenzaOn
+ b c2
+ a4 b c2
+ \bar "'"
+ a4 b c2
+ a4 b c2
+ \bar ";"
+ a4 b c2
+ \bar "!"
+ a4 b c2
+ \bar "||"
+}
@end lilypond
Alternatively, the notation used in Gregorian chant for pauses or