Distortion, Crossover

Download

     Disclaimer...

23   desc:Distortion, Crossover, v1.0.0
24  
25   slider1:0.05<0,0.1,0.001>Threshold
26   slider2:1<1,10,0.01>Linear Gain
27  
28   @init
29   thresh = 0.05;
30   gain = 0;
31  
32   @slider
33   thresh = slider1;
34   gain = slider2;
35  
36   @sample
37   spl0 = spl0;
38   spl0 > 0 ? (
39   input -= th;
40   ) : (
41   input += th;
42   );
43  
44   spl0 < thresh ? (
45   spl0 > -thresh ? (
46   spl0 = spl0 * gain;
47   );
48   );
49  

Download