Skip to main content

alphaTab.model.BeamingRules

Defines the custom beaming rules which define how beats are beamed together or split apart during the automatic beaming when displayed. The beaming logic works like this:

The time axis of the bar is sliced into even chunks. The chunk-size is defined by the respective group definition. Within these chunks groups can then be placed spanning 1 or more chunks.

If beats start within the same "group" they are beamed together.

 class BeamingRules

Properties​

groups​

The the group for a given "longest duration" within the bar. The map key is the duration to which the bar will be sliced into. The map value defines the "groups" placed within the sliced.

groups: Map<Duration, number[]>;