Hi all,

I am using the biquad_vec function to process a number of samples with a biquad at a time.

I calculated filter coefficients for a low pass at 500Hz like this

b0 = 0.00102276 b1 = 0.00204552 b2 = 0.00102276

a0 = 1 a1 = -1.90665 a2 = 0.910737

What is the coeffs declaration supposed to look like, then?

float pm coeffs[5]={...};

Best regards,

Rainer

Hi Rainer,

It should be like b2,b1,b0,a2,a1.

It is understood that a0 is 1 in the biquad library.

Thanks

Deepa