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;