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.