-
Notifications
You must be signed in to change notification settings - Fork 22
/
vs-decimate-help.pd
159 lines (159 loc) · 4.58 KB
/
vs-decimate-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
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
#N canvas 164 23 1085 600 10;
#X obj 19 35 cnv 15 300 500 empty empty 3D_SHAPE 20 12 0 14 -233017
-66577 0;
#X obj 333 36 cnv 15 300 500 empty empty DECIMATION_+_XYZ_ROTATION
20 12 0 14 -233017 -66577 0;
#X obj 46 512 dac~ 1 2 3;
#X obj 242 131 sig~;
#X obj 242 90 nbx 5 14 -1e+37 1e+37 0 1 empty empty brightness 0 -8
0 10 -4034 -1 -1 90 256;
#X obj 142 109 / 100;
#X obj 46 89 nbx 7 14 -1e+37 1e+37 0 1 empty empty freq 0 -8 0 10 -4034
-1 -1 50 256;
#X obj 141 134 sig~;
#X obj 142 90 nbx 5 14 -1e+37 1e+37 0 1 empty empty scale 0 -8 0 10
-4034 -1 -1 45 256;
#X obj 46 109 phasor~;
#X obj 242 109 / 100;
#X obj 356 368 nbx 5 14 -1e+37 1e+37 0 1 empty empty freq/100 0 -8
0 10 -4034 -1 -1 10 256;
#X obj 356 422 phasor~;
#X obj 456 368 nbx 5 14 -1e+37 1e+37 0 1 empty empty freq/100 0 -8
0 10 -4034 -1 -1 10 256;
#X obj 456 422 phasor~;
#X obj 546 368 nbx 5 14 -1e+37 1e+37 0 1 empty empty freq/100 0 -8
0 10 -4034 -1 -1 10 256;
#X obj 546 422 phasor~;
#X text 895 477 Derek Holzer;
#X text 895 526 macumbista@gmail.com;
#X obj 552 486 tgl 15 1 empty empty ON_OFF 17 7 0 10 -258113 -1 -1
0 1;
#X obj 552 511 switch~;
#X obj 546 392 / 100;
#X obj 456 392 / 100;
#X obj 356 392 / 100;
#X obj 349 177 sig~;
#X obj 349 133 nbx 7 14 -1e+37 1e+37 0 1 empty empty multiples 0 -8
0 10 -4034 -1 -1 100 256;
#X obj 428 177 sig~;
#X obj 428 133 nbx 5 14 -1e+37 1e+37 0 1 empty empty phase 0 -8 0 10
-4034 -1 -1 0 256;
#X obj 428 152 / 360;
#X obj 488 178 sig~;
#X obj 488 133 nbx 5 14 -1e+37 1e+37 0 1 empty empty smoothing_freq
0 -8 0 10 -4034 -1 -1 19912.1 256;
#X obj 491 72 hsl 128 15 0 135 0 1 empty empty empty -2 -8 0 10 -4034
-1 -1 12700 1;
#X obj 488 95 mtof;
#X obj 578 177 sig~;
#X obj 578 133 nbx 5 14 -1e+37 1e+37 0 1 empty empty blanking 0 -8
0 10 -4034 -1 -1 50 256;
#X obj 578 152 / 100;
#X text 895 501 Helsinki May 2018;
#X obj 489 249 hsl 128 15 0 135 0 1 empty empty noise_clock -2 -8 0
10 -4034 -1 -1 12700 1;
#X text 354 335 X ROTATION;
#X text 454 335 Y ROTATION;
#X text 544 335 Z ROTATION;
#N canvas 0 22 450 300 switch 0;
#X obj 127 29 inlet~;
#X obj 127 225 outlet~;
#X obj 246 58 select 0 1;
#X obj 127 128 *~;
#X obj 177 29 inlet~;
#X obj 177 128 *~;
#X msg 246 92 0;
#X msg 263 114 1;
#X msg 286 92 0;
#X msg 303 114 1;
#X obj 246 29 inlet;
#X connect 0 0 3 0;
#X connect 2 0 6 0;
#X connect 2 0 7 0;
#X connect 2 1 8 0;
#X connect 2 1 9 0;
#X connect 3 0 1 0;
#X connect 4 0 5 0;
#X connect 5 0 1 0;
#X connect 6 0 5 1;
#X connect 7 0 3 1;
#X connect 8 0 3 1;
#X connect 9 0 5 1;
#X connect 10 0 2 0;
#X restore 95 360 pd switch;
#X obj 222 197 hradio 25 1 1 2 empty empty clock_source -10 -8 0 10
-4034 -1 -1 0;
#X text 169 202 phasor~;
#X text 279 202 noise~;
#X text 650 168 Smoothing slews the points into lines \, and blanking
controls the intensity of the beam in between the points. Phase can
adjust the position of the points respective to the start of the ramp.
;
#N canvas 0 22 450 300 noise_clock 0;
#X obj 146 47 inlet;
#X obj 125 209 outlet~;
#X obj 125 110 noise~;
#X obj 125 133 lop~;
#X obj 146 89 mtof;
#X obj 125 157 expr~ $v1 < 0.02;
#X connect 0 0 4 0;
#X connect 2 0 3 0;
#X connect 3 0 5 0;
#X connect 4 0 3 1;
#X connect 5 0 1 0;
#X restore 486 282 pd noise_clock;
#X obj 46 470 VS-rotate;
#X obj 46 392 VS-decimate, f 17;
#X obj 46 201 VS-icosahedron \$0;
#X text 651 37 [VS-decimate] reduces a continuous vector signal to
points. These points can be multiples of the ramp used to draw a 2D
or 3D shape \, if the same ramp is sent to the 5th inlet of the abstracton.
The multiples ramp could also come from a master clock \, in the case
of a multiplexing patch for example. Or an arbitrary signal can be
used \, such as the noise clock shown here.;
#X connect 3 0 49 2;
#X connect 4 0 10 0;
#X connect 5 0 7 0;
#X connect 6 0 9 0;
#X connect 7 0 49 1;
#X connect 8 0 5 0;
#X connect 9 0 41 0;
#X connect 9 0 49 0;
#X connect 10 0 3 0;
#X connect 11 0 23 0;
#X connect 12 0 47 4;
#X connect 13 0 22 0;
#X connect 14 0 47 5;
#X connect 15 0 21 0;
#X connect 16 0 47 6;
#X connect 19 0 20 0;
#X connect 21 0 16 0;
#X connect 22 0 14 0;
#X connect 23 0 12 0;
#X connect 24 0 48 5;
#X connect 25 0 24 0;
#X connect 26 0 48 6;
#X connect 27 0 28 0;
#X connect 28 0 26 0;
#X connect 29 0 48 7;
#X connect 30 0 29 0;
#X connect 31 0 32 0;
#X connect 32 0 30 0;
#X connect 33 0 48 8;
#X connect 34 0 35 0;
#X connect 35 0 33 0;
#X connect 37 0 46 0;
#X connect 41 0 48 4;
#X connect 42 0 41 2;
#X connect 46 0 41 1;
#X connect 47 0 2 0;
#X connect 47 1 2 1;
#X connect 47 3 2 2;
#X connect 48 0 47 0;
#X connect 48 1 47 1;
#X connect 48 2 47 2;
#X connect 48 3 47 3;
#X connect 49 0 48 0;
#X connect 49 1 48 1;
#X connect 49 2 48 2;
#X connect 49 3 48 3;