Setup MPTK – Sound Spatialization in Unity

This page explains how to setup Spatialization in Unity. On top of that, looks at these pages to understand how build spatialization solutions with Midi File Player Tool Kit.

  • Look here for understanding how to build a Multi Sound Spatialization solution with Midi Player Tool Kit Pro.
  • or here to defined the core spatialization mode with Midi Player Tool Kit Free.

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).

See here for setup spatialization with Unity:

On top of that, depending of Unity version, Spatialization plugins must be installed with the package manager.

  • 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 / Project Settings / Audio”.

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