Forums > MaxMSP

filter coefficients for biquad

February 3, 2011 | 1:03 pm

Hi all,
I’m studying the coefficients for a basic recursive LOW PASS filter (see Dodge’s book p. 210) and I’m using a0 and b1 coefficients of biquad object.

I made some experiment using an impulse as input signal, in order to verify the impulse response of the filter.

I notice in the LOW PASS filter the b1 coefficients is always a negative number, this means the first delay of the impulse should be negative (out of phase)… but the impulse response is always positive!

Does someone knows why the impulse response is always positive, although the b1 coefficient is negative?

Thanks in advance.
Federico


February 3, 2011 | 5:28 pm

Internally the b coefficients are negated, so setting the value 0.99 would effectively mean -0.99. The filter formula in the help does somehow suggest it, but it is not clearly stated. You can try that out with the patch below.

_
johan

– Pasted Max Patch, click to expand. –

February 3, 2011 | 8:32 pm

ooohhh, now I understand!!!!
Thank you very much Johan.
best
federico


Viewing 3 posts - 1 through 3 (of 3 total)