Skip to main content

playbackRange

since 0.9.4
playbackRangeJavaScriptPlaybackRange.netplaybackRangeAndroid

Description​

The range of the song that should be played. Gets or sets the range of the song that should be played. The range is defined in midi ticks or the whole song is played if the range is set to null

playbackRange: PlaybackRange | null = null;

Examples​

const api = new alphaTab.AlphaTabApi(document.querySelector('#alphaTab'));
api.playbackRange = { startTick: 1000, endTick: 50000 };