Setup MPTK – Sound Spatialization in Unity

Sound Spatialization is a key component of the player’s immersion. Our ears and brains are highly aware of microscopic delays between the sound received from a source at the left and right ears respectively. Furthermore we are capable of unconsciously interpreting a change in the balance of high frequencies to tell if an object is in front of, behind or even above or below us: Sound is extremely important in our daily navigation, we just maybe don’t notice it that much! (extracted from Unity Doc, see here for all the text).

Midi Player Tool Kit has been tested with these spatializers:

  • Microsoft HRTF Spatializer (supports UWP and PC running Windows 10).
  • Oculus Spatializer (supports Android, OSX, and PC).

Depending of Unity version, Spatialization plugins must be installed with the package manager. Have a look here for 2019 or here for 2017. Go to Unity menu “Window->PackageManager”:

  • For the Microsoft spatializer, search for “Mixed Reality” and install the “Windows Mixed Reality” Package.
  • For the Oculus Spatializer, search for “Oculus” and install the Oculus Package for your target platform.

After these steps, you’ll be able to select the spatializer plugins from the Unity menu “Edit->ProjectSettings->Audio”.

Tip: to really appreciate sound spatialization, use an headphone!

Have a look here for understanding how to integrate Spatialization in Midi Player Tool Kit.