0
0

Hi !
I m trying to do a simple EQ ( 10 bands, from 80 to 16 khz like winamp) and i ve a pb with it. Each time i update a center frequency ( let’s say 310), the EQ updates this range correctly. But when i update a different range (just after), the EQ is reseted and only update the new range, ingoring the last range i ve just updated (mmmhh am i clear ?). The result is this doesn’t sound good and not the way it would, is it possible to set an index of 10 handle to a channel and then update them like in BASS soundsystem (i ve tested my code with BASS and it works well) ? Thanx in advance :smile:

  • You must to post comments
0
0

Arf ! sorry :smile:
With the bass sound system, using DX8 effect return us a handle (not TRUE) and then we can play with it. If we have a channel handle, we can then set more than one DX effect to one channel, each function calls returning a handle. Exemple :

int fx[4];
BASS_FXPARAMEQ p;

fx[0]=BASS_ChannelSetFX(chan,BASS_FX_PARAMEQ)
fx[1]=BASS_ChannelSetFX(chan,BASS_FX_PARAMEQ)
fx[2]=BASS_ChannelSetFX(chan,BASS_FX_PARAMEQ)

p.fGain=0;
p.fBandwidth=18;
p.fCenter=125;
BASS_FXSetParameters(fx[0],&p);
p.fCenter=1000;
BASS_FXSetParameters(fx[1],&p);

and so on …

Here, if i want to change the EQ value, i just have to change the index handle (from 0 to n band), it is simple and work. I can’t do such thing with fmod, if i set a new value for 80 hz (for exemple), other center frequencies are not taken in count. Mmmhh am i more comprehensible ?

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.