diff options
Diffstat (limited to 'pd/doc/5.reference/cpole~-help.pd')
-rw-r--r-- | pd/doc/5.reference/cpole~-help.pd | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/pd/doc/5.reference/cpole~-help.pd b/pd/doc/5.reference/cpole~-help.pd index e0df0339..f3ecbaa5 100644 --- a/pd/doc/5.reference/cpole~-help.pd +++ b/pd/doc/5.reference/cpole~-help.pd @@ -1,24 +1,8 @@ -#N canvas 281 13 533 567 12; +#N canvas -10 52 610 611 12; #X obj 54 90 osc~ 100; #X msg 62 117 clear; -#X obj 79 547 lop~; -#X text 10 550 see also:; -#X text 333 549 updated for Pd version-0.38; -#X obj 86 497 rzero~; -#X obj 37 517 cpole~; -#X obj 37 497 rpole~; -#X obj 135 497 rzero_rev~; -#X obj 86 517 czero~; -#X obj 135 517 czero_rev~; -#X text 213 497 real; -#X text 212 518 complex; -#X text 34 481 1-pole; -#X text 83 481 1-zero; -#X text 133 481 1-zero \, reversed; -#X text 59 466 summary of raw filters:; -#X text 73 300 y[n] = y[n-1] + a[n] * x[n]; #X text 12 369 The transfer function is H(Z) = 1/(1 - aZ^-1).; -#X text 106 116 <-- clear internal state to zero; +#X text 115 116 <-- clear internal state to zero; #N canvas 168 90 498 357 test 0; #X obj 76 78 osc~; #X floatatom 76 55 5 0 0 0 - - -; @@ -84,18 +68,17 @@ #X connect 28 0 9 1; #X connect 29 0 28 0; #X restore 459 483 pd test; -#X text 113 550 etc.: user-friendly filters; #X text 10 387 (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://crca.ucsd.edu/~msp/techniques for an introduction to the necessary theory.); #X obj 52 7 cpole~; #X text 114 7 complex one-pole (recursive) filter \, raw; -#X text 118 91 <-- signal to filter (real part); -#X text 117 173 <-- signal to filter (imaginary part); +#X text 132 93 <-- signal to filter (real part); +#X text 130 173 <-- signal to filter (imaginary part); #X obj 84 172 sig~; #X obj 115 197 sig~; -#X text 149 199 <-- filter coefficient (real part); +#X text 162 199 <-- filter coefficient (real part); #X obj 145 219 sig~; #X obj 53 244 cpole~ 0.9 0.4; #X text 159 246 <-- creation arguments initialize filter; @@ -104,16 +87,33 @@ for an introduction to the necessary theory.); #X text 11 320 where y[n] is the output \, x[n] the input \, and a[n] the filter coefficient (all complex numbers). The filter is unstable if/when |a[n]|>1.; -#X text 8 31 Cpole~ filters a complex audio signal (first two inlets) +#X text 12 27 Cpole~ filters a complex audio signal (first two inlets) via a one-pole filter \, whose coefficients are controlled by creation arguments or by another complex audio signal (remaining two inlets). ; -#X text 150 144 <-- set internal state (real&imaginary parts); +#X text 171 143 <-- set internal state (real&imaginary parts); #X msg 64 143 set 0.6 0.8; -#X text 179 221 <-- filter coefficient (imaginary part); -#X connect 0 0 31 0; -#X connect 1 0 31 0; -#X connect 27 0 31 1; -#X connect 28 0 31 2; -#X connect 30 0 31 3; -#X connect 38 0 31 0; +#X text 190 221 <-- filter coefficient (imaginary part); +#X text 73 300 y[n] = x[n] + a[n] * y[n-1]; +#X obj 97 566 lop~; +#X text 11 566 see also:; +#X obj 96 497 rzero~; +#X obj 36 519 cpole~; +#X obj 36 497 rpole~; +#X obj 156 497 rzero_rev~; +#X obj 96 519 czero~; +#X obj 156 519 czero_rev~; +#X text 255 497 real; +#X text 254 520 complex; +#X text 33 481 1-pole; +#X text 93 481 1-zero; +#X text 143 481 1-zero \, reversed; +#X text 58 466 summary of raw filters:; +#X text 137 566 etc.: user-friendly filters; +#X text 343 583 updated for Pd version 0.42; +#X connect 0 0 14 0; +#X connect 1 0 14 0; +#X connect 10 0 14 1; +#X connect 11 0 14 2; +#X connect 13 0 14 3; +#X connect 21 0 14 0; |