// Alberto PG (C) 2012 desc:APG/Valve 1.1 slider1:1<0,10,0.001>Input slider2:1<0,1,0.001>Trim @init @slider input=slider1; trim=slider2/1.5; @sample in0=spl0*input; in1=spl1*input; drive = 1/4; wet0 = sin(in0 * (drive*$pi)) + cos(in0 * (drive*$pi))-1; wet1 = sin(in1 * (drive*$pi)) + cos(in1 * (drive*$pi))-1; spl0 = (in0 + wet0)*trim; spl1 = (in1 + wet1)*trim;