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.
The native audio plug-in system consists of two parts:
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.
Topic | 描述 |
---|---|
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.
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.