Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Audio Audio Spatialization SDK

Discussion in '5.2 Beta' started by dpesce, Jul 29, 2015.

  1. dpesce

    dpesce

    Joined:
    Jul 29, 2015
    Posts:
    3
    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?
     
  2. alperg

    alperg

    Official Google Employee

    Joined:
    Jun 17, 2015
    Posts:
    3
    +1. Any updates on this?
     
  3. MrEsquire

    MrEsquire

    Joined:
    Nov 5, 2013
    Posts:
    2,712
    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.
     
  4. janm_unity3d

    janm_unity3d

    Unity Technologies

    Joined:
    Jun 12, 2012
    Posts:
    36
    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.
     
    jashan likes this.
  5. dpesce

    dpesce

    Joined:
    Jul 29, 2015
    Posts:
    3
    Thank you for the precisions. I'll take a look to it.