-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpdkl-wrand.pd
40 lines (40 loc) · 985 Bytes
/
pdkl-wrand.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
29
30
31
32
33
34
35
36
37
38
39
40
#N canvas 638 151 595 537 12;
#X obj 258 201 pdkl-reduce2;
#X obj 261 77 loadbang;
#X obj 261 101 iemguts/canvasargs;
#X obj 372 201 +;
#X obj 258 225 t l l;
#X obj 300 273 pdkl-last 1;
#X obj 153 280 list;
#X obj 232 316 random;
#X obj 154 66 inlet;
#X obj 154 90 t b b;
#X obj 213 351 >;
#X obj 126 352 pdkl-find;
#X obj 126 422 outlet;
#X obj 368 64 inlet;
#X text 8 15 pdkl-wrand;
#X text 94 12 (needs iemguts for now);
#X text 11 43 weighted random given weights;
#X text 8 176 inlet: trig \, weights;
#X text 11 209 outlet: random number (< length);
#X text 433 43 pdklist;
#X text 437 66 gpl v 3;
#X text 432 20 Derek Kwan 2019;
#X connect 0 0 4 0;
#X connect 0 1 3 0;
#X connect 1 0 2 0;
#X connect 2 0 0 0;
#X connect 3 0 0 1;
#X connect 4 0 6 1;
#X connect 4 1 5 0;
#X connect 5 0 7 1;
#X connect 6 0 11 0;
#X connect 7 0 10 1;
#X connect 8 0 9 0;
#X connect 9 0 6 0;
#X connect 9 1 7 0;
#X connect 10 0 11 1;
#X connect 11 1 12 0;
#X connect 11 2 10 0;
#X connect 13 0 0 0;