-
Notifications
You must be signed in to change notification settings - Fork 22
/
vs-audiodac-throw-gui.pd
228 lines (228 loc) · 6.26 KB
/
vs-audiodac-throw-gui.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
#N canvas 361 24 793 668 10;
#X obj 101 118 cnv 15 300 80 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 105 133 nbx 5 14 -1e+37 1e+37 0 0 \$2/scale \$2/scale Scale
0 -8 0 10 -4034 -1 -1 100 256;
#X obj 166 168 nbx 5 14 -1e+37 1e+37 0 0 \$2/vert \$2/vert Vert 0 -8
0 10 -4034 -1 -1 0 256;
#X obj 166 133 nbx 5 14 -1e+37 1e+37 0 0 \$2/gamma \$2/gamma Gamma
0 -8 0 10 -4034 -1 -1 146 256;
#X text 494 397 Derek Holzer;
#X text 494 435 macumbista@gmail.com;
#X text 486 275 INLETS;
#X text 505 298 X signal;
#X text 505 318 Y signal;
#X text 505 338 B signal (0-1);
#X obj 81 72 inlet~ X;
#X obj 141 72 inlet~ Y;
#X obj 201 72 inlet~ B;
#X obj 106 168 nbx 5 14 -1e+37 1e+37 0 0 \$2/horz \$2/horz Horz 0 -8
0 10 -4034 -1 -1 0 256;
#X obj 439 9 savestate;
#X obj 490 80 f;
#X obj 513 100 f;
#X obj 529 123 f;
#X obj 544 142 f;
#X obj 530 80 f;
#X obj 553 100 f;
#X obj 306 170 hradio 15 1 0 2 \$2/offon \$2/offon Off.On -5 -8 0 10
-258113 -1 -1 1;
#X obj 288 450 kollabs/ds_reg \$1 \$2/offon;
#X obj 490 48 t b b b b b b b;
#X obj 490 163 pack 0 0 0 0 0 0 0;
#X obj 441 188 unpack 0 0 0 0 0 0 0, f 21;
#X obj 583 100 f;
#X obj 153 24 loadbang;
#X obj 288 478 catch~ \$1-master;
#X obj 288 537 s~ \$1-master;
#X obj 345 170 bng 15 250 50 0 empty empty ? 17 7 0 10 -4032 -1 -1
;
#X obj 378 277 s pd-\$2-help;
#X msg 378 255 vis 1;
#N canvas 457 28 685 670 \$2-help 0;
#X obj 37 28 cnv 15 300 130 empty empty HELP:vs-audiodac-throw-gui
20 12 0 14 -4034 -66577 0;
#X text 44 177 INSTRUCTIONS FOR USE:;
#X text 57 55 INLETS:;
#X text 81 70 1) X;
#X text 81 90 2) Y;
#X text 375 532 Derek Holzer;
#X text 375 581 macumbista@gmail.com;
#X text 81 110 3) Brightness;
#X text 375 556 Helsinki Jan 2020;
#X text 70 204 Put one [vs-audiodac-throw-gui] inside any patch you
want to send to your audio DAC. It will send the X \, Y \, and brightness
values to the [vs-audiodac-catch] abstraction. You can then switch
on and off the patch as needed \, with a fade in and fade out if desired
\, plus individual gamma (brightness curve) control over the output
of the patch as well.;
#X text 75 299 REQUIRES: one [vs-audiodac-catch] abstraction in the
main patch where your master [vs-audiodac-gui] is located.;
#X text 75 344 For best results do not place both a [vs-audiodac-throw-gui]
and a [vs-audiodac-gui] in the same patch \, as each has it's own audio
bus for the master oscillator which could cause conflict if used together.
;
#X restore 378 299 pd \$2-help;
#X obj 303 133 bng 15 250 50 0 empty empty RESET_PHASES 17 7 0 10 -258113
-1 -1;
#X obj 12 225 s \$1-reset-phase;
#X obj 435 599 outlet switch;
#X obj 286 295 r \$2/offon;
#X obj 443 575 switch~;
#X obj 81 617 vs-audiodac-throw;
#X obj 288 330 kollabs/ds_reg \$1 \$2/scale;
#X obj 288 350 kollabs/ds_reg \$1 \$2/horz;
#X obj 288 370 kollabs/ds_reg \$1 \$2/vert;
#X obj 288 390 kollabs/ds_reg \$1 \$2/gamma;
#X obj 229 133 nbx 5 14 -1e+37 1e+37 0 0 \$2/fadein \$2/fadein FadeIn_ms
0 -8 0 10 -4034 -1 -1 500 256;
#X text 494 416 Helsinki Jan 2020;
#X obj 81 280 pack 0 20;
#X obj 81 305 line~;
#X obj 81 259 / 100;
#X obj 81 333 *~;
#X obj 111 380 pack 0 20;
#X obj 111 405 line~;
#X obj 111 359 / 100;
#X obj 111 433 *~;
#X obj 21 280 pack 0 20;
#X obj 21 305 line~;
#X obj 21 259 / 100;
#X obj 171 380 pack 0 20;
#X obj 171 405 line~;
#X obj 171 359 / 100;
#X obj 171 433 *~;
#N canvas 0 23 555 376 fade 0;
#X obj 98 36 inlet~ X;
#X obj 98 242 *~;
#X obj 272 159 line~;
#X obj 523 37 inlet on off;
#X obj 272 135 pack 0 0;
#X obj 98 286 outlet~ X;
#X obj 168 242 *~;
#X obj 238 242 *~;
#X obj 168 36 inlet~ Y;
#X obj 168 286 outlet~ Y;
#X obj 238 36 inlet~ B;
#X obj 238 286 outlet~ B;
#X obj 317 37 inlet fadein_ms;
#X obj 417 37 inlet fadeout_ms;
#X obj 342 135 pack 0 0;
#X obj 523 59 select 0 1;
#X msg 523 88 0;
#X msg 551 108 1;
#X connect 0 0 1 0;
#X connect 1 0 5 0;
#X connect 2 0 1 1;
#X connect 2 0 7 1;
#X connect 2 0 6 1;
#X connect 3 0 15 0;
#X connect 4 0 2 0;
#X connect 6 0 9 0;
#X connect 7 0 11 0;
#X connect 8 0 6 0;
#X connect 10 0 7 0;
#X connect 12 0 4 1;
#X connect 13 0 14 1;
#X connect 14 0 2 0;
#X connect 15 0 16 0;
#X connect 15 1 17 0;
#X connect 16 0 14 0;
#X connect 17 0 4 0;
#X restore 81 581 pd fade;
#X f 18;
#X obj 143 535 vs-gamma;
#X obj 201 455 pack 0 20;
#X obj 201 480 line~;
#X obj 201 434 / 100;
#X obj 435 498 select 0 1;
#X obj 435 523 pipe;
#X msg 435 545 0;
#X msg 471 523 1;
#X obj 288 410 kollabs/ds_reg \$1 \$2/fadein;
#X obj 288 430 kollabs/ds_reg \$1 \$2/fadeou;
#X obj 231 168 nbx 5 14 -1e+37 1e+37 0 0 \$2/fadeout \$2/fadeout FadeOut_ms
0 -8 0 10 -4034 -1 -1 1000 256;
#X connect 1 0 15 1;
#X connect 1 0 48 0;
#X connect 1 0 52 0;
#X connect 2 0 17 1;
#X connect 2 0 59 0;
#X connect 3 0 18 1;
#X connect 3 0 65 0;
#X connect 10 0 49 1;
#X connect 11 0 53 1;
#X connect 12 0 62 0;
#X connect 13 0 16 1;
#X connect 13 0 56 0;
#X connect 14 0 25 0;
#X connect 14 1 23 0;
#X connect 15 0 24 0;
#X connect 16 0 24 1;
#X connect 17 0 24 2;
#X connect 18 0 24 3;
#X connect 19 0 24 4;
#X connect 20 0 24 5;
#X connect 23 0 15 0;
#X connect 23 1 16 0;
#X connect 23 2 17 0;
#X connect 23 3 18 0;
#X connect 23 4 19 0;
#X connect 23 5 20 0;
#X connect 23 6 26 0;
#X connect 24 0 14 0;
#X connect 25 0 1 0;
#X connect 25 1 13 0;
#X connect 25 2 2 0;
#X connect 25 3 3 0;
#X connect 25 4 44 0;
#X connect 25 5 72 0;
#X connect 25 6 21 0;
#X connect 26 0 24 6;
#X connect 27 0 1 0;
#X connect 27 0 21 0;
#X connect 27 0 13 0;
#X connect 27 0 3 0;
#X connect 27 0 2 0;
#X connect 28 0 29 0;
#X connect 30 0 32 0;
#X connect 32 0 31 0;
#X connect 34 0 35 0;
#X connect 37 0 26 1;
#X connect 37 0 66 0;
#X connect 37 0 61 5;
#X connect 44 0 19 1;
#X connect 44 0 61 3;
#X connect 46 0 47 0;
#X connect 47 0 49 0;
#X connect 48 0 46 0;
#X connect 49 0 61 0;
#X connect 50 0 51 0;
#X connect 51 0 53 0;
#X connect 52 0 50 0;
#X connect 53 0 61 1;
#X connect 54 0 55 0;
#X connect 55 0 61 0;
#X connect 56 0 54 0;
#X connect 57 0 58 0;
#X connect 58 0 60 0;
#X connect 59 0 57 0;
#X connect 60 0 61 1;
#X connect 61 0 39 0;
#X connect 61 1 39 1;
#X connect 61 2 39 2;
#X connect 62 0 61 2;
#X connect 63 0 64 0;
#X connect 64 0 62 1;
#X connect 65 0 63 0;
#X connect 66 0 67 0;
#X connect 66 1 69 0;
#X connect 67 0 68 0;
#X connect 68 0 38 0;
#X connect 68 0 36 0;
#X connect 69 0 38 0;
#X connect 69 0 36 0;
#X connect 72 0 20 1;
#X connect 72 0 67 1;
#X connect 72 0 61 4;
#X coords 0 -1 1 1 302 100 1 100 100;