2.2.14 Beat_performer

This performer is intended for instantiation in ‘Voice’-like contexts. The context variable beatExtraVelocity is used for adding extra MIDI velocity at each beat (default 15) in accordance with beatStructure and an additional barExtraVelocity (default 10) at the start of each bar.

This is done by adding corresponding \accent and \marcato events when such note events are encountered.

Off-beat manual use of \accent or \marcato causes autogeneration of the next on-beat accent to be skipped.

Music types accepted: articulation-event and note-event

Properties (read)

barExtraVelocity (integer)

Extra MIDI velocity added by the ‘Beat_performer’ at the start of each measure.

beatBase (positive exact rational or +inf.0)

The musical length corresponding to one unit of beatStructure.

beatExtraVelocity (integer)

Extra MIDI velocity added by the ‘Beat_performer’ at the start of each beat.

beatStructure (list)

A sequence describing the length of each beat in the measure in units of beatBase.

measurePosition (moment)

How much of the current measure have we had. This can be set manually to create incomplete measures.

timeSignatureFraction (positive, finite fraction, as pair)

A pair of numbers, signifying the time signature. For example, '(4 . 4) is a 4/4 time signature.

timing (boolean)

Keep administration of measure length, position, bar number, etc.? Switch off for cadenzas.

Beat_performer is not part of any context


LilyPond Internals Reference v2.25.22 (development-branch).