[sdiy] tanh distortion in a filter

Harry Bissell harrybissell at wowway.com
Thu Apr 14 19:05:32 CEST 2011


in some ways you're treading on ground already trod many times in the guitar stompbox DIY arena.
The largest number of 'distortion' effects use some form of limiting just like you are proposing,
although they usually desire to really clip the signal, as opposed to a subtle 'rounding' effect.

Often these circuits use diodes as the waveshaping elements, but almost all semiconductors could be
pressed into service as well.

Guitar distortion also explores asymmetrical clipping, as well as just plain waveform mangling
(which is outside our current discussion).

The Moog Etherwave theremin used the overload characteristics of the OTA as a tone shaping element.
Many other examples are out there...

The Moog ladder is curious, at low input levels its capable of very high Q values, but overdrive it and the
resonance falls off rapidly, making it more like a waveshaper than filter. Supposedly this was an accident
in the Minimoog caused by allowing too-high signals in the filter stage...

Saying you are walking familiar ground does NOT imply that its not good ground to walk on, its fascinating
territory !!!

H^) harry



----- Original Message -----
From: David G. Dixon <dixon at interchange.ubc.ca>
To: 'Harry Bissell' <harrybissell at wowway.com>
Cc: 'Olivier Gillet' <ol.gillet at gmail.com>, 'music maker' <music.maker at gte.net>, synth-diy at dropmix.xs4all.nl
Sent: Thu, 14 Apr 2011 12:44:19 -0400 (EDT)
Subject: RE: [sdiy] tanh distortion in a filter

> The 'sine shaper' only works at one particular input 
> amplitude. Too low, it does not distort, too high and you get 
> a square wave anyway. I was thinking it could be 'good' for a 
> filter but then changing input amplitude changed my mind.

Right, but isn't this still more or less what you want a distorting preamp
to do: distort high-level inputs and leave low-level ones alone?  This
sounds like an asset to me, rather than a drawback.

Simulations suggest that this would actually work pretty well, because the
sine shaper boosts the signal at low levels and limits the signal at high
levels.  If, for example, a 10Vpp input signal is amplified at a gain of 1.5
to 2, then attenuated with a pot, the signal would come out of the sine
shaper largely undistorted at about 6Vpp at a pot setting of about 20%, at
50% it would be "sine-shaped" at 10Vpp, and at 100% it would be well and
truly distorted at about 11Vpp.  Since perceived volume is exponential with
amplitude, there is not that much audible difference between 6Vpp and 10Vpp.
Also, constant-level signals are typically patched to filters and AM VCAs
are typically patched downstream, this would be OK.  You would set the
distortion level as desired, adjust any input attenuators on the filter to
get the right level or mix, and Bob's your uncle.

> In fact, I think I have seen (am seeing) an effect where an 
> LPF works 'better' with a higher input, and as the input 
> decays, the overall cutoff seems to go up (higher center 
> frequency). I theorize its that 'sine shaping' that is 
> somewhat inherent in the OTA filter makes the LPF better at 
> higher amplitudes, worse at lower amplitudes.

Again, wouldn't the sine shaper in front of, say, a 2164-based filter (which
seems not to distort at any amplitude unless it clips) give it that OTA
flavour (i.e., distorting at high amplitudes)?

> anyone adept at math-fu please propose any alternate 
> explanation for my observation... 
> 
> The Moog ladder is of course famous for its sine-shaping 
> overdrive characteristic...

This could be a simple way to make any filter sound like anything from
super-clean to OTA to Moogy.  I'm gonna try it this weekend, if I have the
time.


-- 
Harry Bissell & Nora Abdullah 4eva



More information about the Synth-diy mailing list