Shows how to play spatialized audio with Magnum.
The audio scene includes a 3D sound source and a (default) listener, which are visualized as a sphere and a box respectively, the listener initially facing the sound source. The sound source can be moved around the listener using the keyboard.
- Right / Left — rotate source on the Y axis
- Up / Down — rotate source on the local X axis
- Page Up / Page Down — move the source away/towards the listener
This example was originally contributed by Jonathan Hale. The sound file used is a Chimes Sound Effect from http:/
Full source code is linked below and together with assets also available in the magnum-examples GitHub repository.