Offline render

Render a complete graph to an AudioBuffer with no speakers or audio device.

npx web-audio-api render-to-buffer
ready

This is a minimal OfflineAudioContext example: a complete graph renders straight to an AudioBuffer with no speakers, no audio device, and no browser required. Run it from the Node CLI for a batch render, or open it in the browser to see the identical offline graph.