aboutsummaryrefslogtreecommitdiff
path: root/iemhelp/help-maverage~.pd
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-05-18 21:33:33 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-05-18 21:33:33 +0000
commit577ac6e80ff4f436fbd054291ed7dddbc31bd49a (patch)
tree6ec69b216dda68d7de38a5eba1851b9d4f1431e6 /iemhelp/help-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 'iemhelp/help-maverage~.pd')
-rw-r--r--iemhelp/help-maverage~.pd45
1 files changed, 45 insertions, 0 deletions
diff --git a/iemhelp/help-maverage~.pd b/iemhelp/help-maverage~.pd
new file mode 100644
index 0000000..6e9d42d
--- /dev/null
+++ b/iemhelp/help-maverage~.pd
@@ -0,0 +1,45 @@
+#N canvas 97 84 726 424 10;
+#X floatatom 23 284 9 0 0 0 - - -;
+#X text 15 360 (c) musil@iem.kug.ac.at;
+#X text 57 373 IEM KUG;
+#X text 41 44 dsp ON/OFF;
+#X obj 22 65 dsp;
+#X floatatom 22 86 5 0 0 0 - - -;
+#X text 68 87 % cpu;
+#X obj 23 265 unsig~;
+#X obj 22 45 tgl 15 0 empty empty empty 8 -8 0 10 -262144 -1 -1 1 1
+;
+#X obj 36 151 noise~;
+#X obj 22 215 +~;
+#X floatatom 160 286 9 0 0 0 - - -;
+#X obj 160 267 unsig~;
+#X text 7 9 maverage~ : moving average filter;
+#X text 261 167 changing the average-time resets the calculation the
+first average-time milliseconds !!;
+#X text 276 241 1.arg: max. average-time <float> [ms] \; 2.arg: average-time
+<float> [ms];
+#X text 162 49 N = 0.001 * average-time_ms * samplerate;
+#X text 138 34 y[n] = (x[n] + x[n-1] + x[n-2] +...+ x[n-N]) / N;
+#X text 226 9 with IIR-solution;
+#X obj 22 126 sig~ 0.75;
+#X obj 36 177 *~ 0.25;
+#X obj 160 248 maverage~ 1000 500;
+#X floatatom 263 219 5 0 1000 0 - - -;
+#X text 300 217 ms;
+#X text 21 298 noisy signal;
+#X text 157 303 signal after filtering;
+#X text 157 313 only DC is measured;
+#X text 262 200 <float> average-time <float> [ms] (1.45 .. 1000 ms)
+;
+#X text 32 385 graz \, austria 2003;
+#X connect 4 0 5 0;
+#X connect 7 0 0 0;
+#X connect 8 0 4 0;
+#X connect 9 0 20 0;
+#X connect 10 0 7 0;
+#X connect 10 0 21 0;
+#X connect 12 0 11 0;
+#X connect 19 0 10 0;
+#X connect 20 0 10 1;
+#X connect 21 0 12 0;
+#X connect 22 0 21 1;