PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/xbmc/visualizations/XBMCProjectM/libprojectM/presets/StudioMusic & Unchained - Wrenched Fate.milk

http://github.com/xbmc/xbmc
Unknown | 100 lines | 100 code | 0 blank | 0 comment | 0 complexity | 6f5eb37401d6fb8d91be355465ec1b13 MD5 | raw file
  1[preset00]
  2fRating=3.000000
  3fGammaAdj=1.999001
  4fDecay=0.980000
  5fVideoEchoZoom=0.998100
  6fVideoEchoAlpha=0.500000
  7nVideoEchoOrientation=1
  8nWaveMode=5
  9bAdditiveWaves=0
 10bWaveDots=0
 11bModWaveAlphaByVolume=1
 12bMaximizeWaveColor=1
 13bTexWrap=1
 14bDarkenCenter=0
 15bMotionVectorsOn=0
 16bRedBlueStereo=0
 17nMotionVectorsX=64
 18nMotionVectorsY=1
 19bBrighten=0
 20bDarken=0
 21bSolarize=0
 22bInvert=0
 23fWaveAlpha=13.378749
 24fWaveScale=0.717349
 25fWaveSmoothing=0.531000
 26fWaveParam=0.020000
 27fModWaveAlphaStart=0.750000
 28fModWaveAlphaEnd=0.950000
 29fWarpAnimSpeed=1.208100
 30fWarpScale=1.263386
 31fZoomExponent=0.111607
 32fShader=0.509900
 33zoom=0.054279
 34rot=0.000000
 35cx=0.500000
 36cy=0.500000
 37dx=0.000000
 38dy=0.000000
 39warp=1.333300
 40sx=0.999901
 41sy=0.999901
 42wave_r=0.250000
 43wave_g=0.350000
 44wave_b=0.700000
 45wave_x=0.500000
 46wave_y=0.500000
 47ob_size=0.010000
 48ob_r=0.500000
 49ob_g=0.250000
 50ob_b=0.150000
 51ob_a=0.970000
 52ib_size=0.010000
 53ib_r=0.100000
 54ib_g=0.300000
 55ib_b=0.500000
 56ib_a=0.970000
 57per_frame_1=warp=0;
 58per_frame_2=old_bass_flop=bass_flop;
 59per_frame_3=old_treb_flop=treb_flop;
 60per_frame_4=old_mid_flop=mid_flop;
 61per_frame_5=chaos=.9+.1*sin(pulse);
 62per_frame_6=entropy=if(bnot(entropy),2,if(equal(pulse,-20),1+rand(3),entropy));
 63per_frame_7=bass_thresh = above(bass_att,bass_thresh)*2 + (1-above(bass_att,bass_thresh))*((bass_thresh-1.3)*chaos+1.3);
 64per_frame_8=bass_flop=abs(bass_flop-equal(bass_thresh,2));
 65per_frame_9=treb_thresh=above(treb_att,treb_thresh)*2 + (1-above(treb_att,treb_thresh))*((treb_thresh-1.3)*chaos+1.3);
 66per_frame_10=treb_flop=abs(treb_flop-equal(treb_thresh,2));
 67per_frame_11=mid_thresh=above(mid_att,mid_thresh)*2 + (1-above(mid_att,mid_thresh))*((mid_thresh-1.3)*chaos+1.3);
 68per_frame_12=mid_flop=abs(mid_flop-equal(mid_thresh,2));
 69per_frame_13=bass_changed=bnot(equal(old_bass_flop,bass_flop));
 70per_frame_14=mid_changed=bnot(equal(old_mid_flop,mid_flop));
 71per_frame_15=treb_changed=bnot(equal(old_treb_flop,treb_flop));
 72per_frame_16=bass_residual = bass_changed*sin(pulse*bass_thresh*.1*entropy) + bnot(bass_changed)*bass_residual;
 73per_frame_17=treb_residual = treb_changed*sin(pulse*treb_thresh*.1*entropy) + bnot(treb_changed)*treb_residual;
 74per_frame_18=mid_residual = mid_changed*sin(pulse*mid_thresh*.1*entropy) + bnot(mid_changed)*mid_residual;
 75per_frame_19=pulse=if(above(abs(pulse),20),-20,pulse+.1*bor(bor(bass_changed,treb_changed),mid_changed)+(mid_thresh+bass_thresh+treb_thresh)*entropy*.025);
 76per_frame_20=q1=mid_residual;
 77per_frame_21=q2=bass_residual;
 78per_frame_22=q3=treb_residual;
 79per_frame_23=q4=sin(pulse);
 80per_frame_24=q5=sin(pulse/2);
 81per_frame_25=wave_r=wave_r+.5*bass_residual;
 82per_frame_26=wave_r=wave_g+.5*mid_residual;
 83per_frame_27=wave_r=wave_b+.5*treb_residual;
 84per_frame_28=wave_mystery=mid_residual;
 85per_frame_29=ob_r=if(bass_flop,treb_flop,wave_r);
 86per_frame_30=ob_b=if(treb_flop,mid_flop,wave_b);
 87per_frame_31=ob_g=if(mid_flop,bass_flop,wave_g);
 88per_frame_32=ob_a=.03+.02*wave_r;
 89per_frame_33=ob_size=.25+.25*treb_residual;
 90per_frame_34=ib_size=.05+.04*bass_residual;
 91per_frame_35=ib_r = if(bass_flop,ob_b,.5+ 0.2*sin(time*0.5413));
 92per_frame_36=ib_g = if(treb_flop,ob_g,.5 + 0.2*sin(time*0.6459));
 93per_frame_37=ib_b = if(mid_flop,ob_r,.5 + 0.2*sin(time*0.4354));
 94per_frame_38=rot = rot + 0.04*q1;
 95per_frame_39=zoom=max(0.98, 0.2+0.35*bass_thresh);
 96per_pixel_1=radix=if(above(q3,0),min(x,y),max(x,y));
 97per_pixel_2=radix=if(above(q2,0),min(radix,rad),max(radix,rad));
 98per_pixel_3=rot=if(above(q4,0),rad*.2*q5,rot);
 99per_pixel_4=zoom=if(above(q2,0),zoom,if(above(q3,0),zoom+q1*.05,zoom+.07*cos(radix*10*q1)));
100per_pixel_5=rot=if(equal(q1,1),rad*(sin(mid+treb)/7),rad*(sin(-mid-treb)/7));