Tuplet_engraver - LilyPond program-reference
Description: LilyPond program-reference

Next: Tweak_engraver, Previous: Trill_spanner_engraver, Up: Engravers

#### Tuplet_engraver

Catch Time_scaled_music and generate appropriate bracket

Music types accepted:

time-scaled-music

Properties (read)

`tupletNumberFormatFunction` (procedure)
  Function taking a music as input, producing a string. This function is called to determine the text to print on a tuplet bracket.
`tupletSpannerDuration` (moment)
  Normally a tuplet bracket is as wide as the `\times` expression that gave rise to it. By setting this property, you can make brackets last shorter. Example

                {
                \set tupletSpannerDuration = #(ly:make-moment 1 4)
                \times 2/3 { c8 c c c c c }
                }

  .

`tupletFullLength` (boolean)
  If set, the tuplet is printed upto the start of the next note.

This engraver creates the following layout objects: TupletBracket and TupletNumber.

`Tuplet_engraver` is part of contexts: CueVoice, DrumVoice, GregorianTranscriptionVoice, MensuralVoice, TabVoice, VaticanaVoice and Voice

This page is for LilyPond-2.8.8 (stable-branch).

Other languages: English.
Using automatic language selection.