-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmidichord.pd
42 lines (42 loc) · 1.07 KB
/
midichord.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
41
42
#N canvas 0 25 553 408 12;
#X obj 58 108 unpack f f f f, f 29;
#X obj 58 84 inlet;
#X obj 58 132 sel 0;
#X obj 124 132 sel 0;
#X obj 191 132 sel 0;
#X obj 258 132 sel 0;
#X obj 90 180 noteout \$1, f 30;
#X obj 156 238 noteout \$1, f 30;
#X obj 223 296 noteout \$1, f 30;
#X obj 290 354 noteout \$1, f 30;
#X obj 90 156 makenote 127 \$2;
#X obj 156 214 makenote 127 \$2;
#X obj 223 272 makenote 127 \$2;
#X obj 290 330 makenote 127 \$2;
#X text 34 15 /// PASS IN THE OUTPUT OF [chord]. SENDS MIDI NOTE OUT
\; /// MESSAGES ON CHANNEL \$1 WITH DURATION \$2 MS.;
#X obj 408 121 inlet;
#X obj 408 145 f \$2;
#X text 399 97 \$2 note dur;
#X connect 0 0 2 0;
#X connect 0 1 3 0;
#X connect 0 2 4 0;
#X connect 0 3 5 0;
#X connect 1 0 0 0;
#X connect 2 1 10 0;
#X connect 3 1 11 0;
#X connect 4 1 12 0;
#X connect 5 1 13 0;
#X connect 10 0 6 0;
#X connect 10 1 6 1;
#X connect 11 0 7 0;
#X connect 11 1 7 1;
#X connect 12 0 8 0;
#X connect 12 1 8 1;
#X connect 13 0 9 0;
#X connect 13 1 9 1;
#X connect 15 0 16 0;
#X connect 16 0 10 2;
#X connect 16 0 13 2;
#X connect 16 0 12 2;
#X connect 16 0 11 2;