Skip to main content

alphaTab.importer.alphaTex.AlphaTexBeatNode

A node describing a beat within alphaTex.

 interface AlphaTexBeatNode extends AlphaTexAstNode

Propertiesโ€‹

beatEffectsโ€‹

The effect list for this beat.

beatEffects?: AlphaTexPropertiesNode;

beatMultiplierโ€‹

The * marker for repeating this beat multiple times. Must have a filled beatMultiplierValue

beatMultiplier?: AlphaTexAsteriskTokenNode;

beatMultiplierValueโ€‹

The numeric value how often the beat should be repeated.

beatMultiplierValue?: AlphaTexNumberLiteral;

durationChangeโ€‹

An optional marker changing the beat duration via a marker like :4

durationDotโ€‹

The dot separating the beat content and the postfix beat duration

durationDot?: AlphaTexDotTokenNode;

durationValueโ€‹

The postfix beat duration.

durationValue?: AlphaTexNumberLiteral;

endโ€‹

The end (inclusive) of this node when parsed from an input source file. (Inherited from IAlphaTexAstNode )

leadingCommentsโ€‹

The comments preceeding this node. (Inherited from IAlphaTexAstNode )

leadingComments?: AlphaTexComment[];

nodeTypeโ€‹

(no description)

notesโ€‹

The notes contained in this beat (mutually exclusive with rest)

restโ€‹

The marker indicating that this beat is a rest beat. Currently always an identifier with r

startโ€‹

The start of this node when parsed from an input source file. (Inherited from IAlphaTexAstNode )

trailingCommentsโ€‹

The comments after this node (if starting on the same line). (Inherited from IAlphaTexAstNode )

trailingComments?: AlphaTexComment[];