forked from macumbista/vectorsynthesis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvs-operator-gui.pd
328 lines (328 loc) · 9.31 KB
/
vs-operator-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
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
#N canvas 0 135 848 549 10;
#X text 290 352 SHAPE:;
#X obj 186 275 / 100;
#X obj 148 320 sig~;
#X obj 112 319 sig~;
#X obj 112 295 / 360;
#X obj 225 40 inlet~ scale;
#X obj 53 40 inlet~ phasor;
#X text 523 463 Derek Holzer;
#X text 524 505 [email protected];
#X text 299 375 0 = SAW;
#X text 299 395 1 = SIN;
#X text 299 415 2 = TRI;
#X text 299 435 3 = SQR;
#X text 299 455 4 = STEP;
#X text 299 475 5 = RAND;
#X text 523 485 Helsinki May 2019;
#X obj 173 471 outlet~ blanking;
#X obj 141 40 inlet~ phase;
#X obj 101 115 cnv 15 300 110 empty empty empty 20 12 0 14 -233017
-66577 0;
#X obj 113 197 hradio 20 1 0 6 \$2/shape \$2/shape saw.sin.tri.sqr.stp.rnd
-8 -10 0 10 -4034 -1 -1 1;
#X obj 113 164 nbx 5 14 -1e+37 1e+37 0 0 \$2/harmonic \$2/harmonic
harmonic 0 -8 0 10 -4034 -1 -1 1 256;
#X obj 113 132 nbx 5 14 -1e+37 1e+37 0 0 \$2/frequency \$2/frequency
frequency 0 -8 0 10 -257985 -1 -1 100 256;
#X obj 175 132 nbx 5 14 -1e+37 1e+37 0 0 \$2/frequency-100 \$2/frequency-100
freq/100 0 -8 0 10 -257985 -1 -1 0 256;
#X obj 183 164 nbx 5 14 -1e+37 1e+37 0 0 \$2/offset \$2/offset offset
0 -8 0 10 -4034 -1 -1 0 256;
#X obj 253 164 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 322 165 nbx 5 14 -1e+37 1e+37 0 0 \$2/phase \$2/phase phase
0 -8 0 10 -4034 -1 -1 0 256;
#X obj 235 132 bng 15 250 50 0 empty empty Reset -6 -8 0 10 -258113
-1 -1;
#X obj 368 400 phasor~;
#X obj 79 471 outlet~ sig;
#X msg 434 288 0, f 4;
#X obj 246 275 / 100;
#N canvas 0 23 450 300 selector 0;
#X obj 139 36 inlet~;
#X obj 210 36 inlet~;
#X obj 290 36 inlet;
#X obj 152 81 select 0 1;
#X msg 140 112 0;
#X msg 152 135 1;
#X msg 212 112 0;
#X msg 224 135 1;
#X obj 139 229 *~;
#X obj 210 229 *~;
#X obj 163 257 outlet~;
#X obj 153 179 pack 0 100;
#X obj 154 203 line~;
#X obj 225 179 pack 0 100;
#X obj 226 203 line~;
#X connect 0 0 8 0;
#X connect 1 0 9 0;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 3 0 5 0;
#X connect 3 1 6 0;
#X connect 3 1 7 0;
#X connect 4 0 13 0;
#X connect 5 0 11 0;
#X connect 6 0 11 0;
#X connect 7 0 13 0;
#X connect 8 0 10 0;
#X connect 9 0 10 0;
#X connect 11 0 12 0;
#X connect 12 0 8 1;
#X connect 13 0 14 0;
#X connect 14 0 9 1;
#X restore 79 437 pd selector;
#N canvas 0 23 634 533 selector 0;
#X obj 139 36 inlet~;
#X obj 210 36 inlet~;
#X obj 380 36 inlet;
#X msg 142 112 0;
#X msg 154 135 1;
#X msg 214 112 0;
#X msg 225 135 1;
#X obj 139 239 *~;
#X obj 210 239 *~;
#X obj 163 267 outlet~;
#X obj 152 81 select 0 1 2;
#X msg 280 112 0;
#X msg 292 135 1;
#X obj 277 239 *~;
#X obj 277 36 r~ \$1-master;
#X connect 0 0 7 0;
#X connect 1 0 8 0;
#X connect 2 0 10 0;
#X connect 3 0 8 1;
#X connect 3 0 13 1;
#X connect 4 0 7 1;
#X connect 5 0 7 1;
#X connect 5 0 13 1;
#X connect 6 0 8 1;
#X connect 7 0 9 0;
#X connect 8 0 9 0;
#X connect 10 0 3 0;
#X connect 10 0 4 0;
#X connect 10 1 5 0;
#X connect 10 1 6 0;
#X connect 10 2 11 0;
#X connect 10 2 12 0;
#X connect 11 0 8 1;
#X connect 11 0 7 1;
#X connect 12 0 13 1;
#X connect 13 0 9 0;
#X connect 14 0 13 0;
#X restore 140 357 pd selector;
#X obj 322 196 nbx 5 14 -1e+37 1e+37 0 0 \$2/blanking \$2/blanking
blanking 0 -8 0 10 -4034 -1 -1 0 256;
#X obj 306 295 / 100;
#X obj 473 238 kollabs/ds_reg \$1 \$2/frequency;
#X obj 473 258 kollabs/ds_reg \$1 \$2/frequency-100;
#X obj 473 278 kollabs/ds_reg \$1 \$2/internal;
#X obj 473 298 kollabs/ds_reg \$1 \$2/harmonic;
#X obj 473 318 kollabs/ds_reg \$1 \$2/offset;
#X obj 473 338 kollabs/ds_reg \$1 \$2/scale;
#X obj 473 358 kollabs/ds_reg \$1 \$2/phase;
#X obj 473 378 kollabs/ds_reg \$1 \$2/bipolar;
#X obj 473 398 kollabs/ds_reg \$1 \$2/blanking;
#X obj 473 418 kollabs/ds_reg \$1 \$2/shape;
#X obj 367 82 r \$1-reset-phase;
#X obj 323 132 hradio 15 1 0 3 \$2/internal \$2/internal Int.Ext.Master
-12 -8 0 10 -257985 -1 -1 0;
#X obj 538 10 savestate;
#X obj 589 81 f;
#X obj 612 101 f;
#X obj 635 121 f;
#X obj 658 141 f;
#X obj 629 81 f;
#X obj 652 101 f;
#X obj 675 121 f;
#X obj 698 141 f;
#X obj 679 81 f;
#X obj 702 101 f;
#X obj 269 196 hradio 15 1 0 2 \$2/bipolar \$2/bipolar UniPol.BiPol
-22 -8 0 10 -4034 -1 -1 1;
#X obj 378 209 bng 15 250 50 0 empty empty ? 17 7 0 10 -4032 -1 -1
;
#X msg 451 187 vis 1;
#X obj 451 212 s pd-vs-operator-gui.pd;
#X obj 310 259 s pd-\$2-help;
#N canvas 19 72 837 580 \$2-help 0;
#X obj 218 11 cnv 15 400 170 empty empty HELP:vs-operator-gui 20 12
0 14 -4034 -66577 0;
#X text 219 34 INLETS;
#X text 242 73 2) Phase signal;
#X text 242 92 3) Scale signal;
#X text 219 118 OUTLETS;
#X text 242 157 2) Brightness signal;
#X text 242 137 1) Waveform signal;
#X text 49 247 0 = SAWTOOTH/RAMP wave;
#X text 49 267 1 = SINE wave;
#X text 49 287 2 = TRIANGLE wave;
#X text 49 307 3 = SQUARE wave;
#X text 34 384 The source of the ramp driving this abstraction is selected
from three options:;
#X text 45 475 EXT: ramp is taken from left-most inlet in the abstraction
;
#X text 46 499 MASTER: ramp is taken from the MASTER bus \, which could
be a [vs-phasor-gui] set to MASTER \, or the master clock of the [vs-multiplex-gui]
set to MASTER.;
#X text 420 194 Other controls:;
#X text 441 275 OFFSET adds a DC offset to the output waveform \, useful
for setting ranges.;
#X text 442 333 PHASE adjusts the phase of the output waveform.;
#X text 442 356 UNI.POL/BI.POL switches between a unipolar output (0-1)
and a bipolar ouput (-1 to +1).;
#X text 440 393 BLANKING sets the brightness output signal to zero
for a designated amount of the waveform's cycle. This is useful for
eliminating flyback lines in various Lissajous shapes \, grids \, or
rasters \, for example.;
#X text 651 481 Derek Holzer;
#X text 652 523 [email protected];
#X text 651 503 Helsinki May 2019;
#X text 441 308 SCALE adjusts the amplitude of the output waveform.
;
#X text 242 53 1) EXT external ramp (from [vs-phasor-gui] for example
;
#X text 32 195 [vs-operator-gui] takes a ramp waveform (from a [vs-phasor-gui]
for example) \, and outputs a number of waveforms \, with variable
phase and harmonics:;
#X text 441 229 HARMONIC sets the output waveform to a harmonic multiple
of the driving ramp. It also determines the number of STEP or RANDOM
steps per cycle of the driving ramp.;
#X text 45 429 INT: internal ramp generator with rough and fine tune
(freq/100) plus RESET button for phase. Set SMOOTH to ON if using MIDI
CC to control frequency.;
#X text 49 327 4 = STEP (number of steps per cycle equals HARMONIC
setting);
#X text 49 347 5 = RAND (number of steps per cycle equals HARMONIC
setting);
#X restore 406 474 pd \$2-help;
#X msg 310 237 vis 1;
#X obj 368 288 pack 0 0;
#X obj 474 439 kollabs/ds_reg \$1 \$2/smooth;
#X obj 413 266 * 20;
#X obj 481 10 loadbang;
#X obj 732 101 f;
#X obj 589 49 t b b b b b b b b b b b;
#X obj 589 164 pack 0 0 0 0 0 0 0 0 0 0 0;
#X obj 539 189 unpack 0 0 0 0 0 0 0 0 0 0 0;
#X obj 368 309 line~;
#X obj 398 379 line~;
#X obj 398 355 pack 0 0;
#X obj 398 332 / 100;
#X obj 246 295 pack 0 0;
#X obj 246 318 line~;
#X obj 186 295 pack 0 0;
#X obj 186 318 line~;
#X obj 267 132 hradio 15 1 0 2 \$2/smooth \$2/smooth ON 35 8 0 10 -257985
-1 -1 0;
#X text 266 117 Smooth;
#X obj 110 399 vs-operator;
#X obj 63 262 r \$2/shape;
#X obj 398 234 r \$2/smooth;
#X obj 287 319 r \$2/internal;
#X obj 189 399 r \$2/bipolar;
#X connect 1 0 79 0;
#X connect 2 0 83 1;
#X connect 3 0 83 2;
#X connect 4 0 3 0;
#X connect 5 0 83 4;
#X connect 6 0 32 1;
#X connect 17 0 83 2;
#X connect 20 0 2 0;
#X connect 20 0 51 1;
#X connect 21 0 65 0;
#X connect 21 0 48 1;
#X connect 22 0 76 0;
#X connect 22 0 49 1;
#X connect 23 0 30 0;
#X connect 23 0 52 1;
#X connect 24 0 1 0;
#X connect 24 0 53 1;
#X connect 25 0 4 0;
#X connect 25 0 54 1;
#X connect 26 0 29 0;
#X connect 27 0 32 0;
#X connect 29 0 27 1;
#X connect 30 0 77 0;
#X connect 31 0 28 0;
#X connect 32 0 83 0;
#X connect 33 0 34 0;
#X connect 33 0 57 1;
#X connect 34 0 83 5;
#X connect 45 0 26 0;
#X connect 47 0 72 0;
#X connect 47 1 70 0;
#X connect 48 0 71 0;
#X connect 49 0 71 1;
#X connect 50 0 71 2;
#X connect 51 0 71 3;
#X connect 52 0 71 4;
#X connect 53 0 71 5;
#X connect 54 0 71 6;
#X connect 55 0 71 7;
#X connect 56 0 71 8;
#X connect 57 0 71 9;
#X connect 58 0 31 2;
#X connect 59 0 64 0;
#X connect 60 0 61 0;
#X connect 64 0 62 0;
#X connect 65 0 73 0;
#X connect 67 0 65 1;
#X connect 67 0 75 1;
#X connect 68 0 46 0;
#X connect 68 0 58 0;
#X connect 68 0 33 0;
#X connect 68 0 26 0;
#X connect 68 0 25 0;
#X connect 68 0 24 0;
#X connect 68 0 23 0;
#X connect 68 0 22 0;
#X connect 68 0 21 0;
#X connect 68 0 20 0;
#X connect 68 0 19 0;
#X connect 68 0 81 0;
#X connect 69 0 71 10;
#X connect 70 0 48 0;
#X connect 70 1 49 0;
#X connect 70 2 50 0;
#X connect 70 3 51 0;
#X connect 70 4 52 0;
#X connect 70 5 53 0;
#X connect 70 6 54 0;
#X connect 70 7 55 0;
#X connect 70 8 56 0;
#X connect 70 9 57 0;
#X connect 70 10 69 0;
#X connect 71 0 47 0;
#X connect 72 0 21 0;
#X connect 72 1 22 0;
#X connect 72 2 46 0;
#X connect 72 3 20 0;
#X connect 72 4 23 0;
#X connect 72 5 24 0;
#X connect 72 6 25 0;
#X connect 72 7 19 0;
#X connect 72 8 58 0;
#X connect 72 9 33 0;
#X connect 72 10 81 0;
#X connect 73 0 27 0;
#X connect 74 0 27 0;
#X connect 75 0 74 0;
#X connect 76 0 75 0;
#X connect 77 0 78 0;
#X connect 78 0 28 0;
#X connect 79 0 80 0;
#X connect 80 0 83 4;
#X connect 83 0 31 1;
#X connect 83 1 31 0;
#X connect 83 2 16 0;
#X connect 84 0 83 3;
#X connect 84 0 55 1;
#X connect 85 0 67 0;
#X connect 85 0 69 1;
#X connect 86 0 32 2;
#X connect 86 0 50 1;
#X connect 87 0 31 2;
#X connect 87 0 56 1;
#X coords 0 -1 1 1 302 127 1 100 100;