alphaTab.synth.IExternalMediaHandler
A custom handler for integrating alphaTab with an external media source.
interface IExternalMediaHandlerProperties​
backingTrackDuration​
The total duration of the backing track in milliseconds.
- JavaScript
- C#
- Kotlin
readonly backingTrackDuration: number;double BackingTrackDuration { get; }val backingTrackDuration: DoublemasterVolume​
The volume at which the output should play (0-1)
- JavaScript
- C#
- Kotlin
masterVolume: number;double MasterVolume { get; set; }var masterVolume: DoubleplaybackRate​
The playback rate at which the output should playback.
- JavaScript
- C#
- Kotlin
playbackRate: number;double PlaybackRate { get; set; }var playbackRate: DoubleMethods​
pause​
Instructs the external media to pause the playback.
- JavaScript
- C#
- Kotlin
pause(): voidvoid Pause()fun pause(): Unitplay​
Instructs the external media to start the playback.
- JavaScript
- C#
- Kotlin
play(): voidvoid Play()fun play(): UnitseekTo​
Instructs the output to seek to the given time position.
- JavaScript
- C#
- Kotlin
seekTo(time: number): voidvoid SeekTo(double time)fun seekTo(time: Double): Unit| Parameter | Summary |
|---|---|
timeAll | The absolute time in milliseconds. |