# Hi, here is an abstraction that I made when I was learning about filters and resonances. I used [fexpr~] but now I know using a [biquad] will be more efficient and simple. # But in this implementation you can't set the resonance at audio rate, it accepts control messages. -ugur guney-
On 2/14/07, Vreahli the Audio Bandit <[EMAIL PROTECTED]> wrote:
Hiya. Okay - so here's the skinny. I set out about a half hour ago to figure out how to set up a 2 pole low pass filter with resonance in Puredata. Looks like that's apparently set up with a biquad~ filter. I read through the rather handy looking information over here at http://www.musicdsp.org/files/Audio-EQ-Cookbook.txt. I came out of that a bit more confused than when I went in. I also bumped in to http://www.creativesynth.com/MAXMSP/001-SynthBuildingMSP/sbm_03.html - which left me drooling quite a bit more than when I went in. Is there any way to set up a LPF with a live-tweakable audio rate resonance and frequency setting while avoiding doing the biquad math by hand? I can't even figure out how to get my computer to crunch those numbers for me. Thanks in advance for helping me out with this seemingly simple yet convoluted question. _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
#N canvas 612 95 547 475 10; #X floatatom 298 168 5 0 0 0 - - -; #X floatatom 66 165 5 0 0 0 - - -; #X floatatom 298 256 5 0 0 0 - - -; #X floatatom 60 250 5 0 0 0 - - -; #X obj 22 302 fexpr~ ($x[0] + ($f2+2*$f3)*$y[-1] - $f3*$y[-2])/(1+$f2+$f3) ; #X obj 298 223 expr 1000/$f1; #X obj 66 222 expr 100/($f1*sqrt($f2))-1; #X obj 134 23 loadbang; #X obj 257 96 f \$1; #X obj 36 88 f \$2; #X obj 257 119 sel 0; #X msg 257 144 100; #X obj 36 110 sel 0; #X msg 36 134 1; #X obj 23 274 inlet~; #X obj 23 337 outlet~; #X obj 105 120 inlet; #X obj 132 47 t b b b; #X obj 213 195 t b f; #X msg 176 82 1 1; #X obj 357 115 inlet; #X connect 0 0 5 0; #X connect 0 0 18 0; #X connect 1 0 6 0; #X connect 4 0 15 0; #X connect 5 0 2 0; #X connect 5 0 4 2; #X connect 6 0 3 0; #X connect 6 0 4 1; #X connect 7 0 17 0; #X connect 8 0 10 0; #X connect 9 0 12 0; #X connect 10 0 11 0; #X connect 10 1 0 0; #X connect 11 0 0 0; #X connect 12 0 13 0; #X connect 12 1 1 0; #X connect 13 0 1 0; #X connect 14 0 4 0; #X connect 16 0 8 0; #X connect 17 0 9 0; #X connect 17 1 8 0; #X connect 17 2 19 0; #X connect 18 0 6 0; #X connect 18 1 6 1; #X connect 19 0 6 0; #X connect 20 0 6 0;
#N canvas 309 332 462 312 10; #X obj 96 39 noise~; #X obj 94 188 dac~; #X floatatom 145 88 5 0 0 0 - - -; #X floatatom 195 89 5 0 0 0 - - -; #X obj 95 115 lopreson~ 100 1; #X text 141 71 cutoff; #X text 209 71 Q; #X text 82 23 input signal; #X connect 0 0 4 0; #X connect 2 0 4 1; #X connect 3 0 4 2; #X connect 4 0 1 0; #X connect 4 0 1 1;
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
