[sdiy] tanh distortion in a filter

Olivier Gillet ol.gillet at gmail.com
Thu Apr 14 00:43:17 CEST 2011

Caveat: I've never used it in a SVF

> What does it do?  (as in what does it sound like?)

Slight fuzz / soft clipping.

> I assume tanh is something probably best implemented as a table - or is
> there a reasonably good simply implemented approximation that can be used?

The most common approach (at least on machines with a FPU!) is an
approximation with a rational fraction:


KVRaudio and musicdsp are the places to search for this kind of information.


More information about the Synth-diy mailing list