demo · v151
Use Case Picker
Six real-world WebAudio scenarios. Pick the one closest to what you're building and see the recommended renderSizeHint, the code snippet, and the latency / CPU / glitch trade-offs to expect.
pick a scenario
Game / VR
Tight reaction loop, hundreds of simultaneous voices, can't tolerate audible latency.
low latency · high CPUVoice chat
Bi-directional voice with echo cancellation. Latency matters more than throughput.
interactiveDAW / music app
Heavy DSP chains, plug-ins, look-ahead processing. Throughput beats latency.
CPU intensiveAudio player
Plain playback of pre-rendered audio. Tolerant of latency, sensitive to power.
battery-awarePodcast recorder
Long-running capture, EQ + compressor, render-to-file. Hardware alignment helps stability.
long sessionOfflineAudioContext render
Bouncing a mix to a buffer for download. No real-time constraint at all.
render-to-bufferrecommendation
see also
implementation reference
Need the exact API surface, compatibility boundaries, errors, lifecycle, and source links? Read the matching gendn reference ↗