]> git.donarmstrong.com Git - lilypond.git/commit
Issue 3095: \tuplet and \tupletSpan to replace \times and tupletSpannerDuration
authorDavid Kastrup <dak@gnu.org>
Wed, 9 Jan 2013 23:32:41 +0000 (00:32 +0100)
committerDavid Kastrup <dak@gnu.org>
Fri, 25 Jan 2013 20:22:05 +0000 (21:22 +0100)
commitddaf8f8c52271d1e9bee0a72a4f0ad4e23b1e597
tree777ff37296bfd9fb900c10d2d827a096aee05a91
parentc3d30cde5a4e1ba4d8e044fec7677629269b9443
Issue 3095: \tuplet and \tupletSpan to replace \times and tupletSpannerDuration

\tuplet:
Scale the given @var{music} to tuplets.  @var{ratio} is a
fraction that specifies how many notes are played in place of the
nominal value: it will be @samp{3/2} for triplets, namely three notes
being played in place of two.  If the optional duration
@var{tuplet-span} is specified, it is used instead of
@code{tupletSpannerDuration} for grouping the tuplets.
For example,
@example
\tuplet 3/2 4 @{ c8 c c c c c @}
@end example
will result in two groups of three tuplets, each group lasting for a
quarter note.

tupletSpan:
Set @code{tupletSpannerDuration}, the length into which
@code{\tuplet} without an explicit @samp{tuplet-span} argument of its
own will group its tuplets, to the duration @var{tuplet-span}.  To
revert to the default of not subdividing the contents of a @code{\tuplet}
command without explicit @samp{tuplet-span}, use
@example
\tupletSpan \default
@end example
ly/music-functions-init.ly