Skip to main content

player.outputMode

since 1.3.0

Description​

Controls how alphaTab will play the audio samples in the browser.

player.outputModeJavaScript
player.outputModeJSON
data-player-outputmodeHTML

Types​

TypeValues
alphaTab.PlayerOutputModeJavaScript

WebAudioAudioWorklets - If audio worklets are available, they are used. If not fallback to the ScriptProcessorNode
WebAudioScriptProcessor - Using the ScriptProcessorNode for playback

stringJSON, JavaScript & HTML

webaudioaudioworklets
webaudioscriptprocessor

intJSON, JavaScript & HTML

0 - WebAudioAudioWorklets
1 - WebAudioScriptProcessor

Default Value​

WebAudioAudioWorklets