Skip to main content

alphaTab.synth.BackingTrackSyncPoint

Rerpresents a point to sync the alphaTab time axis with an external backing track.

 class BackingTrackSyncPoint

Properties​

masterBarIndex​

The index of the masterbar to which this sync point belongs to. This property is purely informative for external use like in editors. It has no impact to the synchronization itself.

masterBarIndex: number;

masterBarOccurence​

The occurence of the masterbar to which this sync point belongs to. The occurence is 0-based and increases with every repeated play of a masterbar (e.g. on repeats or jumps). This property is purely informative for external use like in editors. It has no impact to the synchronization itself.

masterBarOccurence: number;

syncBpm​

The BPM the song will have virtually after this sync point to align the external media time axis with the one from the synthesizer.

syncBpm: number;

syncTime​

The millisecond time in the external media marking the synchronization point.

syncTime: number;

synthBpm​

The BPM the synthesizer has at the exact tick position of this sync point.

synthBpm: number;

synthTick​

The midi tick position of the synthesizer when this sync point is reached.

synthTick: number;

synthTime​

The millisecond time position of the synthesizer when this sync point is reached.

synthTime: number;

Methods​

updateSyncBpm​

Updates the synchronization BPM that will apply after this sync point.

updateSyncBpm(nextSyncPointSynthTime: number, nextSyncPointSyncTime: number): void
ParameterSummary
nextSyncPointSynthTimeAll

The synthesizer time of the next sync point after this one.

nextSyncPointSyncTimeAll

The synchronization time of the next sync point after this one.