diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2006-10-03 09:36:38 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2006-10-03 09:36:38 +0000 |
commit | 2a161d369455245d9f61fdb9f09e876eb014ebc2 (patch) | |
tree | 443ce21105f85440badece6d5579434b6eaf0403 | |
parent | 5239e4f9250a990bfb068c9c1e1e9c6a2a211817 (diff) |
basic [mavg] implementation as abstraction; not fully compatible yet with the zexy-external version
svn path=/trunk/externals/zexy/; revision=6066
-rw-r--r-- | abs/mavg-help.pd | 17 | ||||
-rw-r--r-- | abs/mavg.pd | 43 |
2 files changed, 60 insertions, 0 deletions
diff --git a/abs/mavg-help.pd b/abs/mavg-help.pd new file mode 100644 index 0000000..3d08d03 --- /dev/null +++ b/abs/mavg-help.pd @@ -0,0 +1,17 @@ +#N canvas 404 326 452 302 12; +#X obj 119 132 metro 100; +#X obj 119 155 random 10; +#X floatatom 119 235 4 0 0 0 - - -; +#X msg 120 107 1; +#X msg 153 108 0; +#X obj 119 202 mavg 4; +#X floatatom 220 181 4 0 0 0 - - -; +#X text 59 20 moving average filter; +#X text 261 181 samples to average; +#X text 277 47 part of zexy; +#X connect 0 0 1 0; +#X connect 1 0 5 0; +#X connect 3 0 0 0; +#X connect 4 0 0 0; +#X connect 5 0 2 0; +#X connect 6 0 5 1; diff --git a/abs/mavg.pd b/abs/mavg.pd new file mode 100644 index 0000000..74345d6 --- /dev/null +++ b/abs/mavg.pd @@ -0,0 +1,43 @@ +#N canvas 0 354 450 482 10; +#X obj 80 235 inlet; +#X obj 80 334 outlet; +#X obj 330 94 inlet taps; +#X obj 80 274 list split \$1; +#X obj 80 296 t l l; +#X obj 80 254 list append; +#X obj 80 315 mean; +#X obj 261 95 loadbang; +#X obj 261 115 i \$1; +#X obj 261 141 t f f; +#X obj 286 211 list append; +#X obj 286 227 t l l; +#X obj 286 177 until; +#X obj 286 161 t f b; +#X msg 324 195 list; +#X obj 286 194 i; +#X text 59 20 part of zexy; +#X text 58 35 (c) 2006 IOhannes m zmoelnig; +#X text 55 -19 moving average filter; +#X text 62 73 requires pd>0.39; +#X text 38 386 attention: not yet fully compatible with the zexy-external +[mavg]; +#X connect 0 0 5 0; +#X connect 2 0 9 0; +#X connect 3 0 4 0; +#X connect 3 2 4 0; +#X connect 4 0 6 0; +#X connect 4 1 5 1; +#X connect 5 0 3 0; +#X connect 6 0 1 0; +#X connect 7 0 8 0; +#X connect 8 0 9 0; +#X connect 9 0 3 1; +#X connect 9 1 13 0; +#X connect 10 0 11 0; +#X connect 11 0 5 1; +#X connect 11 1 10 1; +#X connect 12 0 15 0; +#X connect 13 0 12 0; +#X connect 13 1 14 0; +#X connect 14 0 10 1; +#X connect 15 0 10 0; |