**References :** Posted by Partice Tarrabia and Bram de Jong

**Notes :**

amount should be in [-1..1[ Plot it and stand back in astonishment! ;)

**Code :**

x = input in [-1..1]

y = output

k = 2*amount/(1-amount);

f(x) = (1+k)*x/(1+k*abs(x))

**Comments**

__from__ : kaleja[AT]estarcion[DOT]com

__comment__ : I haven't compared this to the other waveshapers, but its behavior with input outside the [-1..1] range is interesting. With a relatively moderate shaping amounts which don't distort in-range signals severely, it damps extremely out-of-range signals fairly hard, e.g. x = 100, k = 0.1 yields y = 5.26; as x goes to infinity, y approaches 5.5. This might come in handy to control nonlinear processes which would otherwise be prone to computational blowup.

__from__ : a[AT]b[DOT]com

__comment__ : This is one of my faves...

__from__ : dpsciarrino[AT]yahoo[DOT]com

__comment__ : How did you come up with the equation?