Skip to main content

alphaTab.synth.AlphaSynthAudioWorkletOutput

Description

This class implements a HTML5 Web Audio API based audio output device for alphaSynth. It can be controlled via a JS API.

 class AlphaSynthAudioWorkletOutput extends AlphaSynthWebAudioOutputBase

Properties

ready

(Inherited from AlphaSynthWebAudioOutputBase)

sampleRate

(Inherited from AlphaSynthWebAudioOutputBase)

sampleRequest

(Inherited from AlphaSynthWebAudioOutputBase)

samplesPlayed

(Inherited from AlphaSynthWebAudioOutputBase)

Methods

activate(() => void)

(Inherited from AlphaSynthWebAudioOutputBase)

addSamples(Float32Array)
destroy()

(Inherited from AlphaSynthWebAudioOutputBase)

enumerateOutputDevices()

(Inherited from AlphaSynthWebAudioOutputBase)

getOutputDevice()

(Inherited from AlphaSynthWebAudioOutputBase)

open(number)
pause()
play()
resetSamples()
setOutputDevice(ISynthOutputDevice | null)

(Inherited from AlphaSynthWebAudioOutputBase)