# Spatial Audio 3D positional sound with distance attenuation. ```{raw} html 📄 Docs only ``` **Tags:** `audio` `3d` `spatial` ## What it demonstrates - `AudioPlayer3D` attached to a moving mesh so the mix pans and attenuates with distance. - `AudioListener3D` parented under the `Camera3D`, so the camera pose is the ear. - A procedurally generated looping tone via `AudioClip.tone()` (no external asset). - Live spatial state: listener->source distance changes as the source orbits the listener. ## Source ```{literalinclude} ../../examples/features/audio/spatial.py :language: python :linenos: ```