Version: Unity 6.6 Alpha (6000.6)
Language : English
Introduction to ambisonic audio decoders
Audio Reference

Develop an ambisonic audio decoder

Develop a custom ambisonic audio decoder to decode the ambisonic audio format into a specific output format, such as stereo or surround sound.

Refer to Introduction to ambisonic audio decoders for information about decoders.

Steps to follow

Follow these steps to develop your own ambisonic audio decoder plug-inA set of code created outside of Unity that creates functionality in Unity. There are two kinds of plug-ins you can use in Unity: Managed plug-ins (managed .NET assemblies created with tools like Visual Studio) and Native plug-ins (platform-specific native code libraries). More info
See in Glossary
for Unity:

  1. Create a custom audio plug-in using the Native audio plug-in SDK.

  2. Set a flag in the description bit-field of the effect:

    definition.flags |= UnityAudioEffectDefinitionFlags_IsAmbisonicDecoder;
    
  3. When you’re done configuring your plug-in, compile your file. Make sure it compiles on your preferred platforms.

  4. Optionally, convert your file to a .dll file.

  5. Move your plug-in file into your Unity project’s Asset folder.

For more information on how to work with your ambisonic audio plug-in in Unity, refer to Ambisonic Audio.

Additional resources

Introduction to ambisonic audio decoders
Audio Reference