diff options
Diffstat (limited to 'desiredata/doc/5.reference/metro.pd')
-rw-r--r-- | desiredata/doc/5.reference/metro.pd | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/desiredata/doc/5.reference/metro.pd b/desiredata/doc/5.reference/metro.pd new file mode 100644 index 00000000..f848e582 --- /dev/null +++ b/desiredata/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; |