Immersive audio is particularly important in an era where games are mainstream and virtual reality is quickly catching on, but there isn’t a common framework for it. What works on your PC may be useless on your phone. Google wants to fix that: it’s launchingResonance Audio, an open source developer toolkit that brings spatial audio to games, VR, AR and 360-degree video across many devices and platforms: Android, iOS, macOS, Linux and Windows are all covered. The technology borrows from Google’s VR Audio kit to spatialize “hundreds” of 3D sound sources in real time, even on low-powered hardware like your smartphone. And depending on where it’s running, it can even produce clever effects with a relatively low performance hit.
On all platforms, Resonance Audio not only offers control over where audio is coming from, but how it propagates. You can narrow its spread, for example, or make it so that sounds are louder when you’re facing an object. It’ll automatically create near-field effects as you approach a source, which can be critical in VR apps where positional audio is everything. The technology works with multiple engines (including Unreal Engine and FMOD), but there’s a particular advantage if you’re building with Unity: you can precalculate reverberation effects for a given environment (say, an echo-filled hall) so that they won’t chew up too much processing power.