Hello E2E,
I am calculating biquad coefficients (for tuning filters) on the fly and applying them through DSPF_sp_biquad() on C6713 DSK. It is partially working.
The audio output is clean when the application starts with a[ ] and b[ ] = 1.0f. When the new set of coefficients are applied:
1. I hear clicks in the output. The sine wave output is not smooth.
2. The sine sweep on Audio Precision is intelligible for given Fc, gain and Q, but towards the lower frequency (below 1kHz) I don't see the clean bell-shape curves.
The filter function is as below:
a. DSPF_q15tofl(...);
b. DSPF_sp_biquad(...);
c. DSPF_fltoq15(...);
So far I have tried scaling the input, scaling the coeffs, optimization (-o3) and HWI_disable/enable, but no luck in getting rid of the noise.
Is there any initialization required before calling DSPF_sp_biquad() before applying the new set of coeffs? What am I missing? Greatly appreciate a sooner response. Kindly let me know if you need more info.
Thanks,
Sach
