#N canvas 428 33 555 550 10;
#X obj -1 779 cnv 15 552 21 empty \$0-pddp.cnv.footer empty 20 12 0
14 -233017 -33289 0;
#X obj -1 384 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlets 8 12 0 13
-228856 -1 0;
#N canvas 613 283 362 275 META 0;
#X text 11 161 WEBSITE http://crca.ucsd.edu/~msp/;
#X text 11 -23 LICENSE SIBSD;
#X text 11 142 AUTHOR Miller Puckette;
#X text 11 180 RELEASE_DATE 1997;
#X text 11 123 LIBRARY cyclone;
#X text 11 199 HELP_PATCH_AUTHORS Alex Cleveland updated this patch
for Pd-l2ork version 2013.05.28;
#X text 11 104 OUTLET_0 signal;
#X text 11 47 INLET_1 flaot signal;
#X text 11 66 INLET_2 float signal;
#X text 11 -42 KEYWORDS signal bandpass filter gain frequency;
#X text 11 -4 DESCRIPTION bandpass filter controllable by center frequency
and Q;
#X text 11 28 INLET_0 signal;
#X text 11 85 INLET_3 float signal;
#X restore 501 781 pd META;
#X obj -1 554 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlets 8 12 0
13 -228856 -1 0;
#X obj -1 591 cnv 3 550 3 empty \$0-pddp.cnv.argument arguments 8 12
0 13 -228856 -1 0;
#X obj -1 660 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 8
12 0 13 -228856 -1 0;
#N canvas 320 447 428 109 Related_objects 0;
#X obj 0 0 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0
14 -204280 -1 0;
#X text 6 1 Related Objects;
#X restore 202 781 pd Related_objects;
#X obj 81 393 cnv 17 3 17 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856
-162280 0;
#X obj 81 509 cnv 17 3 33 empty \$0-pddp.cnv.let.0 3 5 9 0 16 -228856
-162280 0;
#X obj -1 0 cnv 15 552 40 empty \$0-pddp.cnv.header reson~ 3 12 0 18
-204280 -1 0;
#X obj 486 10 reson~;
#X text 12 23 Bandpass filter controllable by center frequency and
Q;
#X text 110 393 signal;
#X text 207 393 - input signal to send through bandpass filter;
#X obj 81 420 cnv 17 3 33 empty \$0-pddp.cnv.let.0 1 5 9 0 16 -228856
-162280 0;
#X obj 81 464 cnv 17 3 33 empty \$0-pddp.cnv.let.0 2 5 9 0 16 -228856
-162280 0;
#X obj 81 564 cnv 17 3 17 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856
-162280 0;
#X text 110 481 float;
#X text 207 427 - set gain;
#X text 110 462 signal;
#X text 207 473 - center frequency;
#X text 110 438 float;
#X text 110 418 signal;
#X text 110 528 float;
#X text 110 509 signal;
#X text 207 520 - set Q \, the range;
#X text 110 564 signal;
#X text 207 564 - filtered output;
#X text 91 600 1) float;
#X text 207 600 - initial gain;
#X text 91 617 2) float;
#X text 91 633 3) float;
#X text 207 617 - initial center freq;
#X text 207 633 - initial range;
#X text 105 674 reson~ implements the following filter equation: y[n]
= gain * (x[n] - r * x[n-2]) + c1 * y[n-1] + c2 * y[n-2] \, where r
\, c1 \, and c2 are parameters calculated from the input center frequency
and Q. Q is the filter bandwidth divided by center frequency. Inputs
can be floats or signals. The specification is similar to the nres
unit generator in cmusic.;
#X obj 63 344 dac~;
#X obj 63 305 *~ 0.2;
#X floatatom 150 226 0 0 0 0 - - -;
#X msg 122 156 200 \, 10000 4000;
#X obj 64 83 noise~;
#X text 161 254 optional arguments set values of gain \, center frequency
\, and Q (default 0 \, 0 \, 0.01);
#X obj 63 256 reson~ 1 200 23;
#X obj 122 179 Line~ 200;
#X floatatom 92 125 0 0 0 0 - - -;
#X obj 474 49 pddp/dsp;
#X text 228 156 <--list sets gain \, cf \, q (works unless there are
any signal inputs for filter parameters);
#X text 174 225 Try range of 1-100;
#X text 150 206 Q:;
#X text 120 136 center freq:;
#X text 89 104 gain:;
#X text 61 60 input signal:;
#X obj 9 779 pddp/pddplink @pd_help/all_about_help_patches.pd -text Usage Guide
;
#X connect 36 0 35 0;
#X connect 36 0 35 1;
#X connect 37 0 41 3;
#X connect 38 0 42 0;
#X connect 39 0 41 0;
#X connect 41 0 36 0;
#X connect 42 0 41 2;
#X connect 43 0 41 1;
