diff options
author | Katja <katjav@users.sourceforge.net> | 2011-11-13 15:09:18 +0000 |
---|---|---|
committer | Katja <katjav@users.sourceforge.net> | 2011-11-13 15:09:18 +0000 |
commit | 04f9a0c239d6f38d7f5ed70671d70ec30beb7bf5 (patch) | |
tree | fa3b377c2c52e421df05619f2a3506455cf12806 /unittests/vlavg-unittest.pd | |
parent | 3129cef9f1b75aeb36ff7ab20c027f949030c966 (diff) |
add unittest dir plus content to smlib
svn path=/trunk/externals/smlib/; revision=15735
Diffstat (limited to 'unittests/vlavg-unittest.pd')
-rw-r--r-- | unittests/vlavg-unittest.pd | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/unittests/vlavg-unittest.pd b/unittests/vlavg-unittest.pd new file mode 100644 index 0000000..d6837b9 --- /dev/null +++ b/unittests/vlavg-unittest.pd @@ -0,0 +1,27 @@ +#N canvas 374 132 746 533 10; +#X obj 49 165 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; |