#N canvas 392 49 558 568 10;
#X obj 3 331 cnv 3 550 3 empty empty inlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 3 443 cnv 3 550 3 empty empty outlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 3 498 cnv 3 550 3 empty empty arguments 8 12 0 13 #dcdcdc #000000 0;
#X obj 80 340 cnv 17 3 54 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 80 400 cnv 17 3 35 empty empty 1 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 176 159 bng 18 250 50 0 empty empty empty 0 -6 0 8 #d0d0d0 #000000 #000000;
#X obj 176 224 bng 22 250 50 0 empty empty empty 0 -6 0 8 #d0d0d0 #000000 #000000;
#X obj 275 160 bng 18 250 50 0 empty empty empty 0 -6 0 8 #d0d0d0 #000000 #000000;
#X obj 80 450 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 176 192 cyclone/onebang 1;
#X obj 3 554 cnv 1 550 1 empty empty empty 0 0 0 4 #fcfcfc #fcfcfc 0;
#X obj 3 533 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020 0;
#X text 129 360 bang;
#X text 129 451 bang;
#X text 174 507 -;
#X text 105 507 1) float;
#X text 105 341 anything;
#X text 129 379 stop;
#X text 174 379 - ignores the last bang sent to the right inlet, f 52;
#X obj 80 472 cnv 17 3 17 empty empty 1 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 129 473 bang;
#X text 105 400 anything;
#X text 174 400 - any message is toreatd as a bang, f 60;
#X text 129 418 bang;
#X text 188 507 a non-0 value allows the first bang on left inlet through, f 60;
#X text 174 451 - output bang if a bang was sent before to the right inlet;
#X text 174 473 - outputa a bang otherwise;
#X text 174 360 - a bang to be gated;
#X text 174 341 - any message is treatd as a bang, f 60;
#X text 174 418 - allows a bang in the left inlet through left outlet once;
#X text 88 91 [onebang] allows a bang in the left inlet to pass through the left outlet once ONLY if a bang has been previously received in the right inlet. The bang goes to the right outlet otherwise.;
#N canvas 699 170 585 352 examples 0;
#X obj 315 122 notein 1, f 9;
#X obj 315 153 stripnote;
#X obj 315 185 select 60;
#X obj 414 186 bng 18 250 50 0 empty empty empty 17 7 0 10 #d0d0d0 #000000 #000000;
#X obj 315 217 cyclone/onebang 1;
#X obj 315 253 bng 22 250 50 0 empty empty empty 0 -6 0 8 #d0d0d0 #000000 #000000;
#X obj 66 125 notein 1, f 9;
#X obj 66 152 stripnote;
#X obj 66 197 cyclone/onebang 1;
#X obj 165 169 bng 18 250 50 0 empty empty empty 17 7 0 10 #d0d0d0 #000000 #000000;
#X obj 66 236 bng 22 250 50 0 empty empty empty 0 -6 0 8 #d0d0d0 #000000 #000000;
#X obj 165 236 bng 22 250 50 0 empty empty empty 0 -6 0 8 #d0d0d0 #000000 #000000;
#X obj 414 253 bng 22 250 50 0 empty empty empty 0 -6 0 8 #d0d0d0 #000000 #000000;
#X text 308 58 Detect the first time that middle C is played \, but ignore subsequent occurrences until reset occurs., f 35;
#X text 188 170 reset;
#X text 436 187 reset;
#X text 66 66 Detect (only) the first note played until reset occurs., f 19;
#X connect 0 0 1 0;
#X connect 0 1 1 1;
#X connect 1 0 2 0;
#X connect 2 0 4 0;
#X connect 3 0 4 1;
#X connect 4 0 5 0;
#X connect 4 1 12 0;
#X connect 6 0 7 0;
#X connect 6 1 7 1;
#X connect 7 0 8 0;
#X connect 8 0 10 0;
#X connect 8 1 11 0;
#X connect 9 0 8 1;
#X restore 423 189 pd examples;
#X obj 275 223 bng 22 250 50 0 empty empty empty 0 -6 0 8 #d0d0d0 #000000 #000000;
#X msg 207 160 stop;
#X obj 2 2 ./header onebang;
#X text 23 63 Gate a bang with a bang;
#X obj 378 299 open-else;
#X text 425 273 click;
#X msg 378 273 nmess;
#X text 124 277 Plugdata users or those with ELSE can also use [else/nmess] as an alternative, f 39;
#X text 56 283 see also:;
#X connect 5 0 9 0;
#X connect 7 0 9 1;
#X connect 9 0 6 0;
#X connect 9 1 32 0;
#X connect 33 0 9 0;
#X connect 38 0 36 0;
