#N canvas 536 212 864 486 10;
#X text 147 84 trigger from audio signal;
#X obj 276 229 sig~;
#X obj 276 287 threshold~ 10 100 0 100;
#X floatatom 276 202 5 0 0 0 - - -, f 5;
#X obj 276 315 print trigger;
#X obj 411 315 print rest;
#X msg 432 257 1;
#X msg 463 257 0;
#X msg 358 207 set 0 2000 1 2000;
#X msg 358 230 set 10 100 0 100;
#X text 224 117 [threshold~] monitors its input signal and outputs
bangs when the signal equals or exceeds a specified "trigger" value
\, and also when the signal equals or recedes below a "rest" value.
You can specify debounce times in milliseconds \, for the [threshold~]
to wait after the two event types before triggering again.;
#X connect 1 0 2 0;
#X connect 2 0 4 0;
#X connect 2 1 5 0;
#X connect 3 0 1 0;
#X connect 6 0 2 1;
#X connect 7 0 2 1;
#X connect 8 0 2 0;
#X connect 9 0 2 0;
