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.

baseMoment (positive moment with no grace part)

Smallest unit of time that will stand on its own as a subdivided section.

beatExtraVelocity (integer)

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

beatStructure (list)

List of baseMoments that are combined to make beats.

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.21 (development-branch).