Spatial panning
Move a source from left to right through three-dimensional space.
ready
node examples/spatial.js -d 5sLoading source…
- Graph
- Oscillator → Panner → Gain → Destination
- Input
- Position curve, duration
- Output
- Spatialized audio
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.