Re: [PD] poles, zeros and gain

2008-04-14 Thread martin brinkmann
Isidro Gonzalez wrote: so is it possible to get the gain from the poles and zeros, without calculating all coefficients? Of Course it is. You must evaluate the transfer function of the filter in the unit circle. For a nice explanation on how to do this and some C code samples, see:

[PD] poles, zeros and gain

2008-04-12 Thread martin brinkmann
hi pd-list! i have recently tried to build some filters using cpole and czero, not completely unsuccessfull (at least the lowpass sounds somewhat like a lowpass...), but i have a problem calculating the right gain (or attenuation) factor. for the lp it seems to work more or less (ok for a

Re: [PD] poles, zeros and gain

2008-04-12 Thread Isidro Gonzalez
so is it possible to get the gain from the poles and zeros, without calculating all coefficients? Of Course it is. You must evaluate the transfer function of the filter in the unit circle. For a nice explanation on how to do this and some C code samples, see: Elements of Computer Music by F.