From 1475e3c5025f032032fd5d72b07326f487f9c261 Mon Sep 17 00:00:00 2001 From: Martin Peach Date: Fri, 16 May 2008 21:30:39 +0000 Subject: help patch for runningmean svn path=/trunk/externals/mrpeach/; revision=9827 --- runningmean/runningmean-help.pd | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 runningmean/runningmean-help.pd diff --git a/runningmean/runningmean-help.pd b/runningmean/runningmean-help.pd new file mode 100644 index 0000000..85f4845 --- /dev/null +++ b/runningmean/runningmean-help.pd @@ -0,0 +1,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; -- cgit v1.2.1