hi!
i use a 4-band eq from the bass_fx-lib. i use the same values like in the c-samples (but with 4 instead of 3 bands) but if i update the eq-dsp the sound-volume is boosted, so i get i nice fuzzy distortion, wich is not allways wanted ;o)
so i do the same as in the demo-code (wich works fine!)
calling 4 times BASS_FX_DSP_Set for each band,
setting the eq-gain to 0.0f - everything works fine.
if i call an update function to change the band-eq like
void CPlayer::SetEqBand(int nBand, int nValue) {
BASS_FX_DSPPEAKEQ eq; // dsp peaking equalizer
eq.lBand = nBand; // get values of the selected band
BASS_FX_DSP_GetParameters(hChan, BASS_FX_DSPFX_PEAKEQ, &eq);
if(eq.fGain != (float)(10 - nValue)) {
eq.fGain = (float)(10 - nValue);
BASS_FX_DSP_SetParameters(hChan, BASS_FX_DSPFX_PEAKEQ, &eq);
TRACE("%i %i\n", nBand, nValue);
}
}
the sound is boosted. even if the fgain-value is zero...
someone has an idea???