desc:Amplitude Split Macro slider1:0<-60,6,.1>Threshold (dB) slider2:3<0,500,1>Attack (ms) slider3:10<0,1000,1>Hold (ms) slider4:50<0,5000,1>Release (ms) // map ReaGate Threshold to this! slider5:0<0,100,.1>Threshold (%) in_pin:low input left in_pin:low input right out_pin:high left output out_pin:high right output out_pin:low left output out_pin:low right output out_pin:orig left output out_pin:orig right output @slider scaletodB = 8.689; // map dB scale to 0 to 100 slider5=exp(slider1/scaletodB)*50; @sample spl0 = spl0; spl1 = spl1; spl2 = spl0; spl3 = spl1; spl4 = spl0; spl5 = spl1;