Entering several tuplets using only one \tuplet command: Difference between revisions

m New category
mNo edit summary
 
Line 1: Line 1:
The property <code>tupletSpannerDuration</code> sets how long each of the tuplets contained within the brackets after <code>\tuplet</code> should last. Many consecutive tuplets can then be placed within a single <code>\tuplet</code> expression, thus saving typing.
The property <code>tupletSpannerDuration</code> sets how long each of the tuplets contained within the brackets after <code>\tuplet</code> should last. Many consecutive tuplets can then be placed within a single <code>\tuplet</code> expression, thus saving typing.


There are several ways to set <code>tupletSpannerDuration</code>. The command <code>\tupletSpan</code> sets it to a given duration, and clears it when instead of a duration <code>\default</code> is specified. Another way is to use an optional argument with <code>\tuplet</code>.
There are several ways to set <code>tupletSpannerDuration</code> besides using a <code>\set</code> command. The command <code>\tupletSpan</code> sets it to a given duration, or clears it when instead of a duration <code>\default</code> is specified. Another way is to use an optional argument with <code>\tuplet</code>.


<lilypond version="2.24">
<lilypond version="2.24">