Skip to main content

alphaTab.synth.PositionChangedEventArgs

Represents the info when the time in the synthesizer changes.

 class PositionChangedEventArgs

Properties​

currentTick​

The current time position within the song in midi ticks.

readonly currentTick: number;

currentTime​

The current time position within the song in milliseconds.

readonly currentTime: number;

endTick​

The total length of the song in midi ticks.

readonly endTick: number;

endTime​

The total length of the song in milliseconds.

readonly endTime: number;

isSeek​

Whether the position changed because of time seeking.

isSeek: boolean;

modifiedTempo​

The modified tempo in which the actual playback is happening (e.g. due to playback speed or external audio synchronization)

modifiedTempo: number;

originalTempo​

The original tempo in which alphaTab internally would be playing right now.

originalTempo: number;