Unity Audio
End-of-Life Notice for Oculus Spatializer Plugin
This documentation is no longer being updated and is subject for removal.
This guide describes guidelines and resources for creating a compelling VR audio experience in Unity.
If you’re unfamiliar with Unity’s audio handling, we recommend starting with the
Unity Audio guide.
Audio is crucial for creating a persuasive VR experience. Because of the key role that audio cues play in our sense of being present in an actual, physical space, any effort that development teams devote to getting it should be worth the effort, as it will contribute to the user’s sense of immersion.
Meta Quest provides free, easy-to-use spatializer plugins for engines and middleware including Unity, Unreal and native development. Our spatialization features support both Rift and Android development.
Our ability to localize audio sources in three-dimensional space is a fundamental part of how we experience sound. Spatialization is the process of modifying sounds to make them localizable, so they seem to originate from distinct locations relative to the listener. It is a key part of creating presence in virtual reality games and applications.
Meta provides the following audio tools:
- Sound Spatialization Plugins - The Oculus spatialization tools and integrations transform monophonic sound sources to make them sound as though they originate from a specific desired direction. For details of our spatialization features, considerations and limitations see Spatializer Features.
- Synchronization of Avatar Lip Movements Synchronize avatar lips to speech and laughter sounds with Oculus Lipsync.
- Audio Profiling - Use the Oculus Audio Profiling Tool to track audio issues.
- Loudness Meter - Measure the loudness of your audio mix with the Oculus Loudness Meter.
Download and Use Oculus Audio Tools
See the following documents for Meta Quest integrations with popular development tools.
When creating an audio experience for Unity, you should follow these best practices:
- Avoid using Decompress on Load for audio clips.
- Disable Preload Audio Data for all individual audio clips.
Following is a list of Oculus audio tools that you can use with your Unity apps.
Audio input and output automatically use the Rift microphone and headphones unless configured to use the Windows default audio device by the user in the Oculus app. Events OVRManager.AudioOutChanged and AudioInChanged occur when audio devices change, making audio playback impossible without a restart.
- For instructions on using Unity and Wwise with Rift, see Rift Audio in the Native PC Developer Guide.
Tool/Download | Documentation |
---|
| |
| |
Meta Quest provides a plugin spatializer for Wwise.
Tool/Download | Documentation |
---|
| |
The following image shows an example of Wwise.
Oculus provides a plugin spatializer for FMOD Studio.
Tool/Download | Documentation |
---|
| |
The following image shows an example of FMOD Studio.
[DEPRECATED] The Oculus Plugins for Pro Tools and other DAWs are deprecated , please refer to the individual plugin documentation
pages below for Version Compatibility and support.
Oculus provides a plugin for Avid Pro Tools and other Digital Work Stations.
Tool/Download | Documentation |
---|
| |
| |
The following image shows an example of Avid Pro Tools.
Additional Audio Utilities
Download | Summary | Documentation |
---|
| Provides real-time statistics and metrics to track audio performance in apps that use Oculus Spatializer plugins. | |
| A tool that measures the loudness of your app’s audio mix. Loudness goes beyond simple peak level measurements, using integral functions and gates to measure loudness over time in LUFS units. | |
Package | More Info |
---|
| An archive of WAV audio files that includes a variety of sounds including weather, animal sounds, and human vocals. |
| Includes several AmbiX WAV files representing various ambient soundscapes, such as parks, natural environments with running water, indoor ventilation, rain, urban ambient sounds, and driving noises. |
Sound design and mixing is an art form, and VR is a new medium in which it is expressed. Whether you’re an aspiring sound designer or a veteran, VR provides many new challenges and inverts some of the common beliefs we’ve come to rely upon when creating music and sound cues for games and traditional media.
Read the
Introduction to VR Audio white paper for key ideas and how to address them in VR, or see any of the additional topics:
Topic | Description |
---|
| Describes how humans localize sound. |
| Describes spatialization and head-related transfer functions. |
| Describes different listening devices and their advantages and disadvantages. |
| Describes environmental modeling including reverberation and reflections. |
| Now that we’ve established how humans place sounds in the world and, more importantly, how we can fool people into thinking that a sound is coming from a particular point in space, we need to examine how we must change our approach to sound design to support spatialization. |
| As with sound design, mixing a scene for VR is an art as well as a science, and the following recommendations may include caveats. |
| Definitions of technical terms VR audio terms. |