@unnumberedsubsubsec Durations
@cindex duration
+@cindex beams, automatic
@funindex \longa
@funindex \breve
@funindex \maxima
@funindex \dotsNeutral
@code{\dotsNeutral}.
-@c TODO: after deciding the link question, fix these. -gp
-Durations are entered in the same way in @code{drummode},
-@code{chordmode}, @code{figuremode}, and (optionally)
-in @code{lyricmode}.
-
-@seealso
-
-Notation Reference:
-@itemize
-@item
For ways of specifying durations for the syllables of lyrics and
ways of aligning lyrics to notes see @ref{Vocal music}.
-@item
-For a description of how to enter rests see @ref{Writing rests}.
-
-@item
A note with the duration of a quadruple breve may be entered with
@code{\maxima}, but this is supported only within ancient music
notation; see @ref{Ancient notation}.
-@item
Optionally, notes can be spaced proportionately to their duration.
For details of this and other settings which control proportional
notation see @ref{Proportional notation}.
-@end itemize
+
+@seealso
+
+Music Glossary: @rglos{breve}, @rglos{longa}.
+
+Notation Reference:@ref{Automatic beams}, @ref{Ties}, @ref{Writing rests}, @ref{Vocal music},
+@ref{Ancient notation}, @ref{Proportional notation}.
Snippets: @lsrdir{rhythms}
@refbugs
@c duplicated in Durations and Rests. -gp
-There is no fundamental limit to note durations (both in terms of
+There is no fundamental limit to rest durations (both in terms of
longest and shortest), but the number of glyphs is limited: there
-are flags up to 64th and rests up to 128th. At the other extreme,
-there are note heads up to longa (4x whole note) and rests up to
-maxima (8 x whole). Since beams can be stacked without needing
-extra glyphs, beamed notes can be arbitrarily short.
-
+are rests from 128th to maxima (8 x whole).
@node Tuplets
@cindex triplets
@funindex \times
-@c TODO Add Tuplet to glossary
-
Tuplets are made out of a music expression by multiplying all
durations with a fraction:
g4 \times 2/3 {c4 c c} d4 d4
@end lilypond
-Tuplets may be nested, for example,
+Tuplets may be nested; for example,
@lilypond[fragment,ragged-right,verbatim,relative=2]
\times 2/3 {
@commonprop
@funindex tupletNumberFormatFunction
+@funindex tupletSpannerDuration
@cindex tuplet formatting
The property @code{tupletSpannerDuration} specifies how long each
For more information about @code{make-moment}, see
@ref{Time administration}.
+@funindex TupletNumber
+
The format of the number is determined by the property @code{text}
in @code{TupletNumber}. The default prints only the denominator,
but if the property is set with @code{\override
}
@end lilypond
+@cindex bracket, tuplet
+@funindex TupletBracket
+
@c TODO: after LM 6 Tweaks includes \tweak info, look at this.-gp
@c It *should* be explained why \tweak must be used here, and why
@c \override doesn't work. I've made an attempt, but I'm not sure
}
@end lilypond
+@funindex \compressMusic
+@funindex \times
+
+@code{\compressMusic} works similarly to \times, but does not
+create a tuplet bracket; see @ref{Polymetric notation}.
+
+
@refbugs
Tuplets which cross bar lines will prevent a line break at that
@seealso
-@code{\compressMusic} works similarly to \times, but does not
-create a tuplet bracket; see @ref{Polymetric notation}.
+Music Glossary: @rglos{tuplet}.
-FIXME: totally irrelevant link to real-music for
-discussion/demonstration purposes.
+Notation Reference: @ref{Time administration},
+@ref{Objects connected to the input}, @ref{Polymetric notation}.
-Snippets: @lsrdir{rhythms},
-@lsr{real-music,creating-music-with-scheme.ly}.
+Snippets: @lsrdir{rhythms}.
Internals Reference: @internalsref{TupletBracket},
@internalsref{TupletNumber}, and @internalsref{TimeScaledMusic}.
@seealso
-This manual: @ref{Tuplets}, @ref{Skips}, @ref{Polymetric notation}.
+Notation Reference: @ref{Tuplets}, @ref{Skips}, @ref{Polymetric notation}.
Snippets: @lsrdir{rhythms}
\alternative {{ <c e>2. r4 } {<c e>2\repeatTie d4 c }}
@end lilypond
-@cindex Laissez vibrer
-@cindex Ties, laissez vibrer
+@cindex laissez vibrer
+@cindex ties, laissez vibrer
+@funindex \laissezVibrer
+@funindex \tieUp
+@funindex \tieDown
+@funindex \tieNeutral
@notation{L.v.} ties (@notation{laissez vibrer}) indicate that
notes must not be damped at the end. It is used in notation for
@seealso
+Music Glossary: @rglos{tie},
+@c [TODO]add @rglos{laissez vibrer}. when there is a glossary entry.
+
Snippets: @lsrdir{rhythms}
Internals Reference:
@node Rests
@unnumberedsubsubsec Rests
-@cindex Rests
+@cindex rest
+@cindex maxima
+@cindex longa
+@cindex breve
@funindex \rest
@funindex r
@funindex \maxima
+@funindex \longa
+@funindex \breve
Rests are entered like notes with the note name @code{r}:
@seealso
-Snippets: @lsrdir{rhythms}
+Notation Reference: @ref{Multi measure rests}.
+
+Snippets: @lsrdir{rhythms}.
Internals Reference: @internalsref{Rest}.
@refbugs
@c duplicated in Durations and Rests. -gp
-There is no fundamental limit to note durations (both in terms of
+There is no fundamental limit to rest durations (both in terms of
longest and shortest), but the number of glyphs is limited: there
-are flags up 64th and rests up to 128th. At the other extreme,
-there are note heads up to longa (4x whole note) and rests up to
-maxima (8 x whole). Since beams can be stacked without needing
-extra glyphs, beamed notes can be arbitrarily short.
-
+are rests from 128th to maxima (8 x whole).
@node Skips
@unnumberedsubsubsec Skips
-@cindex Skip
-@cindex Invisible rest
-@cindex Space note
+@cindex skip
+@cindex invisible rest
+@cindex space note
@funindex \skip
@funindex s
a4 a4 s4 a4 \skip 1 a4
@end lilypond
+@cindex lyrics, skip
+
The @code{s} syntax is only available in note mode and chord mode.
In other situations, for example, when entering lyrics, one must
use the @code{\skip} command:
@cindex multi measure rests
@cindex full measure rests
-@cindex Rests, multi measure
-@cindex Rests, full measure
-@cindex whole rests for a full measure
+@cindex rest, multi measure
+@cindex rest, full measure
+@cindex whole rest for a full measure
@funindex R
Rests for one or more full measures are entered using @code{R}
followed by a duration (see @ref{Durations}). The duration should
correspond to an integral number of measures, otherwise a barcheck
-warning is printed. Multi-measure rests are principally used to
-indicate that a part in a multi-part score should be silent:
+warning is printed. A @rglos{multi-measure rest} is used
+principally to indicate that a part in a multi-part score should
+be silent:
@lilypond[quote,fragment,verbatim,relative=2]
\set Score.skipBars = ##t
or breve rest, centered in the measure, regardless of the time
signature.
+@cindex church rest
+@cindex rest, church
+@cindex kirchenpausen
+
If there are 10 or fewer measures of rest, LilyPond prints
-@rglos{church rests} (a series of longa and breve rests)
-in the staff and
+a series of longa and breve rests (called in German
+Kirchenpausen - @q{church rests}) within the staff and
prints a simple line otherwise. This default number of 10
may be changed by overriding
@code{MultiMeasureRest.expand-limit}.
@seealso
-This manual: @ref{Text}, @ref{Text scripts}.
+Notation Reference: @ref{Durations}, @ref{Text},
+@ref{Text markup}, @ref{Text scripts}.
Snippets: @lsrdir{rhythms}
-Internals Reference:
-
-@internalsref{MultiMeasureRest}.
+Internals Reference: @internalsref{MultiMeasureRest}.
The layout object @internalsref{MultiMeasureRestNumber} is for the
default number, and @internalsref{MultiMeasureRestText} for user
@node Time signature
@unnumberedsubsubsec Time signature
-@cindex Time signature
+@cindex time signature
@cindex meter
@funindex \time
the value of @code{timeSignatureFraction} also causes the symbol
to be printed.
-@cindex Measure groupings
+@cindex measure groupings
More options are available through the Scheme function
@code{set-time-signature}, which takes three arguments: the number
@cindex polymetric signatures
@cindex meter, polymetric
+@c TODO: add glossary entries for {signature, polymetric},
+@c {meter, polymetric}, {polymetric} (time signature, double}. rp
+
Double time signatures are not supported explicitly, but they can
be faked. In the next example, the markup for the time signature
is created with a markup text. This markup text is inserted in
signature. The latter is done with @code{\compressMusic}, which
is used in a similar way to @code{\times}, but does not create
a tuplet bracket. The syntax is
+
@funindex \compressMusic
@example
@seealso
-Snippets: @lsrdir{rhythms}
+@ignore
+TODO: add @rglos{polymetric time signature}, {polymetric}, {double time
+signature}, and {polymetric meter}. when glossary entries
+exist.
+@end ignore
+
+Snippets: @lsrdir{rhythms}, @lsr{contemporary,compound-time-signature}.
+
+Internals Reference: @internalsref{TimeSignature}, @internalsref{Timing-translator}, @internalsref{Staff}.
@node Automatic note splitting
Snippets: @lsrdir{rhythms}
-Internals Reference: @internalsref{Completion_heads_engraver},
+Internals Reference: @internalsref{Note_heads_engraver},
+@internalsref{Completion_heads_engraver},
@internalsref{Forbid_line_break_engraver}.
@node Automatic beams
@unnumberedsubsubsec Automatic beams
-By default beams are inserted automatically:
+By default, beams are inserted automatically:
+
+@cindex beams, manual
+@cindex manual beams
@lilypond[quote,ragged-right,fragment,verbatim,relative=2]
\time 2/4 c8 c c c
c8[^"(3+2)" c16 c8]
@end lilypond
+@c [TODO I think this could be worded more clearly, but I'm not sure how.] rp
The property @code{subdivideBeams} can be set in order to
subdivide all 16th or shorter beams. When set, multiple beams
will be sub-divided at beat positions, defined by the current
value of @code{beatLength} (defaults to a quarter note), by
-drawing only one beam over the beat.
+drawing only one beam over the connection between beats.
@lilypond[fragment,ragged-right,quote,relative=2,verbatim]
c32[ c c c c c c c]
@ref{Time administration}.
@funindex breakable
+@cindex break, line
+@cindex line breaks
Line breaks are normally forbidden when beams cross bar lines.
This behavior can be changed by setting the @code{breakable}
@seealso
+Notation Reference: @ref{Manual beams}, @ref{Setting automatic beam behavior}.
+
Snippets: @lsrdir{rhythms}
Internals Reference: @internalsref{Beam}.
these would delimit the same group of notes, but this is not
required: the two commands are independent.
-In the following example the eight 16th notes occupy exactly
-the same time as a half note, but the first note is twice
-as short as the last one, with the intermediate notes gradually
-lengthening. The first four 32nd notes gradually speed up,
-while the last four 32nd notes are at a constant tempo.
+In the following example the eight 16th notes occupy exactly the
+same time as a half note, but the first note is one half as long
+as the last one, with the intermediate notes gradually
+lengthening. The first four 32nd notes gradually speed up, while
+the last four 32nd notes are at a constant tempo.
@lilypond[ragged-right,relative=1,fragment,verbatim,quote]
\override Beam #'grow-direction = #LEFT
@node Bar lines
@unnumberedsubsubsec Bar lines
-@cindex Bar lines
+@cindex bar lines
@funindex \bar
@cindex measure lines
@cindex repeat bars
breaks happen only at the end of complete bars, i.e. where
the end of a note coincides with the end of a bar.
+@cindex line breaks
+@cindex bar lines, invisible
+@cindex measure lines, invisible
+
Line breaks are also permitted at manually inserted bar lines
even within incomplete bars. To allow a line break without
printing a bar line, use
f1 \bar "|:" g \bar ":|:" a \bar ":|" b
@end lilypond
+@cindex repeats
+
Although the bar line types signifying repeats may be inserted
manually they do not in themselves cause LilyPond to recognise
a repeated section. Such repeated sections are better entered
@seealso
-Notation Reference: @ref{Repeats}, @ref{System start delimiters}.
+Notation Reference: @ref{Line breaking}, @ref{Repeats},
+@ref{System start delimiters}.
Snippets: @lsrdir{rhythms}
@node Bar numbers
@unnumberedsubsubsec Bar numbers
-@cindex Bar numbers
+@cindex bar numbers
@cindex measure numbers
@funindex currentBarNumber
-Bar numbers are typeset by default at the start of every line
-except the first line. The
-number itself is stored in the @code{currentBarNumber} property,
-which is normally updated automatically for every measure. It
-may also be set manually:
+Bar numbers are typeset by default at the start of every line except
+the first line. The number itself is stored in the
+@code{currentBarNumber} property, which is normally updated
+automatically for every measure. It may also be set manually:
@lilypond[verbatim,ragged-right,quote,fragment,relative]
c1 c c c
c c c c c
@end lilypond
+@cindex measure number, format
+@cindex bar number, format
+
The size of the bar number may be changed. This is illustrated
in the following example, which also shows how to enclose bar
numbers in boxes and circles, and shows an alternative way
\repeat unfold 4 { c1 } \bar "|."
@end lilypond
-@cindex Bar number alignment
+@cindex bar number alignment
Bar numbers by default are left-aligned to their parent object.
This is usually the left edge of a line or, if numbers are printed
@node Bar and bar number checks
@unnumberedsubsubsec Bar and bar number checks
-@cindex Bar check
+@cindex bar check
@funindex barCheckSynchronize
@funindex |
a list of warnings is printed in the log file,
showing the line numbers and lines
in which the bar checks failed. In the next
-example, the second bar check will signal an error
+example, the second bar check will signal an error.
@example
\time 3/4 c2 e4 | g2 |
@node Rehearsal marks
@unnumberedsubsubsec Rehearsal marks
-@cindex Rehearsal marks
+@cindex rehearsal marks
+@cindex mark, rehearsal
@funindex \mark
To print a rehearsal mark, use the @code{\mark} command
mark manually. The value to use is stored in the property
@code{rehearsalMark}.
+@cindex rehearsal mark format
+@cindex rehearsal mark style
+@cindex style, rehearsal mark
+@cindex format, rehearsal mark
+@cindex mark, rehearsal, style
+@cindex mark, rehearsal, format
+
The style is defined by the property @code{markFormatter}. It is
a function taking the current mark (an integer) and the current
context as argument. It should return a markup object. In the
Snippets: @lsrdir{rhythms}
-This manual: @ref{Text marks}.
+This manual: @ref{The Feta font}, @ref{Text marks}.
Internals Reference: @internalsref{RehearsalMark}.
@funindex \afterGrace
+@cindex grace notes, following
+
If you want to end a note with a grace, use the @code{\afterGrace}
command. It takes two arguments: the main note, and the grace
notes following the main note.
seen in the file @file{ly/@/grace@/-init@/.ly}. By redefining
them other effects may be obtained.
+@cindex stem, with slash
+
@noindent
The slash through the stem in @emph{acciaccatura}s can be obtained in
other situations by @code{\override Stem #'stroke-style =
@seealso
+Music Glossary: @rglos{grace notes}, @rglos{acciaccatura},
+@c [TODO add appoggiatura]
+
Snippets: @lsrdir{rhythms}
Internals Reference: @internalsref{GraceMusic}.
@node Aligning to cadenzas
@unnumberedsubsubsec Aligning to cadenzas
+@cindex cadenza
+@cindex cadenza, aligning to
+@cindex aligning to cadenza
+
In an orchestral context, cadenzas present a special problem: when
constructing a score that includes a cadenza, all other
instruments should skip just as many notes as the length of the
cadenza, otherwise they will start too soon or too late.
-A solution to this problem are the functions
+A solution to this problem is to use the functions
@code{mmrest-of-length} and @code{skip-of-length}. These Scheme
-functions take a piece of music as argument, and generate a
-multi-rest or @code{\skip}, exactly as long as the piece. The use
-of @code{mmrest-of-length} is demonstrated in the following
-example.
+functions take a piece of music as argument, and generate a multi-rest
+or @code{\skip}, exactly as long as the piece. The use of
+@code{mmrest-of-length} is demonstrated in the following example.
@lilypond[verbatim,ragged-right,quote]
cadenza = \relative c' {
@node Time administration
@unnumberedsubsubsec Time administration
-@cindex Time administration
+@cindex time administration
+@cindex timing (within the score)
+@cindex music, unmetered
+@cindex unmetered music
@funindex currentBarNumber
@funindex measurePosition
The following properties of @code{Timing} are used
to keep track of timing within the score.
+@cindex bar number
+@cindex measure number
+
@table @code
@item currentBarNumber
The current measure number. For an example showing the
+