Hello everybody,
I am trying to use FMOD_DSP_TYPE_MULTIBAND_EQ to create an equalizer in order to flaten the magintues of the FFT to get equal loudness in every frequency (band).
Lets say I know the frequency bands and the gain factors for each band.
However, I dont know how to set this up in the source code?
I start with:
fsystem->createDSPByType(FMOD_DSP_TYPE_MULTIBAND_EQ, &dsp_Speaker0_PN_equalizer);
–> HOW to Proceed?
Thank you very much!
You can set the various properties of a DSP (depending on the type) using:
DSP::setParameterFloat
DSP::setParameterInt
DSP::setParameterBool
DSP::setParameterData
The built in DSP’s have enum’s available for their properties to make things a bit easier:
https://fmod.com/resources/documentation-api?page=content/generated/FMOD_DSP_MULTIBAND_EQ.html#/
Our DSP Plugin API docs do have some info on this topic, under ‘Plug-in Parameters’:
https://fmod.com/resources/documentation-api?page=content/generated/overview/plugin_api_dsp.html#/