#N canvas 664 27 438 649 12;
#X floatatom 126 565 4 0 0 0 - - - 0;
#X msg 72 485 bang;
#X obj 126 540 + 1;
#X obj 186 351 + 1;
#X floatatom 161 238 0 0 0 0 - - - 0;
#X msg 117 237 bang;
#X msg 134 64 bang;
#X obj 191 88 + 1;
#X text 50 18 Here's a simple counter. Click repeatedly on the "bang"
message to see it:, f 41;
#X text 49 433 Here's a timed counter. Hit the "bang" to start it...
, f 39;
#X obj 72 514 metro 500;
#X msg 118 485 stop;
#X obj 134 89 float;
#X obj 129 263 float;
#X obj 72 540 float;
#X text 200 606 updated for Pd version 0.34;
#X text 49 380 Thus \, the incremented value is stored for the next
"bang" to spit out., f 45;
#X text 151 512 <= new object: metronome.;
#X text 181 529 The "500" means every 500 milliseconds - i.e. \, twice
a second., f 25;
#X text 47 142 The "float" (or just "f") box is a storage element holding
one floating-point number. The cold inlet (i.e. \, the one on the right)
stores numbers. Sending the message "bang" to the hot inlet gets the
number back out:, f 48;
#X text 186 265 same as:;
#X floatatom 289 236 0 0 0 0 - - - 0;
#X msg 245 235 bang;
#X obj 271 263 f;
#X text 215 352 to its cold inlet.;
#X text 50 329 Float's outlet in the first example;
#X text 50 352 above connects via;
#X floatatom 129 287 4 0 0 0 - - - 0;
#X floatatom 271 287 4 0 0 0 - - - 0;
#X floatatom 191 113 4 0 0 0 - - - 0;
#X connect 1 0 10 0;
#X connect 2 0 0 0;
#X connect 2 0 14 1;
#X connect 4 0 13 1;
#X connect 5 0 13 0;
#X connect 6 0 12 0;
#X connect 7 0 12 1;
#X connect 7 0 29 0;
#X connect 10 0 14 0;
#X connect 11 0 10 0;
#X connect 12 0 7 0;
#X connect 13 0 27 0;
#X connect 14 0 2 0;
#X connect 21 0 23 1;
#X connect 22 0 23 0;
#X connect 23 0 28 0;
