Skip to main content

alphaTab.model.FlatSyncPoint

A simple flat sync point for easy persistence separate to the main data model.

 interface FlatSyncPoint

Properties​

barIndex​

Indicates index of the masterbar for which this sync point is valid.

barIndex: number;

barOccurence​

Indicates for which repeat occurence this sync point is valid (e.g. 0 on the first time played, 1 on the second time played)

barOccurence: number;

barPosition​

Indicates relative position (0-1) of the sync point in within the masterbar.

barPosition: number;

millisecondOffset​

The audio offset marking the position within the audio track in milliseconds. This information is used to regularly sync (or on seeking) to match a given external audio time axis with the internal time axis.

millisecondOffset: number;