Ask Learn Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Through this module series, you'll learn how to use spatial audio on HoloLens 2 with the Microsoft Spatializer plugin. The MixedRealityLearning repository has a completed Unity project of this tutorial sequence.
In this section, you'll create a new Unity project and get it ready for MRTK development.
First, follow the steps in this tutorial, excluding the Build your application to your device instructions. This includes the following steps:
Download the Mixed Reality Feature Tool from the Microsoft Download Center.
Select the Microsoft Spatializer component from the Spatial Audio group and integrate the plugin into your project using the Get Features button.
After importing the Microsoft Spatializer, you need to enable it. Open Edit > Project Settings > Audio and change Spatializer Plugin to Microsoft Spatializer.
On desktop versions of Windows, Spatial audio is disabled by default. Enable it by right-clicking the volume icon in the taskbar to get to sound settings. From there, navigate to More sound settings > Properties > Spatial sound. To get the best representation of what you'll hear on HoloLens 2, choose Windows Sonic for Headphones. Select Apply, then select OK.
:::image type="content" source="../media/spatial-audio-settings.png" alt-text="Screenshot of Desktop spatial audio settings." lightbox="../media/spatial-audio-settings.png":::
Note
This setting is only required if you plan to test your project in the Unity editor.
Having an issue? We can help!
Please sign in to use this experience.
Sign in