From 57045df5fe3ec557e57dc7434ac1a07b5521bffc Mon Sep 17 00:00:00 2001 From: Guenter Geiger Date: Mon, 29 Jul 2002 17:06:19 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r58, which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=59 --- pd/doc/5.reference/metro.pd | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pd/doc/5.reference/metro.pd (limited to 'pd/doc/5.reference/metro.pd') diff --git a/pd/doc/5.reference/metro.pd b/pd/doc/5.reference/metro.pd new file mode 100644 index 00000000..f848e582 --- /dev/null +++ b/pd/doc/5.reference/metro.pd @@ -0,0 +1,29 @@ +#N canvas 39 7 634 372 12; +#X text 19 36 The metro object sends a series of bangs at a constant rate. 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.; +#X obj 67 285 + 1; +#X obj 32 284 int; +#X floatatom 32 317 4 0 0; +#X obj 32 243 metro 500; +#X obj 5 6 metro; +#X floatatom 81 220 4 0 0; +#X text 104 282 These objects work together as a counter. For each bang sent by metro \, the output adds 1; +#X obj 32 103 loadbang; +#X msg 32 125 1; +#X text 92 135 nonzero number or "bang" to start; +#X msg 49 172 0; +#X msg 38 148 bang; +#X msg 49 194 stop; +#X text 99 181 zero or "stop" to stop.; +#X text 351 332 Updated for Pd version 0.33; +#X text 130 220 right inlet sets the rate in msec per tick.; +#X text 127 243 creation argument initializes rate in msec; +#X connect 1 0 2 1; +#X connect 2 0 3 0; +#X connect 2 0 1 0; +#X connect 4 0 2 0; +#X connect 6 0 4 1; +#X connect 8 0 9 0; +#X connect 9 0 4 0; +#X connect 11 0 4 0; +#X connect 12 0 4 0; +#X connect 13 0 4 0; -- cgit v1.2.1