#N canvas 540 68 652 607 12;
#X obj 51 314 metro 500;
#X obj 60 18 metro;
#X floatatom 111 291 4 0 0 0 - - -;
#X msg 47 127 1;
#X text 98 137 nonzero number or "bang" to start;
#X msg 62 183 0;
#X msg 53 150 bang;
#X msg 68 207 stop;
#X text 111 17 - metronome;
#X text 30 52 The metro object sends a series of bangs at regular time
intervals. The right inlet takes the value in milliseconds between
each bang. The left inlet takes a 1 or 0 \, turning the metronome on
or off., f 67;
#X obj 51 340 bng 25 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X text 184 334 - delay time (float);
#X text 185 352 - tempo (float) and time unit (symbol) as in "tempo"
message, f 31;
#X msg 74 243 tempo 2 msec;
#X text 76 541 see also:;
#X obj 153 541 timer;
#X obj 382 483 metro 1 120 permin, f 19;
#X obj 349 422 tgl 20 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 382 510 bng 25 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 195 484 delay;
#X text 420 559 Updated for Pd version 0.48;
#X text 110 195 zero or "stop" to stop;
#X obj 512 449 /;
#X msg 512 424 1 \$1;
#X msg 476 392 0.5;
#X msg 512 392 1;
#X msg 548 392 4;
#X text 543 450 beat length;
#X msg 382 433 tempo \$1 permin;
#X floatatom 382 408 5 0 0 0 - - -;
#X text 175 234 set tempo in units of milliseconds (msec for short)
\, seconds (sec) \, minutes (min) or samples (samp), f 47;
#X text 150 291 right inlet sets the rate in msec per tick or tempo
unit length, f 64;
#X text 55 471 for details on tempo setting \, see:, f 19;
#X text 56 416 for example \, a metronome at intervals of one beat
at 120 beats per minute:, f 37;
#X text 127 315 <= optional creation arguments:;
#X connect 0 0 10 0;
#X connect 2 0 0 1;
#X connect 3 0 0 0;
#X connect 5 0 0 0;
#X connect 6 0 0 0;
#X connect 7 0 0 0;
#X connect 13 0 0 0;
#X connect 16 0 18 0;
#X connect 17 0 16 0;
#X connect 22 0 16 1;
#X connect 23 0 22 0;
#X connect 24 0 23 0;
#X connect 25 0 23 0;
#X connect 26 0 23 0;
#X connect 28 0 16 0;
#X connect 29 0 28 0;
