-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathmodrand-help.pd
28 lines (28 loc) · 989 Bytes
/
modrand-help.pd
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
#N canvas 1253 176 466 242 12;
#X floatatom 46 77 5 0 0 1 Input\ number\ (>=\ 0) - - 0;
#X obj 46 194 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000
#000000;
#X obj 70 194 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000
#000000;
#X obj 95 194 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000
#000000;
#X obj 120 194 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc
#000000 #000000;
#X obj 22 45 tempo 120 1;
#X obj 22 23 tgl 15 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000
0 1;
#X floatatom 83 102 5 0 100 1 Modulo\ value - - 0;
#X floatatom 120 126 5 0 0 1 Number\ of\ outlets\ (1\ to\ 4) - - 0
;
#X text 51 7 When the input modulo is 0 then bang a random outlet;
#X obj 46 155 modrand 4 4;
#X text 131 154 Argumnets: Mod value \, Max rand value (1-4);
#X connect 0 0 10 0;
#X connect 5 1 0 0;
#X connect 6 0 5 0;
#X connect 7 0 10 1;
#X connect 8 0 10 2;
#X connect 10 0 1 0;
#X connect 10 1 2 0;
#X connect 10 2 3 0;
#X connect 10 3 4 0;