#N canvas 1450 82 615 421 12;
#X obj 190 360 print canvasconnectioncheck;
#X obj 50 360 print cccheckIO;
#X obj 80 120 f;
#X msg 100 150 6;
#X floatatom 120 180 5 0 0 0 - - -, f 5;
#X obj 80 90 bang;
#X text 160 70 [cccheck] checks the number of connections to its inlet
for a given threshhold \, outputting a 1 to its right inlet when the
threshold is met or exceeded and outputting a 0 to the right inlet
when the number of connections becomes lower than the threshhold.;
#X text 170 170 the threshhold is 1 by default \, such that the right
inlet will output a 1 if any connection is made to [cccheck]. Higher
thresholds can be specified with a float as the first creation argument.
;
#X text 190 310 The left outlet is a simple I/O \, outputting whatever
[cccheck] receives to its inlet.;
#X text 170 250 second creation argument determines the frequency with
which cccheck performs checks in milliseconds;
#X obj 60 310 cccheck 2 50;
#X obj 50 220 cccheck, f 8;
#X connect 5 0 2 0;
#X connect 10 0 1 0;
#X connect 10 1 0 0;
#X connect 11 0 1 0;
#X connect 11 1 0 0;
