-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcv2midi.pd
54 lines (54 loc) · 1.38 KB
/
cv2midi.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
43
44
45
46
47
48
49
50
51
52
53
54
#N canvas 257 23 571 828 10;
#X obj 39 26 inlet~;
#X obj 263 579 outlet midi;
#X obj 79 134 snapshot~;
#X floatatom 71 159 5 0 0 0 - - -, f 5;
#X obj 113 71 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X obj 117 49 loadbang;
#X obj 105 100 metro 1;
#X floatatom 70 209 5 0 0 0 - - -, f 5;
#X obj 70 291 * 127;
#X floatatom 110 577 5 0 0 0 - - -, f 5;
#X text 120 160 from -1 to 1;
#X obj 72 184 / 2;
#X text 109 209 from -0.5 to 0.5;
#X obj 69 237 + 0.5;
#X floatatom 70 265 5 0 0 0 - - -, f 5;
#X text 109 264 from 0 to 1;
#X text 110 292 from 0 to 127;
#X text 39 4 takes audio between -1 and 1;
#X text 309 455 outputs MIDI note between 0 and 127;
#X obj 69 326 int;
#X text 50 556 cv in;
#X text 52 601 midi note out;
#X text 129 559 CV to MIDI;
#X obj 213 480 makenote;
#X obj 224 511 noteout;
#X msg 235 394 100;
#X obj 363 60 threshold~ 0.1 1 1 1;
#X obj 368 29 inlet~ trig;
#X obj 291 388 del 5;
#X msg 274 430 0;
#X connect 0 0 2 0;
#X connect 2 0 3 0;
#X connect 3 0 11 0;
#X connect 4 0 6 0;
#X connect 5 0 4 0;
#X connect 6 0 2 0;
#X connect 7 0 13 0;
#X connect 8 0 19 0;
#X connect 9 0 1 0;
#X connect 11 0 7 0;
#X connect 13 0 14 0;
#X connect 14 0 8 0;
#X connect 19 0 9 0;
#X connect 19 0 23 0;
#X connect 23 0 24 0;
#X connect 23 1 24 1;
#X connect 25 0 23 1;
#X connect 26 0 28 0;
#X connect 27 0 26 0;
#X connect 28 0 29 0;
#X connect 29 0 23 1;
#X coords 0 -1 1 1 151 70 2 48 555;