diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2004-05-18 21:33:33 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2004-05-18 21:33:33 +0000 |
commit | 577ac6e80ff4f436fbd054291ed7dddbc31bd49a (patch) | |
tree | 6ec69b216dda68d7de38a5eba1851b9d4f1431e6 /iemabs/maverage~.pd |
This commit was generated by cvs2svn to compensate for changes in r1738,svn2git-root
which included commits to RCS files with non-trunk default branches.
svn path=/trunk/externals/iemlib/; revision=1739
Diffstat (limited to 'iemabs/maverage~.pd')
-rw-r--r-- | iemabs/maverage~.pd | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/iemabs/maverage~.pd b/iemabs/maverage~.pd new file mode 100644 index 0000000..57fc4e6 --- /dev/null +++ b/iemabs/maverage~.pd @@ -0,0 +1,27 @@ +#N canvas 167 77 540 340 10; +#X text 28 56 ~~in~~; +#X obj 30 71 inlet~; +#X obj 30 248 outlet~; +#X text 28 262 ~~out~~; +#X obj 78 92 inlet; +#X text 91 77 average-time <float> [ms]; +#X text 157 168 changing the average-time resets the calculation the first average-time milliseconds !!; +#X obj 30 208 delwrite~ \$0-avrg_del \$1; +#X obj 78 138 delread~ \$0-avrg_del \$2; +#X text 191 208 1.arg: max. average-time <float> [ms] \; 2.arg: average-time <float> [ms]; +#X obj 78 113 t f f; +#X text 80 11 moving average filter with IIR-solution; +#X text 209 42 N = 0.001 * average-time_ms * samplerate; +#X text 185 27 y[n] = (x[n] + x[n-1] + x[n-2] +...+ x[n-N]) / N; +#X text 20 284 (c) musil@iem.kug.ac.at; +#X text 62 297 IEM KUG; +#X text 37 309 graz \, austria 2001; +#X obj 30 165 mov_avrg_kern~ \$2; +#X text 10 10 maverage~; +#X connect 1 0 7 0; +#X connect 1 0 17 0; +#X connect 4 0 10 0; +#X connect 8 0 17 1; +#X connect 10 0 8 0; +#X connect 10 1 17 2; +#X connect 17 0 2 0; |