Say I create an event in FMOD Designer, add a new effect like FMOD Lowpass, but leave it disabled (turn off effect by clearing checkbox).
How would I go about turning this effect on/off at runtime?
I suspect it has something to do with adding/removing DSP’s, but it’s not clear how to go about this. I was hoping to find an FMOD::Event method to achieve this, perhaps getEffect or something similar..
- Jade_Lee asked 9 years ago
To access the effect could be difficult, but you would do it via the Event::getChannelGroup interface. You would then scan the subtree of the DSP network (using ChannelGroup::getDSPHead , DSP::getNumInputs, DSP::getInput) to find the dsp effect, and only then could you bypass it.
Please login first to submit.