aboutsummaryrefslogtreecommitdiff
path: root/doc/mjLib/metroplus.pd
blob: 4a7e1701e530132ecfba92763b6e01a86ec30ddf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#N canvas 614 181 575 499 12;
#X obj 166 441 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1
-1;
#X msg 162 249 start;
#X msg 118 351 stop;
#X floatatom 460 286 5 0 0;
#X obj 173 393 metroplus 1000 500 1000 200;
#X msg 269 309 500 1000 200;
#X text 28 13 metroplus;
#X text 27 32 by mark williamson (mark@junklight.com);
#X obj 174 279 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1
-1;
#X text 27 65 metroplus is a variation on the metro object. Instead
of providing a steady pulse however it can provide an irregular beat.
It takes as its control a list of numbers representing intervals in
milliseconds. These are the time between each "pulse". So for example
with the initial setting below (in the metroplus object itself) - the
first pulse comes after 1 second the second after 500ms the third after
1 second and the fourth after 200ms - the next beat comming a second
after that because the sequence starts again.;
#X text 19 243 start with;
#X text 18 257 a start message;
#X text 18 274 or a 'bang'---->;
#X text 20 321 stop with a;
#X text 19 338 stop;
#X text 21 352 message--->;
#X text 245 286 set a new sequence;
#X text 451 322 it still works;
#X text 449 338 like a metro;
#X text 422 355 object if you want;
#X text 512 372 it to;
#X connect 1 0 4 0;
#X connect 2 0 4 0;
#X connect 3 0 4 1;
#X connect 4 0 0 0;
#X connect 5 0 4 1;
#X connect 8 0 4 0;