AudioWorklet
Register a custom processor, expose a parameter, and render its output.
npx web-audio-api worklet
Loading source…
This is an AudioWorklet example: it registers a custom AudioWorkletProcessor, exposes an AudioParam, and renders the output of that processor. Run it in the browser, where the adapter registers a Blob URL for the processor, or from the Node CLI, which also supports inline callback registration.