Node: Tuplet_engraver, Next: , Previous: Timing_translator, Up: Engravers



Tuplet_engraver

Catch Time_scaled_music and generate appropriate bracket

Music types accepted: time-scaled-music

Properties (read)


tupletInvisible (boolean)
If set to true, tuplet bracket creation is switched off entirely. This has the same effect as setting both tupletNumberVisibility and tupletBracketVisibility to #f, but as this does not even create any grobs, this setting uses less memory and time.
tupletSpannerDuration (moment)
Normally a tuplet bracket is as wide as the imes expression that gave rise to it. By setting this property, you can make brackets last shorter. Example
          @lilypond[verbatim,fragment]
          context Voice 	imes 2/3 {
            property Voice.tupletSpannerDuration = #(ly:make-moment 1 4)
            c-[8 c c-] c-[ c c-]
          }
          @end lilypond
          
.
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.
This engraver creates the following grobs: TupletBracket.

Tuplet_engraver is part of contexts: GregorianTranscriptionVoice, Voice, TabVoice and VaticanaVoice


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

Report errors to <bug-lilypond@gnu.org>.