This argument is instance of AudioContext
for adding AudioWorklet module.
This argument is class that extends AudioWorkletProcessor
.
Optional
options: WorkletOptionsThis argument is one of 'omit', 'same-origin', 'include'. The default value is 'same-origin'.
Return value is Promise
that addModule
returns.
This function adds module as AudioWorklet.