Hi,
I find there maybe a bug in the biquad function and I don't know how to fix it.
I use the SigmaStudio to generate biquad coefficients. I choose Param EQ model and set the filter as below.
Then I can get the biquad coefficients from the capture window.
This is a peaking filter, the frequency is 20Hz, Q is 15, Boost is -10dB.
I checked the coefficients in Matlab and in ADAU1452, there's no problem in the output wave.
In CCES, I use the same coefficients in the biquad function, and the SAMPLES defined in my code is 12.
The biquad input is 20Hz sine wave and the result after biquad filter is that there will be some noise mixed in the output wave.
The noise is easy to be created when the Q is set big and and the frequency is set low.
20Hz sine wave input
biquad output