aboutsummaryrefslogtreecommitdiff
path: root/help/average-help.pd
blob: 6155716975a42bee3ac6f39b98e9190e0310b633 (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
27
28
29
#N canvas 445 253 470 320 12;
#X floatatom 47 39 5 0 0;
#X floatatom 47 276 5 0 0;
#X floatatom 122 191 5 0 0;
#X obj 47 219 average 10;
#X text 177 191 number of items to average;
#X text 139 220 creation argument = number of items;
#X floatatom 122 254 5 0 0;
#X text 105 277 average of last N items;
#X text 125 11 average :: calculates the average of the;
#X text 214 30 last N items (floats);
#X text 176 255 tendency (up = 1 \, down = -1);
#X msg 100 60 reset;
#X text 152 61 forget everything;
#X msg 129 94 linear;
#X msg 147 118 geometric;
#X text 191 93 linear average (dafault);
#X text 230 119 geometric average;
#X msg 158 146 weight;
#X text 217 147 weighted average (giving last;
#X text 218 163 items higher weight);
#X connect 0 0 3 0;
#X connect 2 0 3 1;
#X connect 3 0 1 0;
#X connect 3 1 6 0;
#X connect 11 0 3 0;
#X connect 13 0 3 0;
#X connect 14 0 3 0;
#X connect 17 0 3 0;