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
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
|
[preset00]
fRating=3.000
fGammaAdj=2.000
fDecay=0.950
fVideoEchoZoom=1.000
fVideoEchoAlpha=0.200
nVideoEchoOrientation=3
nWaveMode=0
bAdditiveWaves=0
bWaveDots=0
bWaveThick=0
bModWaveAlphaByVolume=0
bMaximizeWaveColor=1
bTexWrap=1
bDarkenCenter=0
bRedBlueStereo=0
bBrighten=0
bDarken=0
bSolarize=0
bInvert=0
fWaveAlpha=0.001
fWaveScale=1.000
fWaveSmoothing=0.750
fWaveParam=0.000
fModWaveAlphaStart=0.750
fModWaveAlphaEnd=0.950
fWarpAnimSpeed=1.000
fWarpScale=1.000
fZoomExponent=1.00000
fShader=0.000
zoom=0.96000
rot=0.00000
cx=0.500
cy=0.500
dx=0.00000
dy=0.00000
warp=0.00052
sx=1.00000
sy=1.00000
wave_r=0.000
wave_g=0.000
wave_b=0.000
wave_x=0.500
wave_y=0.500
ob_size=0.010
ob_r=0.000
ob_g=0.000
ob_b=0.000
ob_a=1.000
ib_size=0.010
ib_r=0.250
ib_g=0.250
ib_b=0.250
ib_a=0.000
nMotionVectorsX=64.000
nMotionVectorsY=4.800
mv_dx=0.000
mv_dy=0.000
mv_l=0.900
mv_r=1.000
mv_g=1.000
mv_b=1.000
mv_a=0.000
b1n=0.000
b2n=0.000
b3n=0.000
b1x=1.000
b2x=1.000
b3x=1.000
b1ed=0.250
wavecode_0_enabled=0
wavecode_0_samples=512
wavecode_0_sep=0
wavecode_0_bSpectrum=0
wavecode_0_bUseDots=1
wavecode_0_bDrawThick=1
wavecode_0_bAdditive=1
wavecode_0_scaling=1.00000
wavecode_0_smoothing=0.50000
wavecode_0_r=1.000
wavecode_0_g=1.000
wavecode_0_b=1.000
wavecode_0_a=1.000
wavecode_1_enabled=0
wavecode_1_samples=512
wavecode_1_sep=0
wavecode_1_bSpectrum=0
wavecode_1_bUseDots=0
wavecode_1_bDrawThick=0
wavecode_1_bAdditive=0
wavecode_1_scaling=1.00000
wavecode_1_smoothing=0.50000
wavecode_1_r=1.000
wavecode_1_g=1.000
wavecode_1_b=1.000
wavecode_1_a=0.500
wave_1_per_point1=//init
wave_1_per_point2=zs = if(below(zs,1),9,zs);
wave_1_per_point3=
wave_1_per_point4=zs = if(above(zs, 1300),1, zs);
wave_1_per_point5=
wave_1_per_point6=speed = bass*0.002;
wave_1_per_point7=
wave_1_per_point8=xcoef = equal(q4,0)*2 + equal(q4,1)*2.1 + equal(q4,2)*2.2 + equal(q4,3)*2.3 + equal(q4,4)*2.4 + equal(q4,5)*2.5;
wave_1_per_point9=
wave_1_per_point10=//sum
wave_1_per_point11=zs = zs + tan(q1*0.015)*speed;
wave_1_per_point12=
wave_1_per_point13=
wave_1_per_point14=count = count + 0.0001;
wave_1_per_point15=count = if(above(count,6.24),0,count);
wave_1_per_point16=
wave_1_per_point17=//project
wave_1_per_point18=x = 0.1*cos(q1*zs*2 + 0.1);
wave_1_per_point19=y = 0.1*sin(q1*zs*1 + 0.1);
wave_1_per_point20=
wave_1_per_point21=//rotate
wave_1_per_point22=x = x*cos(-q1*3)*0.8 - y*sin(-q1*3)*0.8;
wave_1_per_point23=y = x*sin(-q1*3) + y*cos(-q1*3);
wave_1_per_point24=
wave_1_per_point25=//move
wave_1_per_point26=x = x + q6 + 0.5;
wave_1_per_point27=y = y + q7 + 0.5;
wave_1_per_point28=
wave_1_per_point29=r = 0.5 + 0.5*sin(q1*1.2 + x + x);
wave_1_per_point30=g = 0.5 + 0.5*sin(q1*1.5 + x + y);
wave_1_per_point31=b = 0.5 + 0.5*sin(q1*1.36 + y + y);
wavecode_2_enabled=0
wavecode_2_samples=512
wavecode_2_sep=0
wavecode_2_bSpectrum=0
wavecode_2_bUseDots=0
wavecode_2_bDrawThick=0
wavecode_2_bAdditive=0
wavecode_2_scaling=1.00000
wavecode_2_smoothing=0.50000
wavecode_2_r=1.000
wavecode_2_g=1.000
wavecode_2_b=1.000
wavecode_2_a=1.000
wavecode_3_enabled=0
wavecode_3_samples=512
wavecode_3_sep=0
wavecode_3_bSpectrum=0
wavecode_3_bUseDots=0
wavecode_3_bDrawThick=1
wavecode_3_bAdditive=0
wavecode_3_scaling=1.00000
wavecode_3_smoothing=0.50000
wavecode_3_r=1.000
wavecode_3_g=1.000
wavecode_3_b=1.000
wavecode_3_a=1.000
shapecode_0_enabled=1
shapecode_0_sides=4
shapecode_0_additive=0
shapecode_0_thickOutline=0
shapecode_0_textured=1
shapecode_0_num_inst=1
shapecode_0_x=0.250
shapecode_0_y=0.250
shapecode_0_rad=1.10444
shapecode_0_ang=0.00000
shapecode_0_tex_ang=0.00000
shapecode_0_tex_zoom=0.22746
shapecode_0_r=1.000
shapecode_0_g=1.000
shapecode_0_b=1.000
shapecode_0_a=1.000
shapecode_0_r2=1.000
shapecode_0_g2=1.000
shapecode_0_b2=1.000
shapecode_0_a2=0.000
shapecode_0_border_r=0.000
shapecode_0_border_g=0.000
shapecode_0_border_b=1.000
shapecode_0_border_a=0.000
shape_0_init1=tex_saw = 0.4;
shape_0_per_frame1=ang = q1*0.2;
shape_0_per_frame2=//x = 0.5 + 0.2*sin(q2);
shape_0_per_frame3=//y = 0.5 + (0.3*sin(q2));
shape_0_per_frame4=
shape_0_per_frame5=tex_capture = 1;//above(q3,2);
shape_0_per_frame6=tex_zoom = q8;
shapecode_1_enabled=1
shapecode_1_sides=4
shapecode_1_additive=0
shapecode_1_thickOutline=0
shapecode_1_textured=1
shapecode_1_num_inst=1
shapecode_1_x=0.750
shapecode_1_y=0.750
shapecode_1_rad=0.99983
shapecode_1_ang=0.00000
shapecode_1_tex_ang=0.00000
shapecode_1_tex_zoom=0.22746
shapecode_1_r=1.000
shapecode_1_g=1.000
shapecode_1_b=1.000
shapecode_1_a=1.000
shapecode_1_r2=1.000
shapecode_1_g2=1.000
shapecode_1_b2=1.000
shapecode_1_a2=0.000
shapecode_1_border_r=0.000
shapecode_1_border_g=0.000
shapecode_1_border_b=1.000
shapecode_1_border_a=0.000
shape_1_init1=tex_saw = 0.4;
shape_1_per_frame1=ang = q1*0.2;
shape_1_per_frame2=//x = 0.5 + 0.2*sin(q2);
shape_1_per_frame3=//y = 0.5 + (0.3*sin(q2));
shape_1_per_frame4=
shape_1_per_frame5=tex_capture = above(q3,2);
shape_1_per_frame6=tex_zoom = 0.6;
shapecode_2_enabled=1
shapecode_2_sides=4
shapecode_2_additive=0
shapecode_2_thickOutline=0
shapecode_2_textured=1
shapecode_2_num_inst=1
shapecode_2_x=0.400
shapecode_2_y=0.750
shapecode_2_rad=0.74180
shapecode_2_ang=0.00000
shapecode_2_tex_ang=0.00000
shapecode_2_tex_zoom=0.22746
shapecode_2_r=1.000
shapecode_2_g=1.000
shapecode_2_b=1.000
shapecode_2_a=1.000
shapecode_2_r2=1.000
shapecode_2_g2=1.000
shapecode_2_b2=1.000
shapecode_2_a2=0.000
shapecode_2_border_r=0.000
shapecode_2_border_g=0.000
shapecode_2_border_b=1.000
shapecode_2_border_a=0.000
shape_2_init1=tex_saw = 0.4;
shape_2_per_frame1=ang = q1*0.2;
shape_2_per_frame2=//x = 0.5 + 0.2*sin(q2);
shape_2_per_frame3=//y = 0.5 + (0.3*sin(q2));
shape_2_per_frame4=
shape_2_per_frame5=tex_capture = above(q3,1);
shape_2_per_frame6=tex_zoom = 0.4;
shapecode_3_enabled=1
shapecode_3_sides=100
shapecode_3_additive=0
shapecode_3_thickOutline=0
shapecode_3_textured=0
shapecode_3_num_inst=1
shapecode_3_x=0.500
shapecode_3_y=0.500
shapecode_3_rad=0.98608
shapecode_3_ang=0.00000
shapecode_3_tex_ang=0.00000
shapecode_3_tex_zoom=1.00000
shapecode_3_r=0.000
shapecode_3_g=0.000
shapecode_3_b=0.000
shapecode_3_a=0.000
shapecode_3_r2=0.000
shapecode_3_g2=0.000
shapecode_3_b2=0.000
shapecode_3_a2=0.200
shapecode_3_border_r=1.000
shapecode_3_border_g=1.000
shapecode_3_border_b=1.000
shapecode_3_border_a=0.000
shape_3_per_frame1=x = 0.5 + 0.4*sin(q1*0.45);
shape_3_per_frame2=y = 0.5 + 0.4*sin(q1*0.5);
shape_3_per_frame3=
shape_3_per_frame4=r2 = 0.5 + 0.5*sin(q1 *0.458);
shape_3_per_frame5=g2 = 0.5 + 0.5*sin(q1 *0.858);
shape_3_per_frame6=b2 = 0.5 + 0.5*sin(q1 *0.658);
per_frame_init_1=zoomy = 1;
per_frame_1=basstime = basstime + bass*0.03;
per_frame_2=q1 = basstime;
per_frame_3=
per_frame_4=//start in most active range
per_frame_5=basstime = if(below(basstime,450),450,basstime);
per_frame_6=basstime = if(above(basstime,495),450,basstime);
per_frame_7=
per_frame_8=basstime = basstime + bass_att*0.03;
per_frame_9=vol = pow(bass+mid+treb,2);
per_frame_10=basssum = vol;
per_frame_11=
per_frame_12=stickybit = time%2;
per_frame_13=
per_frame_14=//avg vol
per_frame_15=//buffer 1
per_frame_16=volAvg = volAvg + vol*equal(stickybit,1);
per_frame_17=//number of samples 1 or framerate
per_frame_18=sample1 = sample1 + equal(stickybit,1);
per_frame_19=//buffer 2
per_frame_20=volAvg2 = volAvg2 + vol*equal(stickybit,0);
per_frame_21=//number of samples 2
per_frame_22=sample2 = sample2 + equal(stickybit,0);
per_frame_23=
per_frame_24=//transision
per_frame_25=edge = bnot(equal(bit2,stickybit));
per_frame_26=
per_frame_27=volAvg = volAvg - volAvg*edge*stickybit;
per_frame_28=volAvg2 = volAvg2 - volAvg2*edge*equal(stickybit,0);
per_frame_29=
per_frame_30=sample1 = sample1 - sample1*edge*stickybit;
per_frame_31=sample2 = sample2 - sample2*edge*equal(stickybit,0);
per_frame_32=
per_frame_33=//test vol against avg buffer lvl
per_frame_34=diff = if(equal(stickybit,1), (basssum/(volAvg2/sample2)) , 0);
per_frame_35=diff = if(equal(stickybit,0), (basssum/(volAvg/sample1)), diff);
per_frame_36=
per_frame_37=q3 = diff;
per_frame_38=
per_frame_39=bit2 = time%2;
per_frame_40=
per_frame_41=state = if(above(state,5),0,state);
per_frame_42=state = state + above(diff,3);
per_frame_43=q4 = state;
per_frame_44=
per_frame_45=difftime = difftime + diff*0.03;
per_frame_46=q2 = difftime;
per_frame_47=
per_frame_48=//fix a strange error
per_frame_49=difftime = if(above(difftime,2000),0, difftime);
per_frame_50=
per_frame_51=//toggle zoom in and out
per_frame_52=zoom_in = zoom_in + above(diff,4);
per_frame_53=zoom_in = if(above(zoom_in,2),0,zoom_in);
per_frame_54=q5 = zoom_in;
per_frame_55=
per_frame_56=
per_frame_57=tex_saw = tex_saw - 0.002*diff;
per_frame_58=flag = below(tex_saw,0.1);
per_frame_59=tex_saw = if(below(tex_saw,0.1),0.6,tex_saw);
per_frame_60=state_echo = state_echo + flag;
per_frame_61=
per_frame_62=q8 = tex_saw;
per_frame_63=monitor = tex_saw;
per_frame_64=
per_frame_65=
per_frame_66=//obtain lock while zooming out
per_frame_67=lock = if(equal(lock,0),bnot(equal(flag, prev_edge)),1);
per_frame_68=
per_frame_69=//gradient zoom out
per_frame_70=lock = if(equal(state_echo,0),0,lock);
per_frame_71=lock = if(equal(state_echo,1),0,lock);
per_frame_72=lock = if(equal(state_echo,2)*(below(zoomy,0.3505)),0,lock);
per_frame_73=lock = if(equal(state_echo,3)*(below(zoomy,0.205)),0,lock);
per_frame_74=
per_frame_75=zoomy = zoomy - zoomy*0.02*lock;
per_frame_76=
per_frame_77=zoomy = equal(state_echo,4)*1.05 + bnot(equal(state_echo,4))*zoomy;
per_frame_78=echo_zoom = zoomy;
per_frame_79=
per_frame_80=monitor = tex_saw;
per_frame_81=
per_frame_82=state_echo = if(above(state_echo,3),0,state_echo);
per_frame_83=//for edge detection
per_frame_84=prev_edge = flag;
per_pixel_1=zoom = 1 - equal(q5,0)*0.1*q3 + equal(q5,1)*0.1*q3;
per_pixel_2=
per_pixel_3=saw_r = saw_r + 0.0001*bass;
per_pixel_4=saw_r = if(above(saw_r,1),0,saw_r);
per_pixel_5=
per_pixel_6=saw_g = saw_g + 0.00012*bass;
per_pixel_7=saw_g = if(above(saw_g,1),0,saw_g);
per_pixel_8=
per_pixel_9=saw_b = saw_b + 0.00011*bass;
per_pixel_10=saw_b = if(above(saw_b,1),0,saw_b);
per_pixel_11=
per_pixel_12=
per_pixel_13=decay_r = 5 - x*y*saw_r;
per_pixel_14=decay_g = 5 - y*x*saw_g;
per_pixel_15=decay_b = 5 - x*y*saw_b;
per_pixel_16=
per_pixel_17=rot = 0;
per_pixel_18=zoom = 1;
|