1
#N canvas 136 22 740 495 10;
2
#X obj 49 186 testtools/unit-test-frame;
3
#X obj 49 121 loadbang;
6
#X obj 370 120 smlib/threshold 0.9 0 0.1 0;
7
#X obj 370 58 line 0 1;
9
#X msg 370 31 0 \, 512 600;
10
#X msg 49 154 threshold 700;
11
#X text 3 18 threshold monitors its input float stream and outputs
12
bangs when the signal exceeds a specified "trigger" value \, and also
13
when the input value recedes below a "rest" value. You can specify
14
debounce in number of floats received \, for the threshold~ to wait
15
after the two event types before triggering again.;