At the end of the code I multiplied everything with *10 and added a tanh function .
Altough the output remains healthy and not clipping , I get none of the sat. qualities that a tanh curve should provide
(
{
var dinger, donger,sweeper,swepper;
swepper=XLine.kr(10,0.001,10);
sweeper=XLine.kr(0.001,100,20);
dinger=[2,1];
donger=Ringz.ar(Dust.ar(dinger,1),[108,110],[0.5,0.7])*10;
SinOsc.ar(0,donger)!2//
*10.tanh//this should add a nice sat.curve
}.
play
)
Inserting the tanh on the previous linedoes add a sat .curve , but how do I muliplty the input into the tanh function ?
A simple *10.tanh does not do it
(
{
var dinger, donger,sweeper,swepper;
swepper=XLine.kr(10,0.001,10);
sweeper=XLine.kr(0.001,100,20);
dinger=[2,1];
donger=Ringz.ar(Dust.ar(dinger,1),[108,110],[0.5,0.7])*10;
SinOsc.ar(0,donger).tanh!2//
*0.5
}.
play
)