[PD] FIR filter design

Krzysztof Czaja czaja at chopin.edu.pl
Sat Aug 24 15:52:49 CEST 2002

hi João,

there used to be a crash-case of sending a 'find' message to
a closed window, corrected in one of .35 test versions.  Not sure
if the fix has been equally enough for linux and msw.

Just sending the 'vis 0' (without the following 'find', 'cut',
etc.) is not known to produce crashes, at least it is not
reproducible here.

Could you please describe your case better, like including info
about an os, pd version, and, possibly, a context?


btw, the `normal' way of applying a fir filter would be to read ir
from an array by a specialized object like buffir~ of msp (not yet
in sickle, sorry:).  But, anyway, for modeling the `normal' filter
parameters, I would suggest designing iir filters with biquad~.

João M Pais wrote:
 > I am writing a patch for FIR filter design in the old way, by realizing the
 > formula y(n)=a(n)+b(n-1)+c(n-2)+...+?(n-??) with z~. All the work is ready,
 > but I am just missing the designs. I wanted to make also some presets and
 > the ability to design the filter from normal parameters (type, cutoff freq,
 > etc). Does anybody knows how to make the calculus for FIR filters, to know
 > the equation?
 > By the way, there is a bug in the dynamic instructions: when the instruction
 > "vis 0" is given to a already closed subpatch, the program crashes.

More information about the Pd-list mailing list