#N canvas 430 91 630 559 12;
#X floatatom 114 177 0 0 0 0 - - -;
#X obj 61 92 osc~ 100;
#X msg 77 124 clear;
#X obj 120 508 lop~;
#X text 37 508 see also:;
#X text 397 490 updated for Pd version-0.38;
#X obj 128 447 rzero~;
#X obj 63 471 cpole~;
#X obj 63 447 rpole~;
#X obj 192 447 rzero_rev~;
#X obj 128 471 czero~;
#X obj 192 471 czero_rev~;
#X text 290 447 real;
#X text 289 472 complex;
#X text 61 426 1-pole;
#X text 126 427 1-zero;
#X text 190 426 1-zero \, reversed;
#X text 85 408 summary of raw filters:;
#X msg 85 150 set 1;
#N canvas 393 91 326 287 test 0;
#X obj 76 78 osc~;
#X floatatom 76 55 5 0 0 0 - - -;
#X obj 77 219 env~ 16384;
#X floatatom 77 243 5 0 0 0 - - -;
#X obj 104 107 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
1;
#X obj 76 105 *~;
#X msg 97 137 set 1;
#X floatatom 172 157 4 -100 100 0 - - -;
#X obj 172 182 / 100;
#X obj 214 256 dac~;
#X obj 228 177 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
1;
#X obj 214 220 *~;
#X obj 230 197 / 10;
#X text 80 18 Stuff to test it:;
#X obj 76 168 rzero~;
#X connect 0 0 5 0;
#X connect 1 0 0 0;
#X connect 2 0 3 0;
#X connect 4 0 5 1;
#X connect 5 0 14 0;
#X connect 6 0 14 0;
#X connect 7 0 8 0;
#X connect 8 0 14 1;
#X connect 10 0 12 0;
#X connect 11 0 9 0;
#X connect 11 0 9 1;
#X connect 12 0 11 1;
#X connect 14 0 2 0;
#X connect 14 0 11 0;
#X restore 462 419 pd test;
#X text 164 508 etc.: user-friendly filters;
#X obj 60 7 rzero~;
#X text 122 7 real one-zero (non-recursive) filter \, raw;
#X text 34 35 Rzero~ filters an audio signal (left inlet) via a one-zero
real filter \, whose coefficient is controlled by a creation argument
or by an audio signal (right inlet).;
#X obj 61 202 rzero~ 1;
#X text 34 277 where y[n] is the output \, x[n] the input \, and a[n]
the filter coefficient. The filter is always stable.;
#X text 35 313 The transfer function is H(Z) = 1 - aZ^-1.;
#X text 94 256 y[n] = x[n] - a[n] * x[n-1];
#X text 33 336 (Pd also provides a suite of user-friendly filters.
This and other raw filters are provided for situations which the user-friendly
ones can't handle. See Chapter 8 of http://msp.ucsd.edu/techniques.htm
for an introduction to the necessary theory.), f 70;
#X text 40 236 The action of rzero~ is:;
#X text 141 93 <= signal to filter;
#X text 125 123 <= clear internal state to zero;
#X text 139 150 <= set internal state;
#X text 147 177 <= filter coefficient (may be a signal);
#X text 134 202 <= creation argument initializes filter coefficient
;
#X connect 0 0 24 1;
#X connect 1 0 24 0;
#X connect 2 0 24 0;
#X connect 18 0 24 0;
