Version: Unity 6.7 Alpha (6000.7)
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
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961