lilypond-auto
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lilypond-auto] Issue 3095 in lilypond: Patch: Create a \tuplet func


From: lilypond
Subject: Re: [Lilypond-auto] Issue 3095 in lilypond: Patch: Create a \tuplet function to complement \times and tupletSpannerDuration
Date: Fri, 11 Jan 2013 11:43:01 +0000

Updates:
        Labels: -Patch-review Patch-new

Comment #8 on issue 3095 by address@hidden: Patch: Create a \tuplet function to complement \times and tupletSpannerDuration
http://code.google.com/p/lilypond/issues/detail?id=3095#c8

\tuplet and \tupletSpan to replace \times and tupletSpannerDuration


Commits in reverse:

Run scripts/auxiliar/update-with-convert-ly.sh


define-music-display-methods.scm: use \tuplet rather than \times for TimeScaledMusic


convertrules.py: substitute \times with \tuplet where appropriate

Also convert set/unset of tupletSpannerDuration to \tupletSpan

\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 @var{duration} 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
tuplets are being subdivided.  To unset, use a zero duration like
@samp{1*0}.

If TimeScaledMusic carries a duration, let it override tupletSpannerDuration

http://codereview.appspot.com/7094044




reply via email to

[Prev in Thread] Current Thread [Next in Thread]