Skip to main content

alphaTab.synth.IExternalMediaHandler

A custom handler for integrating alphaTab with an external media source.

 interface IExternalMediaHandler

Properties​

backingTrackDuration​

The total duration of the backing track in milliseconds.

readonly backingTrackDuration: number;

masterVolume​

The volume at which the output should play (0-1)

masterVolume: number;

playbackRate​

The playback rate at which the output should playback.

playbackRate: number;

Methods​

pause​

Instructs the external media to pause the playback.

pause(): void

play​

Instructs the external media to start the playback.

play(): void

seekTo​

Instructs the output to seek to the given time position.

seekTo(time: number): void
ParameterSummary
timeAll

The absolute time in milliseconds.