Audio Spatialization SDK

I can’t find any documentation or API definition for the audio spatialization SDK. Is there any information available? Is this API concerns only the renderer or does it extends the native audio plugin SDK?

+1. Any updates on this?

The Audio Spatialization SDK is an extension of the Native Audio Plugin SDK which allows adding custom spatialization processors that can be applied to AudioSources to give a more immersive experience of audio playing behind, above, or below the player. Note that the extension by itself doesn’t provide any spatialization processors, but simply provides a minimal-overhead native interface for 3rd parties to support such functionality. See the asset store for existing solutions that may benefit from this system.

Hi dpesce, the manual documentation has been written and will be ready for the 5.2 release. In the meantime you can check out the official download site for the native audio plugin SDK of which the spatializer is a subset: https://bitbucket.org/Unity-Technologies/nativeaudioplugins – it contains a simple example implementation of a spatialization plugin based on the KEMAR impulse responses. Since this is an example it’s not optimized for performance and also has a few artifacts when moving quickly. Its main purpose is to show how to read the spatializer meta data such as source and listener position and how to apply the other audio source parameters correctly (spatial blend, spread, stereo pan) as spatializer plugins pretty much take over the whole panning from the source into the stereo field that Unity would have otherwise done.

1 Like

Thank you for the precisions. I’ll take a look to it.