Hi, hopefully you can point me in the right direction for this.
I’d like to modulate a DSP parameter over time, for example the cutoff frequency for a filter. What’s the best way to do this with FMOD? Is there a way to chain the output values from another DSP effect (like tremolo) as input to a second DSP effect? i.e. use a DSP effect as a controller rather than processing audio itself?
Is there a way to create custom DSP effects?
Any pointers would be appreciated. Thanks!
- graham.mcd asked 7 years ago
Thanks for the feedback.
I’m currently using DSP::setParameter to affect param values, but this approach is limited by the framerate. I’m hoping to find a way to achieve modulation of parameters at a much higher frequency because the per-frame update approach only gets good sounding results at low frequencies.
I did find the custom DSP example, thanks. Ideally it would be great to not need to reinvent the wheel and write a new filter just to be able to add modulation… what I’m looking for is whether there’s a way to affect a DSP variable at high resolution – like applying the modulation from the tremolo effect to the cutoff frequency of a low pass filter.
- graham.mcd answered 7 years ago
You can modulate the parameters of a dsp with DSP::setParameter.
I never did the kind of chaining you’re describing but it seems possible. Check out the "FMod Ex advanced DSP engine" section on the documentation. It might help you with that.
For custom DSP check the example at "FMOD Programmers API\examples\dsp_custom". It comes with fmod.
- JoseCastro answered 7 years ago
Please login first to submit.