#N canvas 0 22 788 338 10;
#X obj 109 49 random 10000;
#X obj 109 32 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X floatatom 101 253 10 0 0 1 accum_input - -;
#X floatatom 141 138 5 0 2 1 mode - -;
#X floatatom 174 154 5 0 0 1 init - -;
#X floatatom 207 170 5 0 0 1 low - -;
#X floatatom 240 186 5 0 0 1 high - -;
#X floatatom 109 237 10 0 0 1 accum_output - -;
#X obj 109 84 / 1000;
#X obj 109 119 - 5;
#X floatatom 125 103 5 0 0 1 random_value_offset - -;
#X text 285 14 accum - is used to accumulate a signal. there are three
modes of operation \; limit \, mirror \, and wrap. Each mode is described
below.;
#X text 302 73 inlets - signal - the value to process mode - 0 \, 1
\, or 2 init - the initial starting point for the acccumulator lo -
the low limit hi - the hi limit;
#X text 339 153 modes - 0 - limit \, keeps signal within the limits
1 - mirror \, if signal outside of limits signal is reflected back
into the range by the amount it exceeded the limits range. 2 - wrap
\, signal wraps around to the other limit by the amount it exceeded
the limits range.;
#X msg 47 134 reset;
#X floatatom 146 68 5 0 0 0 - - -;
#X obj 109 218 mask/ext/accumulator 0 0 -10 10;
#X connect 0 0 8 0;
#X connect 1 0 0 0;
#X connect 3 0 16 1;
#X connect 4 0 16 2;
#X connect 5 0 16 3;
#X connect 6 0 16 4;
#X connect 8 0 9 0;
#X connect 9 0 2 0;
#X connect 9 0 16 0;
#X connect 10 0 9 1;
#X connect 15 0 8 1;
#X connect 16 0 7 0;
