The Unity native audio plug-in SDK lets you develop custom audio plug-ins for Unity. You can use this SDK to extend the audio capabilities of Unity and create advanced audio processing solutions tailored to your project’s needs. Examples of custom audio plug-ins you can create include audio effects and audio spatializers.
ネイティブオーディオプラグインシステムは、2 つの部分から構成されます。
The native audio Digital Signal Processing (DSP) plug-in
The managed graphical user interface (GUI)
Refer to the following pages to learn more about how to create an audio plug-in, customize the plug-in’s GUI, and access useful examples.
トピック | 説明 |
---|---|
Develop a native audio DSP plug-in for Unity | Learn how to create your own native DSP plug-in. |
Customize the Unity GUI for your audio plug-in | Learn how to customize the GUI of your audio plug-in. |
Import your audio plug-in and GUI to Unity | Learn how to prepare your plug-in and GUI for Unity and import them. |
Example plug-ins | Example DSP plug-ins with and without GUI customization. |
The AudioPluginInterface.h
file has the necessary structures, types, and function declarations required to create a custom audio plug-in.
Both native DSP and GUI DLLs can contain multiple plug-ins. To add multiple plug-in effects within the same DLL, Unity provides additional code to handle the effect definition and parameter registration in a unified manner:
AudioPluginUtil.h
AudioPluginUtil.cpp
If you want your DLLs to contain multiple effects, include AudioPluginUtil.h
in your code.