#N canvas 511 124 585 555 12;
#X floatatom 132 197 0 0 0 0 - - -;
#X obj 51 113 osc~ 100;
#X msg 67 145 clear;
#X obj 92 509 lop~;
#X text 13 509 see also:;
#X text 371 495 updated for Pd version-0.38;
#X obj 99 456 rzero~;
#X obj 40 480 cpole~;
#X obj 40 456 rpole~;
#X obj 158 456 rzero_rev~;
#X obj 99 480 czero~;
#X obj 158 480 czero_rev~;
#X text 246 456 real;
#X text 245 481 complex;
#X text 37 437 1-pole;
#X text 96 437 1-zero;
#X text 156 437 1-zero \, reversed;
#X text 62 420 summary of raw filters:;
#X msg 79 171 set 1;
#N canvas 393 91 317 298 test 0;
#X obj 78 79 osc~;
#X floatatom 78 56 5 0 0 0 - - -;
#X obj 78 220 env~ 16384;
#X floatatom 78 244 5 0 0 0 - - -;
#X obj 116 108 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
1;
#X obj 78 106 *~;
#X msg 99 138 set 1;
#X floatatom 152 110 4 -100 100 0 - - -;
#X obj 152 135 / 100;
#X obj 186 252 dac~;
#X obj 204 169 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
1;
#X obj 186 216 *~;
#X obj 204 191 / 10;
#X text 82 19 Stuff to test it:;
#X obj 78 169 rzero_rev~;
#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 460 431 pd test;
#X text 136 509 etc.: user-friendly filters;
#X text 37 291 where y[n] is the output \, x[n] the input \, and a[n]
the filter coefficient. The filter is always stable., f 56;
#X obj 53 11 rzero_rev~;
#X text 142 11 real one-zero (non-recursive) "reverse" filter \, raw
;
#X obj 51 223 rzero_rev~ 1;
#X text 18 40 Rzero_rev~ 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). The impulse response
is that of "rzero" reversed in time., f 68;
#X text 100 272 y[n] = -a[n] * x[n] + x[n-1];
#X text 35 323 The transfer function is H(Z) = -a + Z^-1.;
#X text 32 348 (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 155 225 <= creation argument initializes filter coefficient
;
#X text 164 197 <= filter coefficient (may be a signal);
#X text 125 171 <= set internal state;
#X text 111 144 <= clear internal state to zero;
#X text 122 113 <= signal to filter;
#X text 43 251 The action of rzero_rev~ is:;
#X connect 0 0 24 1;
#X connect 1 0 24 0;
#X connect 2 0 24 0;
#X connect 18 0 24 0;
