EmscriptenAudioWorkletNodeCreateOptions
has bindings for options of AudioWorkletNode
itself, but AudioWorkletNode
inherits from AudioNode
which also accepts:
channelCount
channelCountMode
channelInterpretation
Being able to configure those is useful when you e.g. care about only one input audio channel and don't want the Web Audio system to produce garbage Float32Array
s for other channels that you're going to ignore anyway.
cc @juj