-
Notifications
You must be signed in to change notification settings - Fork 0
/
vcocore.pd
91 lines (91 loc) · 2.16 KB
/
vcocore.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
#N canvas 906 188 1000 744 10;
#X obj 123 47 inlet~ CV_in;
#X obj 30 46 inlet pitch;
#X obj 377 47 inlet~ pwm;
#X obj 502 48 inlet~ sync;
#X obj 56 276 osc~;
#X obj 2 600 outlet~ sine;
#X obj 179 260 phasor~;
#X obj 139 595 outlet~ saw;
#X obj 285 604 outlet~ rectangle;
#X obj 317 262 phasor~;
#X text 335 309 comparator;
#X obj 316 291 expr~ $v1 > $v2;
#X obj 469 191 +~;
#X obj 174 286 *~ 2;
#X obj 181 318 -~ 1;
#X obj 302 435 *~ 2;
#X obj 303 464 -~ 1;
#X obj 605 601 outlet~ tri;
#X obj 585 350 phasor~;
#X obj 585 372 *~ 2;
#X obj 585 394 -~ 1;
#X obj 585 416 clip~ 0 1;
#X obj 612 451 +~;
#X obj 675 351 phasor~;
#X obj 675 373 *~ 2;
#X obj 675 395 -~ 1;
#X obj 675 417 clip~ 0 1;
#X msg 689 310 0;
#X obj 630 309 *~ -1;
#X obj 691 265 loadbang;
#X obj 615 489 *~ 2;
#X obj 616 518 -~ 1;
#X text 635 239 from http://www.pd-tutorial.com/english/ch03s05.html
;
#X obj 449 423 snapshot~;
#X floatatom 469 453 5 0 0 0 - - -, f 5;
#X obj 449 380 metro 2;
#X obj 455 352 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X obj 448 302 loadbang;
#X obj 467 474 spigot;
#X text 497 186 extremes = silence fix PWM so no silence;
#X obj 449 215 clip~ 0.01 0.99;
#X obj 311 176 +~;
#X obj 276 50 inlet pwm_amt;
#X obj 463 599 outlet led;
#X floatatom 43 162 5 0 0 0 - - -, f 5;
#X connect 0 0 41 1;
#X connect 1 0 41 0;
#X connect 1 0 44 0;
#X connect 2 0 12 1;
#X connect 4 0 5 0;
#X connect 6 0 13 0;
#X connect 9 0 11 0;
#X connect 11 0 15 0;
#X connect 11 0 33 0;
#X connect 12 0 40 0;
#X connect 13 0 14 0;
#X connect 14 0 7 0;
#X connect 15 0 16 0;
#X connect 16 0 8 0;
#X connect 18 0 19 0;
#X connect 19 0 20 0;
#X connect 20 0 21 0;
#X connect 21 0 22 0;
#X connect 22 0 30 0;
#X connect 23 0 24 0;
#X connect 24 0 25 0;
#X connect 25 0 26 0;
#X connect 26 0 22 1;
#X connect 27 0 18 1;
#X connect 27 0 23 1;
#X connect 28 0 23 0;
#X connect 29 0 27 0;
#X connect 30 0 31 0;
#X connect 31 0 17 0;
#X connect 33 0 34 0;
#X connect 34 0 38 1;
#X connect 34 0 38 0;
#X connect 35 0 33 0;
#X connect 36 0 35 0;
#X connect 37 0 36 0;
#X connect 38 0 43 0;
#X connect 40 0 11 1;
#X connect 41 0 4 0;
#X connect 41 0 6 0;
#X connect 41 0 9 0;
#X connect 41 0 18 0;
#X connect 41 0 28 0;
#X connect 42 0 12 0;