# FMOD\_DSP\_TYPE\_MULTIBAND\_EQ - How to Equalize Magnitudes of FFT

**URL:** https://qa.fmod.com/t/fmod-dsp-type-multiband-eq-how-to-equalize-magnitudes-of-fft/13969
**Category:** FMOD Engine
**Created:** [June 26, 2018, 10:14am UTC](https://qa.fmod.com/t/fmod-dsp-type-multiband-eq-how-to-equalize-magnitudes-of-fft/13969 "2018-06-26T10:14:20Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Klabauk](https://avatars.discourse-cdn.com/v4/letter/k/d2c977/32.png) [@Klabauk](https://qa.fmod.com/u/Klabauk)
#### Post date: [June 26, 2018, 10:14am UTC](https://qa.fmod.com/t/fmod-dsp-type-multiband-eq-how-to-equalize-magnitudes-of-fft/13969/1 "2018-06-26T10:14:20Z")

</div>

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!

---

<div class="post-metadata">

### Author: ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)
#### Post date: [June 29, 2018, 5:28am UTC](https://qa.fmod.com/t/fmod-dsp-type-multiband-eq-how-to-equalize-magnitudes-of-fft/13969/2 "2018-06-29T05:28:06Z")

</div>

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#/](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#/](https://fmod.com/resources/documentation-api?page=content/generated/overview/plugin_api_dsp.html#/)
