AudioWorklet

Register a custom processor, expose a parameter, and render its output.

ready

node examples/worklet.js
gain=<0..1>
peak of the amplitude parameter automation
Graph
AudioWorkletProcessor → AudioWorkletNode → Destination
Input
Processor code, AudioParam
Output
Custom DSP audio

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.