Next: , Previous: Time_signature_performer, Up: Engravers



Timing_engraver

Responsible for synchronizing timing information from staves. Normally in Score. In order to create polyrhythmic music, this engraver should be removed from Score and placed in Staff.

This engraver adds the alias Timing to its containing context.

Properties (read)

currentBarNumber (integer)
Contains the current barnumber. This property is incremented at every bar line.
measurePosition (moment)
How much of the current measure have we had. This can be set manually to create incomplete measures.
measureLength (moment)
Length of one measure in the current time signature.
timing (boolean)
Keep administration of measure length, position, bar number, etc? Switch off for cadenzas.
skipBars (boolean)
If set to true, then skip the empty bars that are produced by multimeasure notes and rests. These bars will not appear on the printed output. If not set (the default) multimeasure notes and rests expand into their full length, printing the appropriate number of empty bars so that synchronization with other voices is preserved.
          @lilypond[fragment,verbatim,center]
          r1 r1*3 R1*3  \\property Score.skipBars= ##t r1*3 R1*3
          @end lilypond
     

defaultBarType (string)
Sets the default type of bar line. See whichBar for information on available bar types.

This variable is read by Timing_engraver at Score level.

barAlways (boolean)
If set to true a bar line is drawn after each note.
whichBar (string)
This property is read to determine what type of bar line to create.

Example:

          \set Staff.whichBar = "|:"
     

This will create a start-repeat bar in this staff only. Valid values are described in bar-line-interface.

automaticBars (boolean)
If set to true then bar lines will not be printed automatically; they must be explicitly created with \bar command. Unlike the \cadenza keyword, measures are still counted. Bar generation will resume according to that count if this property is unset.
timeSignatureFraction (pair of numbers)
pair of numbers, signifying the time signature. For example #'(4 . 4) is a 4/4 time signature.

Timing_engraver is part of contexts: Score

Read comments on this page, or add one.

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

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