File: che - barcode infidelity.milk

package info (click to toggle)
projectm 2.1.0+dfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 32,348 kB
  • ctags: 13,907
  • sloc: cpp: 31,087; ansic: 26,914; sh: 816; makefile: 17
file content (113 lines) | stat: -rw-r--r-- 3,249 bytes parent folder | download | duplicates (4)
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
[preset00]
fRating=2
fGammaAdj=1
fDecay=0.992
fVideoEchoZoom=1.489606
fVideoEchoAlpha=0
nVideoEchoOrientation=0
nWaveMode=7
bAdditiveWaves=0
bWaveDots=0
bWaveThick=0
bModWaveAlphaByVolume=0
bMaximizeWaveColor=0
bTexWrap=1
bDarkenCenter=0
bRedBlueStereo=0
bBrighten=0
bDarken=0
bSolarize=0
bInvert=0
fWaveAlpha=1.000416
fWaveScale=0.303117
fWaveSmoothing=0
fWaveParam=-0.6
fModWaveAlphaStart=1
fModWaveAlphaEnd=1
fWarpAnimSpeed=1
fWarpScale=1
fZoomExponent=1.000158
fShader=0.8
zoom=1.000223
rot=0
cx=0.5
cy=0.5
dx=0
dy=0
warp=0
sx=1
sy=1
wave_r=0.5
wave_g=0.5
wave_b=0.5
wave_x=0.501
wave_y=0.99
ob_size=0.34
ob_r=0
ob_g=0
ob_b=0
ob_a=0.2
ib_size=0
ib_r=0.25
ib_g=0.25
ib_b=0.25
ib_a=1
nMotionVectorsX=2.048001
nMotionVectorsY=47.999996
mv_dx=-0.08
mv_dy=0
mv_l=5
mv_r=1
mv_g=1
mv_b=1
mv_a=0
per_frame_1=// timed sidon sensor
per_frame_2=// le = signal level; desired average value = 2
per_frame_3=le=1.4*bass_att+.1*bass+.5*treb;
per_frame_4=pulse=above(le,th);
per_frame_5=// pulsefreq = running average of interval between last 5 pulses
per_frame_6=pulsefreq=if(equal(pulsefreq,0),2,
per_frame_7=if(pulse,.8*pulsefreq+.2*(time-lastpulse),pulsefreq));
per_frame_8=lastpulse=if(pulse,time,lastpulse);
per_frame_9=// bt = relative time; 0 = prev beat; 1 = expected beat
per_frame_10=bt=(time-lastbeat)/(.5*beatfreq+.5*pulsefreq);
per_frame_11=// hccp = handcicap for th driven by bt
per_frame_12=hccp=(.03/(bt+.2))+.5*if(band(above(bt,.8),below(bt,1.2)),
per_frame_13=(pow(sin((bt-1)*7.854),4)-1),0);
per_frame_14=beat=band(above(le,th+hccp),btblock);
per_frame_15=btblock=1-above(le,th+hccp);
per_frame_16=lastbeat=if(beat,time,lastbeat);
per_frame_17=beatfreq=if(equal(beatfreq,0),2,
per_frame_18=if(beat,.8*beatfreq+.2*(time-lastbeat),beatfreq));
per_frame_19=// th = threshold
per_frame_20=th=if(above(le,th),le+114/(le+10)-7.407,
per_frame_21=th+th*.07/(th-12)+below(th,2.7)*.1*(2.7-th));
per_frame_22=th=if(above(th,6),6,th);
per_frame_23=thccl=thccl+(th-2.5144);
per_frame_24=
per_frame_25=bccl=bccl+beat;
per_frame_26=q1=thccl;
per_frame_27=q2=bccl;
per_frame_28=
per_frame_29=wave_r=sqr(sin(.016*thccl+bccl+frame%2));
per_frame_30=wave_g=sqr(sin(.018*thccl+bccl+frame%2));
per_frame_31=wave_b=sqr(sin(.017*thccl+bccl+frame%2));
per_frame_32=wave_x=if(frame%2,.501,.5);
per_frame_33=wave_y=if(frame%2,.99,.5);
per_frame_34=wave_mode=if(frame%2,7,0);
per_frame_35=wave_mystery=if(frame%2,0,-.6);
per_frame_36=
per_frame_37=ob_a=if(above(sin(.005*thccl+bccl),.9),.05*(1+sin(time)),0);
per_pixel_1=//middle part
per_pixel_2=zoom=1+above(sin(1.7*q2),-.5)*.1*sin(2*q2+.027*q1+4*(1+sin(.7*time+q2))*sin(.05*q2+time)*rad);
per_pixel_3=rot=.1*sin(q2)*sin(2.3*q2+.027*q1+2*sin(.07*q1+1.2*time)*(rad+sin(time+above(sin(q2),0)*4*sin(q2)*ang)));
per_pixel_4=rot=above(sin(1.2*q2+1.3),-.5)*rot;
per_pixel_5=
per_pixel_6=//borders
per_pixel_7=brdr=bor(below(y,.15),above(y,.85));
per_pixel_8=dy=if(below(y,.15),y,0)+if(above(y,.85),-1+y,0)+if(brdr,0,dy);
per_pixel_9=dx=if(brdr,.01*sin(.02*q1+x+3*ang+10*y),dx);
per_pixel_10=rot=if(brdr,0,rot);
per_pixel_11=zoom=if(brdr,1,zoom);
per_pixel_12=sx=if(brdr,1,sx);
per_pixel_13=sy=if(brdr,1,sy);