forked from macumbista/vectorsynthesis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vs-poly-help.pd
62 lines (62 loc) · 1.99 KB
/
vs-poly-help.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
#N canvas 20 60 897 703 10;
#X obj 54 43 cnv 15 300 400 empty empty empty 20 12 0 14 -233017 -66577
0;
#X text 482 336 Derek Holzer;
#X text 482 385 [email protected];
#X obj 57 210 cnv 15 100 60 empty empty empty 20 12 0 14 -191407 -66577
0;
#X obj 67 177 phasor~;
#X obj 67 48 nbx 5 14 -1e+37 1e+37 0 1 empty empty frequency 60 8 0
10 -4034 -1 -1 100 256;
#X obj 129 134 sig~;
#X obj 129 91 nbx 5 14 -1e+37 1e+37 0 1 empty empty phase 60 8 0 10
-4034 -1 -1 90 256;
#X obj 89 112 sig~;
#X obj 89 67 nbx 5 14 -1e+37 1e+37 0 1 empty empty segments 60 8 0
10 -4034 -1 -1 5 256;
#X obj 169 157 sig~;
#X obj 169 134 / 100;
#X obj 169 115 nbx 5 14 -1e+37 1e+37 0 1 empty empty scale 60 8 0 10
-4034 -1 -1 30 256;
#X obj 195 392 tgl 15 1 empty empty ON_OFF 17 7 0 10 -258113 -1 -1
0 1;
#X obj 195 420 switch~;
#X obj 67 373 dac~ 1 2 3;
#X obj 209 179 sig~;
#X obj 209 157 / 100;
#X obj 209 137 nbx 5 14 -1e+37 1e+37 0 1 empty empty brightness 60
8 0 10 -4034 -1 -1 90 256;
#X obj 129 112 / 360;
#X obj 262 160 nbx 5 14 -1e+37 1e+37 0 1 empty empty smoothing_freq
60 8 0 10 -4034 -1 -1 200 256;
#X text 482 360 Helsinki May 2018;
#X text 425 157 A phase of 90 degrees (= 0.25) gives a normal polygon
shape. Phase modulation skews the shape of the polygon.;
#X obj 262 179 sig~;
#X text 421 49 [V-poly] is a simple \, [phasor~] driven polygon generator
with a variable number of segments. The smoothing frequency controls
a lowpass filter. No smoothing gives only points. An ideal smoothing
frequency is double the frequency of the [phasor~].;
#X obj 262 97 * 2;
#X obj 67 228 VS-poly, f 9;
#X connect 4 0 26 0;
#X connect 5 0 4 0;
#X connect 5 0 25 0;
#X connect 6 0 26 2;
#X connect 7 0 19 0;
#X connect 8 0 26 1;
#X connect 9 0 8 0;
#X connect 10 0 26 3;
#X connect 11 0 10 0;
#X connect 12 0 11 0;
#X connect 13 0 14 0;
#X connect 16 0 26 4;
#X connect 17 0 16 0;
#X connect 18 0 17 0;
#X connect 19 0 6 0;
#X connect 20 0 23 0;
#X connect 23 0 26 5;
#X connect 25 0 20 0;
#X connect 26 0 15 0;
#X connect 26 1 15 1;
#X connect 26 2 15 2;