#N canvas 85 42 584 362 12;
#X obj 124 11 bp~;
#X text 149 11 - BANDPASS FILTER;
#X obj 70 263 env~;
#X floatatom 70 283;
#X floatatom 104 193;
#X obj 12 261 env~;
#X floatatom 12 282;
#X text 114 263 env~ gives the amplitude of the signal envelop in dB.;
#X floatatom 12 123;
#X msg 452 58 \; pd dsp 0;
#X obj 12 146 osc~ 100;
#X text 57 121 <-- scroll to change input frequency;
#X msg 72 170 clear;
#X text 116 169 <-- reinitialize internal state;
#X text 382 342 updated for Pd version-0.30;
#X msg 452 24 \; pd dsp 1;
#X text 9 68 The left inlet is the incoming audio signal \, the middle control input sets center frequency and the rigth input sets "Q".;
#X text 136 194 <-- center frequency;
#X obj 72 241 bp~ 100 10;
#X text 157 239 Arguments initialize center frequency and Q.;
#X text 12 301 Compare the amplitude of the original signal on the left with the amplitude of the filtered signal on the right.;
#X floatatom 137 216;
#X text 169 217 <-- Q;
#X text 12 39 bp~ passes a sinusoid at the center frequency at unit gain (approximately). Other frequencies are attenuated.;
#X connect 2 0 3 0;
#X connect 4 0 18 1;
#X connect 5 0 6 0;
#X connect 8 0 10 0;
#X connect 10 0 5 0;
#X connect 10 0 18 0;
#X connect 12 0 18 0;
#X connect 18 0 2 0;
#X connect 21 0 18 2;
