Spatial panning
Move a source from left to right through three-dimensional space.
npx web-audio-api spatial -d 5s
Loading source…
This is a 3D spatial audio panning example built on PannerNode and AudioListener: a source moves through three-dimensional space from left to right. Try it in the browser, or render the same spatialized graph from the Node CLI.