#N canvas 618 74 535 369 12;
#X obj 145 251 bang~;
#X obj 145 284 print;
#X obj 440 204 loadbang;
#X msg 407 261 \; pd dsp \$1;
#X msg 426 231 0;
#X msg 407 117 1;
#X text 77 231 inlet is inactive, f 8;
#X obj 25 14 bang~;
#X text 320 336 updated for Pd version 0.33;
#X obj 8 45 cnv 1 520 1 empty empty empty 8 12 0 13 #000000 #000000 0;
#X text 17 335 see also:;
#X obj 93 336 block~;
#N canvas 716 204 583 194 reference 0;
#X obj 18 52 cnv 5 550 5 empty empty INLETS: 8 18 0 13 #202020 #000000 0;
#X obj 18 88 cnv 2 550 2 empty empty OUTLET: 8 12 0 13 #202020 #000000 0;
#X obj 18 125 cnv 2 550 2 empty empty ARGUMENTS: 8 12 0 13 #202020 #000000 0;
#X obj 17 162 cnv 5 550 5 empty empty empty 8 18 0 13 #202020 #000000 0;
#X text 141 135 NONE;
#X text 137 98 bang - at every DSP block cycle when DSP is on., f 49;
#X obj 51 17 bang~;
#X text 139 64 NONE (there's one actually \, but it's inactive);
#X text 100 16 - output a bang after each DSP block.;
#X restore 355 14 pd reference;
#X text 453 14 <= click;
#X obj 8 322 cnv 1 520 1 empty empty empty 8 12 0 13 #000000 #000000 0;
#X text 15 57 After each DSP block cycle \, [bang~] outputs a bang (at the same logical time as the DSP cycle.) This is primarily useful for sampling the outputs of analysis algorithms., f 63;
#X text 250 261 [bang~] only outputs when DSP is on., f 20;
#X obj 148 336 metro;
#X obj 196 336 bang;
#X text 438 115 <-- click to test, f 9;
#X text 71 13 - output a bang after each DSP block;
#X obj 426 151 b;
#X text 15 104 By default \, the block size is 64 samples at a 48 Khz sample rate (about 1.33 ms.) You can change the sample rate in audio settings and the block size with the [block~] or [switch~] object \, but the minimum block size [bang~] can handle is 64 and it can't output bangs at a faster rate than the largest block size of its parent patches (so you cannot reduce the block size in a subwindow and expect it to work)., f 54;
#X obj 426 176 delay 10;
#X connect 0 0 1 0;
#X connect 2 0 4 0;
#X connect 4 0 3 0;
#X connect 5 0 3 0;
#X connect 5 0 21 0;
#X connect 21 0 23 0;
#X connect 23 0 4 0;
