aboutsummaryrefslogtreecommitdiff
path: root/unittests/vlavg-unittest.pd
blob: a6ee7ecf4eefa7a53dc666f34f72e4ecf9f261dc (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
#N canvas 374 132 746 533 10;
#X obj 49 165 testtools/unit-test-frame;
#X obj 49 58 loadbang;
#X obj 370 -34 & 127;
#X obj 370 -3 / 64;
#X obj 370 24 - 1;
#X obj 370 131 smlib/vlavg 10;
#X msg 49 87 vlavg 0;
#X obj 370 103 pack;
#X obj 370 55 t f f;
#X obj 397 80 + 0.1;
#X text 11 -32 vlavg: vector leaky average;
#X text 12 -13 the argument is the half-decay expressed in number of
activations;
#X text 12 18 This test only works one time after patch load because
the averager has no reset option.;
#X connect 0 2 2 0;
#X connect 1 0 6 0;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 4 0 8 0;
#X connect 5 0 0 1;
#X connect 6 0 0 0;
#X connect 7 0 5 0;
#X connect 8 0 7 0;
#X connect 8 1 9 0;
#X connect 9 0 7 1;