Vibe Coding Encyclopedia

Spatial audio with PannerNode

PannerNode gives the sound a 3D spot and moves the position over time. When the ball flies from left to right, the sound moves from left ear to right ear.

Category
Sound

Technical terms · Spatial audio — Web Audio PannerNode · HRTF panning model · AudioParam automation (linearRampToValueAtTime) · StereoPannerNode

Related techniques

Technique document (Korean)