blob: 9ba5e0fd6bf3d5687752665a5e56b026e55b9ffd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#N canvas 553 310 441 199 12;
#X text 351 171 j#|@2002;
#X obj 373 149 SMLib;
#X floatatom 53 75 5 0 0;
#X obj 9 58 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1
;
#X text 53 55 x(i);
#X text 6 7 lavg: leaky average;
#X obj 9 141 lavg 10;
#X floatatom 9 171 5 0 0;
#X obj 9 101 float;
#X text 5 24 argument: half-decay time (in number of activations);
#X msg 118 101 clear;
#X text 116 79 clear accumulator;
#X msg 244 106 decay 5;
#X text 243 90 set half-decay time;
#X connect 2 0 8 1;
#X connect 3 0 8 0;
#X connect 6 0 7 0;
#X connect 8 0 6 0;
#X connect 10 0 6 0;
#X connect 12 0 6 0;
|