#N canvas 0 26 470 342 12; #X floatatom 47 39 5 0 0 0 - - -; #X floatatom 47 276 5 0 0 0 - - -; #X floatatom 122 191 5 0 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 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); #N canvas 293 158 494 344 META 0; #X text 12 180 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 160 AUTHOR Olaf Matthes ; #X text 12 5 KEYWORDS control; #X text 12 45 DESCRIPTION calculates the average of the last N items (floats); #X text 12 80 INLET_0 float reset linear geometric weight; #X text 12 100 INLET_1 float; #X text 12 140 OUTLET_1 float; #X text 12 120 OUTLET_0 float; #X restore 405 313 pd META; #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;