#N canvas 445 23 563 650 10;
#X obj 257 401 tgl 35 0 empty empty empty 17 7 0 10 #dcdcdc #000000 #000000 0 1;
#X obj 2 621 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020 0;
#X obj 4 453 cnv 3 550 3 empty empty inlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 4 537 cnv 3 550 3 empty empty outlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 4 573 cnv 3 550 3 empty empty arguments 8 12 0 13 #dcdcdc #000000 0;
#X obj 96 463 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 96 486 cnv 17 3 17 empty empty 1 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 171 461 signal;
#X obj 96 510 cnv 17 3 17 empty empty 2 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 96 545 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 169 544 signal;
#X text 227 486 - low threshold level;
#X text 226 510 - high threshold level;
#X text 227 461 - a signal whose level you want to detect;
#X text 227 544 - 1/0 depending on signal detect;
#X text 134 486 float/signal;
#X text 134 510 float/signal;
#X text 400 225 low;
#X text 402 247 hi;
#X obj 338 224 sig~ -0.5;
#X obj 344 246 sig~ 0.5;
#X obj 257 224 osc~ 0.5;
#X obj 127 334 vsl 20 100 -1 1 0 0 empty empty empty 0 -9 0 10 #dcdcdc #000000 #000000 0 1;
#X text 115 378 0;
#X text 115 327 1;
#X text 103 352 0.5;
#X text 97 403 -0.5;
#X text 109 426 -1;
#X text 157 580 1) float;
#X text 157 596 2) float;
#X obj 257 304 cyclone/thresh~;
#X text 74 96 [thresh~] is a "Schmitt trigger". When the input is greater than or equal to the high threshold level \, the output is 1 and becomes 0 when the signal is equal to or less than the reset level (low threshold).;
#X text 74 152 If low and high threshold are the same \, the output is 1 until a sample in the input signal is less than the reset level (thus it works in the same way as [>=~]).;
#X text 227 596 - sets high threshold (default 0);
#X text 227 580 - sets low threshold (default 0);
#X obj 499 69 cyclone/dsponoff~;
#X obj 2 3 ./header tresh~;
#X text 22 63 Detect signal above a threshold;
#X obj 257 343 cyclone/snapshot~ 1;
#X obj 257 370 nbx 7 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 127 275 cyclone/snapshot~ 1;
#X obj 127 302 nbx 7 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X connect 19 0 30 1;
#X connect 20 0 30 2;
#X connect 21 0 30 0;
#X connect 21 0 40 0;
#X connect 30 0 38 0;
#X connect 38 0 39 0;
#X connect 39 0 0 0;
#X connect 40 0 41 0;
#X connect 41 0 22 0;
