#N canvas 429 82 771 501 12; #N canvas 0 0 450 300 (subpatch) 0; #X array \$0-tab1 100 float 0; #X coords 0 5 99 0 200 300 1 0 0; #X restore 509 72 graph; #X floatatom 70 356 5 0 0 0 - - - 0; #X text 564 378 frequency; #X text 447 360 gain=0; #X obj 97 453 filter-graph2 \$0-tab1; #X text 487 61 5; #X text 504 371 0; #X text 492 302 1; #X obj 241 409 butterworth3~; #X floatatom 263 351 4 0 100 0 - \$0-lf - 0; #X floatatom 310 350 4 85 150 0 - \$0-hf - 0; #X obj 263 377 mtof; #X obj 310 377 mtof; #X text 684 374 5000; #X obj 70 323 filter-graph1 100 5000; #X text 255 329 poles; #X text 307 329 zeros; #X obj 70 294 bng 19 250 50 0 empty empty empty 0 -6 0 8 #dfdfdf #000000 #000000; #N canvas 876 177 279 249 init 0; #X obj 77 23 loadbang; #X obj 77 49 bng 19 250 50 0 empty empty empty 0 -6 0 8 #dfdfdf #000000 #000000; #X obj 77 78 f \$0; #X text 38 174 This subpatch loads initial; #X text 38 193 values in number boxes.; #X msg 77 102 \; \$1-lf 80 \; \$1-hf 150; #X connect 0 0 1 0; #X connect 1 0 2 0; #X connect 2 0 5 0; #X restore 340 452 pd init; #X text 28 57 The butterworth filter can be configured for low-pass \, high-pass \, and shelving \, depending on the placement of the poles and zeros. For low-pass \, the poles are placed to set the cutoff frequency and the zeros are at -1 (the Nyquist). Leaving the poles fixed and moving the zeros then gives shelving filters. In this example \, the actual filtering is relegated to an abstraction ([butterworth3~]) which takes frequencies corresponding to the pole and zero placement., f 60; #X text 28 184 The [butterworth3~] abstraction computes filter coefficients using control messages \, and so it is not suitable for continuously time-varying Butterworth filters. For that \, it is often appropriate to use time-saving approximations \, but precisely which approximations to use will depend on the way the filter is to be used.; #X obj 71 19 cnv 5 5 25 empty empty Butterworth\ Filter 15 13 0 16 #dfdfdf #202020 0; #X connect 1 0 4 0; #X connect 8 0 4 3; #X connect 9 0 11 0; #X connect 10 0 12 0; #X connect 11 0 8 1; #X connect 12 0 8 2; #X connect 14 0 1 0; #X connect 14 1 4 1; #X connect 14 1 8 0; #X connect 14 2 4 2; #X connect 17 0 14 0;