@node Rhythms
@section Rhythms
-@lilypondfile[ragged-right,line-width=16\cm,staffsize=14,quote]
-{rhythms-headword.ly}
+@lilypondfile[quote]{rhythms-headword.ly}
This section discusses rhythms, rests, durations, beaming and bars.
duration. For details of this and other settings which control
proportional notation, see @ref{Proportional notation}.
-@refcommands
+@predefined
Dots are normally moved up to avoid staff lines, except in
polyphonic situations. The following commands may be used to
@internalsref{DotColumn}.
-@refbugs
+@knownissues
@c Deliberately duplicated in Durations and Rests. -gp
There is no fundamental limit to rest durations (both in terms of
@cindex triplets
@funindex \times
-Tuplets are made out of a music expression by multiplying all
+Tuplets are made from a music expression by multiplying all the
durations with a fraction:
@example
The duration of @var{musicexpr} will be multiplied by the
fraction. The fraction's denominator will be printed over or
under the notes, optionally with a bracket. The most common
-tuplet is the triplet in which 3 notes have the length of 2, so
+tuplet is the triplet in which 3 notes have the duration of 2, so
the notes are 2/3 of their written length.
@lilypond[quote,ragged-right,fragment,verbatim,relative=2]
Tuplets may be nested:
-@lilypond[fragment,ragged-right,verbatim,relative=2]
-\relative c'' {
- \autoBeamOff
- c4 \times 4/5 { f8 e f \times 2/3 {e[ f g] } } f4 |
-}
+@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
+\autoBeamOff
+c4 \times 4/5 { f8 e f \times 2/3 {e[ f g] } } f4 |
@end lilypond
-@refcommands
+Modifying nested tuplets which begin at the same musical moment
+must be done with @code{\tweak}.
+@c TODO Add link to LM section which deals with this.
+
+@predefined
@funindex \tupletUp
@code{\tupletUp},
@code{\tupletNeutral}.
-@commonprop
+@snippets
@cindex tuplet formatting
@cindex triplet formatting
@funindex tupletNumberFormatFunction
@funindex tupletSpannerDuration
-@c when available
-@c @lilypondfile [ragged-right,line-width=16\cm,staffsize=14,quote]
-@c {Entering-several-tuplets-using-only-one-\times-command.ly}
-
-@ignore
-@c TODO Remove when snippet works ok
-@c Sent to Snippet 5 Feb 08
-The property @code{tupletSpannerDuration} specifies how long each
-bracket should last. With this, you can make lots of tuplets
-while typing @code{\times} only once, thus saving lots of typing.
-In the next example, there are two triplets shown, while
-@code{\times} was only used once.
-
-@lilypond[quote,fragment,relative=2,ragged-right,verbatim]
-\set tupletSpannerDuration = #(ly:make-moment 1 4)
-\times 2/3 { c8 c c c c c }
-@end lilypond
-@end ignore
+@lilypondfile [verbatim,lilyquote,ragged-right,texidoc]
+{entering-several-tuplets-using-only-one--times-command.ly}
@noindent
For more information about @code{make-moment}, see
line break unless the @code{Forbid_line_break_engraver} is
removed from the @code{Voice context}.
+@c TODO Move to LM 4
+@ignore
@subheading Modifying nested tuplets
@cindex tuplets, nested
\times 2/3 { c8[ c8 c8] }
}
@end lilypond
+@end ignore
+@c TODO - tidy up
+@c Sent to Valentin for LSR (general list of Rhythm snippets) 22 Feb
+@c Maybe try referencing with:
+@c For example of modifying bracket length see @lsr{..}
+@c Index entries could then be added above this.
+@c Delete ignore block when available in LSR
+
+@ignore
@subheading Modifying tuplet bracket length
@cindex tuplet bracket length
c4
}
@end lilypond
+@end ignore
-@subheading Compressing music
+@c Compressing music
@cindex compressing music
@funindex \compressMusic
@code{\compressMusic} works similarly to \times, but does not
create a tuplet bracket. One application is in polymetric
-notation, as shown in the following example. See
-@ref{Polymetric notation}.
+notation, see @ref{Polymetric notation}.
-@c when available
-@c @lilypondfile [ragged-right,line-width=16\cm,staffsize=14,quote]
-@c {printing-music-with-different-time-signatures.ly}
+@lilypondfile [verbatim,lilyquote,ragged-right,texidoc]
+{printing-music-with-different-time-signatures.ly}
@seealso
Internals Reference: @internalsref{TupletBracket},
@internalsref{TupletNumber}, @internalsref{TimeScaledMusic}.
-@refbugs
+@knownissues
Lines may be broken within a tuplet with @code{\bar "" \break},
but the tuplet bracket does not correctly carry over.
@end lilypond
The vertical placement of ties may be controlled; see
-@ref{Controlling direction}.
+@ref{Controlling direction and placement}.
@quotation
DELETE THIS ?
@end lilypond
@end quotation
-@refcommands
+@predefined
@funindex \tieUp
@code{\tieUp},
@code{\tieSolid}.
-@commonprop
+@snippets
Ties are sometimes used to write out arpeggios. In this case, two
tied notes need not be consecutive. This can be achieved by
Internals Reference: @internalsref{Tie}.
-@refbugs
+@knownissues
Switching staves when a tie is active will not produce a slanted
tie.
Internals Reference: @internalsref{Rest}.
-@refbugs
+@knownissues
@c Deliberately duplicated in Durations and Rests. -gp
There is no fundamental limit to rest durations (both in terms of
specified texts.
-@refbugs
+@knownissues
If an attempt is made to use fingerings (e.g.,
@code{R1*10-4}) to put numbers over multi-measure rests, the
\time 2/4 c2 \time 3/4 c2.
@end lilypond
-@commonprop
+@snippets
The symbol that is printed can be customized with the @code{style}
property. Setting it to @code{#'()} uses fraction style for 4/4
Examples: @c @lsr{contemporary,compound-time-signature.ly}.
-@refbugs
+@knownissues
Automatic beaming does not use the measure grouping specified with
@code{set-time-signature}.
translated to mean @qq{there is a quarter note left in the bar.}
-@refbugs
+@knownissues
This command does not take into account grace notes at the start
of the music. When a piece starts with grace notes in the
d4 e d c
@end lilypond
-@refbugs
+@knownissues
LilyPond will only insert line breaks and page breaks at a
bar line. Unless the unmetered music ends before the end of the
@end lilypond
-@refbugs
+@knownissues
When using different time signatures in parallel, the spacing is
aligned vertically, but bar lines distort the regular spacing.
also remove @internalsref{Forbid_line_break_engraver}.
-@refbugs
+@knownissues
Not all durations (especially those containing tuplets) can be
represented exactly with normal notes and dots, but the engraver
@end lilypond
-@commonprop
+@snippets
Beaming patterns may be altered with the @code{beatGrouping} property,
Internals Reference: @internalsref{Beam}.
-@refbugs
+@knownissues
Automatically kneed cross-staff beams cannot be used together with
hidden staves. See @ref{Hiding staves}.
beaming should be switched off with @code{\autoBeamOff}.
-@refcommands
+@predefined
@funindex \autoBeamOff
@code{\autoBeamOff},
@code{\autoBeamOn}.
-@refbugs
+@knownissues
If a score ends while an automatic beam has not been ended and is
still accepting notes, this last beam will not be typeset at all.
@end lilypond
-@commonprop
+@snippets
@node Feathered beams
@subsubsection Feathered beams
The spacing in the printed output represents the
note durations only approximately, but the midi output is exact.
-@refbugs
+@knownissues
The @code{\featherDurations} command only works with very short
music snippets, and when numbers in the fraction are small.
@end lilypond
-@commonprop
+@snippets
@funindex whichBar
@funindex defaultBarType
@seealso
Notation Reference: @ref{Line breaking}, @ref{Repeats},
-@ref{System start delimiters}.
+@c FIXME: node name changed, but is subject to further changes.
+@c @ref{System start delimiters}.
Snippets: @lsrdir{Rhythms,Rhythms}
@end lilypond
-@commonprop
+@snippets
@funindex barNumberVisibility
@cindex bar numbers, regular spacing
Internals Reference: @internalsref{BarNumber}.
-@refbugs
+@knownissues
Bar numbers may collide with the top of the
@internalsref{StaffGroup} bracket, if there is one. To solve
#"grace"}.
-@commonprop
+@snippets
Grace notes may be forced to use align with regular notes
in other staves by setting @code{strict-grace-spacing} to
Internals Reference: @internalsref{GraceMusic}.
-@refbugs
+@knownissues
A multi-note beamed @emph{acciaccatura} is printed without a slash,
and looks exactly the same as a multi-note beamed
+
+
+