]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/user/rhythms.itely
Formatting and beginning music glossary from Ralph.
[lilypond.git] / Documentation / user / rhythms.itely
index eaa218fcccec2c60d5bbefee9f8fbd60b25fcfa5..47c346af13f5b70f1c9315f8f134e37c070539ab 100644 (file)
@@ -38,6 +38,7 @@ This section discusses rhythms, durations, and bars.
 @unnumberedsubsubsec Durations
 
 @cindex duration
+@cindex beams, automatic
 @funindex \longa
 @funindex \breve
 @funindex \maxima
@@ -106,33 +107,24 @@ force a particular direction manually:
 @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}
 
@@ -143,13 +135,9 @@ Internals Reference: @internalsref{Dots},
 @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
@@ -159,8 +147,6 @@ extra glyphs, beamed notes can be arbitrarily short.
 @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:
 
@@ -179,7 +165,7 @@ the notes are 2/3 of their written length.
 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 {
@@ -201,6 +187,7 @@ Tuplets may be nested, for example,
 @commonprop
 
 @funindex tupletNumberFormatFunction
+@funindex tupletSpannerDuration
 @cindex tuplet formatting
 
 The property @code{tupletSpannerDuration} specifies how long each
@@ -218,6 +205,8 @@ In the next example, there are two triplets shown, while
 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
@@ -252,6 +241,9 @@ example, @code{\tweak} specifies fraction text for the outer
 }
 @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
@@ -296,6 +288,13 @@ note:
 }
 @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
@@ -303,14 +302,12 @@ point.
 
 @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}.
@@ -344,7 +341,7 @@ a multiplier.  This is useful for skipping many measures, e.g.,
 
 @seealso
 
-This manual: @ref{Tuplets}, @ref{Skips}, @ref{Polymetric notation}.
+Notation Reference: @ref{Tuplets}, @ref{Skips}, @ref{Polymetric notation}.
 
 Snippets: @lsrdir{rhythms}
 
@@ -408,8 +405,12 @@ have to repeat the tie.  This can be achieved with
 \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
@@ -435,6 +436,9 @@ c4_~ c c^~ c)
 
 @seealso
 
+Music Glossary: @rglos{tie},
+@c [TODO]add @rglos{laissez vibrer}. when there is a glossary entry.
+
 Snippets: @lsrdir{rhythms}
 
 Internals Reference:
@@ -527,11 +531,16 @@ well-defined.  In these cases, a slur may be preferable.
 
 @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}:
 
@@ -564,7 +573,9 @@ a4\rest d4\rest
 
 @seealso
 
-Snippets: @lsrdir{rhythms}
+Notation Reference: @ref{Multi measure rests}.
+
+Snippets: @lsrdir{rhythms}.
 
 Internals Reference: @internalsref{Rest}.
 
@@ -572,20 +583,16 @@ 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
 
@@ -596,6 +603,8 @@ note with note name @code{s} or with @code{\skip @var{duration}}
 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:
@@ -637,16 +646,17 @@ Internals Reference: @internalsref{SkipMusic}.
 
 @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
@@ -692,9 +702,13 @@ An @code{R} spanning a single measure is printed as either a whole
 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}.
@@ -760,13 +774,12 @@ c4^\markup {CHORUS} d f c
 
 @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
@@ -809,7 +822,7 @@ R1*4 cis cis
 @node Time signature
 @unnumberedsubsubsec Time signature
 
-@cindex Time signature
+@cindex time signature
 @cindex meter
 @funindex \time
 
@@ -869,7 +882,7 @@ inserted, and how automatic beams should be generated.  Changing
 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
@@ -1021,6 +1034,9 @@ Snippets: @lsrdir{rhythms}
 @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
@@ -1093,6 +1109,7 @@ printed durations in each staff are scaled to the common time
 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 
@@ -1140,7 +1157,15 @@ aligned vertically, but bar lines distort the regular spacing.
 
 @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
@@ -1185,7 +1210,8 @@ split rests.
 
 Snippets: @lsrdir{rhythms}
 
-Internals Reference: @internalsref{Completion_heads_engraver},
+Internals Reference: @internalsref{Note_heads_engraver},
+@internalsref{Completion_heads_engraver},
 @internalsref{Forbid_line_break_engraver}.
 
 
@@ -1204,7 +1230,10 @@ Internals Reference: @internalsref{Completion_heads_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
@@ -1245,11 +1274,12 @@ c8[^"(2+3)" c16 c8]
 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]
@@ -1267,6 +1297,8 @@ For more information about @code{make-moment}, see
 @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} 
@@ -1299,6 +1331,8 @@ f8 f''8 f8 f''8
 
 @seealso
 
+Notation Reference: @ref{Manual beams}, @ref{Setting automatic beam behavior}.
+
 Snippets: @lsrdir{rhythms}
 
 Internals Reference: @internalsref{Beam}.
@@ -1575,11 +1609,11 @@ which notes are to have their durations modified.  Normally
 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
@@ -1622,8 +1656,7 @@ Snippets: @lsrdir{rhythms}
 @node Bar lines
 @unnumberedsubsubsec Bar lines
 
-@cindex Bar lines
-@cindex Barlines
+@cindex bar lines
 @funindex \bar
 @cindex measure lines
 @cindex repeat bars
@@ -1652,6 +1685,10 @@ or even flowing off the page.  This is because automatic line
 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
@@ -1695,6 +1732,8 @@ and three types of repeat bar line:
 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
@@ -1751,7 +1790,8 @@ with @code{\set Timing.defaultBarType = }@var{bartype}.
 
 @seealso
 
-Notation Reference: @ref{Repeats}, @ref{System start delimiters}.
+Notation Reference: @ref{Line breaking}, @ref{Repeats},
+@ref{System start delimiters}.
 
 Snippets: @lsrdir{rhythms}
 
@@ -1764,15 +1804,14 @@ properties).
 @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
@@ -1825,6 +1864,9 @@ c1 c 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
@@ -1850,7 +1892,7 @@ of specifying @code{#(#f #t #t)} for @code{break-visibility}.
 \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
@@ -1925,7 +1967,7 @@ c1 c c c
 @node Bar and bar number checks
 @unnumberedsubsubsec Bar and bar number checks
 
-@cindex Bar check
+@cindex bar check
 @funindex barCheckSynchronize
 @funindex |
 
@@ -1936,7 +1978,7 @@ If bar check lines are encountered at other places,
 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 |
@@ -1998,7 +2040,8 @@ Snippets: @lsrdir{rhythms}
 @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
@@ -2024,6 +2067,13 @@ The mark is incremented automatically if you use @code{\mark
 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
@@ -2092,7 +2142,7 @@ For common tweaks to the positioning of rehearsal marks, see
 
 Snippets: @lsrdir{rhythms}
 
-This manual: @ref{Text marks}.
+This manual: @ref{The Feta font}, @ref{Text marks}.
 
 Internals Reference: @internalsref{RehearsalMark}.
 
@@ -2163,6 +2213,8 @@ notes for every eighth grace note
 
 @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.
@@ -2236,6 +2288,8 @@ Another option is to change the variables @code{startGraceMusic},
 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 =
@@ -2269,6 +2323,9 @@ in other staves by setting @code{strict-grace-spacing} to
 
 @seealso
 
+Music Glossary: @rglos{grace notes}, @rglos{acciaccatura}, 
+@c [TODO add appoggiatura]
+
 Snippets: @lsrdir{rhythms}
 
 Internals Reference: @internalsref{GraceMusic}.
@@ -2307,17 +2364,20 @@ supported, and might produce crashes or other errors.
 @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' {
@@ -2342,7 +2402,10 @@ Snippets: @lsrdir{rhythms}
 @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
@@ -2356,6 +2419,9 @@ default is to be found in the @code{Score} context.  An alias,
 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
@@ -2416,3 +2482,4 @@ Internals Reference: @internalsref{Timing_translator},
 
 
 
+