#N canvas 432 96 786 474 12;
#N canvas 0 50 450 300 (subpatch) 0;
#X array \$0-amp 100 float 0;
#X coords 0 2 99 0 200 140 1 0 0;
#X restore 520 70 graph;
#N canvas 0 50 450 300 (subpatch) 0;
#X array \$0-phase 100 float 2;
#X coords 0 6.283 100 0 200 140 1 0 0;
#X restore 525 271 graph;
#X text 502 127 1;
#X text 501 336 pi;
#X text 494 266 2pi;
#X obj 69 298 bng 19 250 50 0 empty empty empty 0 -6 0 8 #dfdfdf #000000 #000000;
#X floatatom 69 362 4 0 0 0 - - - 0;
#X text 502 63 2;
#X floatatom 291 308 5 0 10000 0 - \$0-freq - 0;
#X floatatom 300 351 4 0 999 0 - \$0-q - 0;
#X obj 69 327 filter-graph1 100 44100;
#X obj 282 381 bp~;
#X text 100 364 index;
#X text 93 298 <-- compute;
#X text 333 307 <-- center frequency, f 10;
#X text 335 350 <-- "Q";
#N canvas 704 433 298 247 init 0;
#X obj 47 27 loadbang;
#X obj 47 51 bng 19 250 50 0 empty empty empty 0 -6 0 8 #dfdfdf #000000 #000000;
#X obj 47 80 f \$0;
#X text 61 187 This subpatch loads initial;
#X text 64 207 values in number boxes.;
#X msg 47 104 \; \$1-freq 3000 \; \$1-q 3;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 2 0 5 0;
#X restore 350 410 pd init;
#X text 55 71 You can use the [filter-graph1] and [filter-graph2] abstractions as shown to test filters. Connect them as shown with a filter between them. Try varying the parameters and/or substituting other filters., f 51;
#X text 55 139 [filter-graph1] takes as arguments the number of points to graph and the frequency range \, while [filter-graph2] takes as arguments the name of a table to hold the (frequency dependent) gain \, and another \, if specified \, for the phase., f 51;
#X text 505 398 0;
#X text 517 212 0 Hz;
#X text 700 212 44100 Hz;
#X text 503 199 0;
#X obj 82 419 filter-graph2 \$0-amp \$0-phase;
#X text 517 417 0 Hz;
#X text 700 417 44100 Hz;
#X obj 29 25 cnv 5 5 25 empty empty Measuring\ Filter\ Frequency/Phase\ Response 15 13 0 16 #dfdfdf #202020 0;
#X text 55 225 You can edit this patch to replace [bp~] with any other filter you're curious about. Try \, for instance \, [vcf~] and [bob~]., f 51;
#X connect 5 0 10 0;
#X connect 6 0 23 0;
#X connect 8 0 11 1;
#X connect 9 0 11 2;
#X connect 10 0 6 0;
#X connect 10 1 11 0;
#X connect 10 1 23 1;
#X connect 10 2 23 2;
#X connect 11 0 23 3;
