- Home /
Get Audio Parametric Equalizer Effect to code?
Can I somehow get "Audio Parametric Equalizer Effect" from audio mixer to code? So I can edit parameters' values from code? I don't see audio class for this effect, I see classes for low/highpass filters, chorus etc. but not for EQ.
Have you tried using the UnityEngine.Audio namespace?
Add using UnityEngine.Audio;
in your script, I saw that it has Audio$$anonymous$$ixer and Audio$$anonymous$$ixerGroup available.
Audio$$anonymous$$ixerGroup.audio$$anonymous$$ixer.setFloat
maybe has the option to do what you want.
UnityEditor.Audio
has one entry called Audio$$anonymous$$ixerEffectPlugin
but I don't know what it does since there is no documentation for the namespace UnityEditor.Audio.
$$anonymous$$aybe you can get the name of the intern reference of the Parametric EQ through getComponent's name or a similar function?
In the "Debug" Inspector view there is also no info on the effect, it's just an empty name for the object.
Answer by Destroypattern · Mar 09, 2018 at 04:18 PM
I realize this is an old post, but I thought I'd reply with an answer anyway.
You can expose audio parameters at will. So for example, when adding the parametric equalizer effect, click on the Group that the eq is added to. Then in the inspector, right click any parameter you want, and expose the parameter to script.
voila! hope this helps.
Your answer
Follow this Question
Related Questions
Audio signal plug-in? 1 Answer
Is it possible to expose the output of a Unity Audio Mix Bus as an AudioSource? 0 Answers
Manage AudioMixing with Video 0 Answers
Dynamic Audio Mixing? 0 Answers
How to bypass audio effects from script? (AudioMixer) 3 Answers