aboutsummaryrefslogtreecommitdiff
path: root/runningmean/runningmean-help.pd
blob: 85f4845767923de6787dc1fa8088a2a988739f89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#N canvas 537 273 534 300 10;
#X obj 147 219 runningmean 128;
#X text 16 13 runningmean outputs the running mean of n floats.;
#X msg 147 54 clear;
#X msg 147 80 length 10;
#X msg 234 106 22;
#X text 185 54 clear the array to zero;
#X text 209 80 set length (also clears the array);
#X text 260 105 set length (also clears the array);
#X text 247 221 argument sets initial length;
#X floatatom 147 250 5 0 0 0 - - -;
#X obj 17 74 bng 15 250 50 0 empty empty empty 17 7 0 10 -257985 -1
-1;
#X text 35 73 bang outputs current mean;
#X msg 82 137 1;
#X msg 104 159 2;
#X text 306 244 Martin Peach 2008_05_16;
#X text 112 137 incoming numbers are added to the array;
#X text 111 249 mean:;
#X connect 0 0 9 0;
#X connect 2 0 0 0;
#X connect 3 0 0 0;
#X connect 4 0 0 1;
#X connect 10 0 0 0;
#X connect 12 0 0 0;
#X connect 13 0 0 0;