Stuck with a SynthEdit project?

Tag: Saturator

Multimode clipper

This small structure uses a third party distortion module, but is otherwise quite simple. It uses three TD_Driver modules set into different modes. I found the best ones were:
1) Analogue (a softer distortion, more akin to an overdriven valve pre-amp)
2) Digital (a harsher distortion, like a transistor “fuzz box”)
3) Tanh (a softer sound, that can be used as a saturator)

The “Drive” control is set with its Min/Max range set to Minimum 8 V and a Maximum of 40 V this give a nice useful range of effect from almost no distortion, to full blown clipping in the Analog and Digital modes.
The divide and inverter modules are used to control the output level when the Tanh mode is selected, otherwise the output can quickly exceed the default SE audio range causing unwanted (and very unpleasant) clipping. The divider is set with the Input2 plug set to 8. The divider/inverter circuit converts the +8 to +40 range to the correct voltage when applied to the +10V applied to the Input 2 plug of the Level Adj module to keep the audio signal level from the Tanh TD_Driver fairly constant in line with the other two modules.
Symmetry:
The symmetry control is set with a Minimum of -2.5 volts, and a Maximum of 2.5 volts, and fed to the input of each control. This allows us to control whether positive , negative or both polarity peaks are clipped. This allows us more control over the type of harmonics (odd/even) that are produced. The TD_Driver module does have asymmetric modes, but I found this method more effective and controllable than these built in modes.
HP Filter:
The 1 Pole HP filter in the output is in kHz/Volt mode, and set to a pitch of 0.001 to prevent any DC offset appearing in the output. we are really just using it as a DC blocker.

Note: Although I have used Sasha’s SVG controls for the design, you can use the controls supplied with SE just as well.

Making a Saturator.

A Saturator is a good way of adding a bit of colour and “oomph” to a bass or lead synth line, but how can we make one in SynthEdit?
What we want to do is not to introduce hard clipping to the signal, that would be too noticeable we are after something more subtle that just adds a few more harmonics to the signal.

Creating a basic saturator.

The core part of this module is the waveshaper, and for saturation we use the formula 5*tanh(x). The idea is not to clip the peaks of the waveform, but to try and emulate the sound of a slightly overloaded (or saturated) valve pre-amplifier which tanh(x) does quite well.
This formula applies tanh to the input signal, and then multiplying the result of the tanh(x) calculation by 5 restores the output to the normalized +/- 5 Volts peak to peak. The VCA on the input of the waveshaper controls the level of signal passing through the waveshaper, and being applied to the output mixer.
The inverter and divider are used to keep the output level as constant as I could, this works by inverting the slider voltage from the waveshaper VCA’s volume control and applying it to the Volume control. The adjusted negative voltage then reduces the gain of the output VCA as the Waveshaper signal is increased in level . The optimum division value seems to be 2.3 Volts (but may need “tweaking” slightly). The input VCA has its response set to Exponential, and the output VCA is set for a linear response, I found this gave the best results with signal levels.
The input level control is set to have a range of 0 to 20 so that we have plenty of gain. This is the only non-standard min-max range on the controls.

A basic stereo saturator structure.

The output with no saturation applied:
The signal is passed directly to the output VCA and is a pure sine wave with no added harmonics.

No saturation

The output with maximum saturation applied:
Here you can see that once we pass the signal through the waveshaper the sine wave peaks have been reduced smoothly which increases the level of harmonics without introducing too much harshness into the output. The higher the level of signal passed through the waveshaper the more harmonics we generate.

100% Saturation.

To give a bit more control over the audio I have added a TD Stereo EQ module, that gives us the options of Low Shelf boost/cut, Band boost/cut and High Shelf boost/cut.

The whole structure…

The finished Saturator project with its panel layout and links to the 3rd party modules, prefab and VST3.

My final panel layout

I have made the finished project available as a V1.5 .seprefeab file and as a completed VST3 plug-in. However you will need some extra 3rd party modules from TD Modules, Sasha (Sorry, if you don’t already have the Sasha modules they are no longer available-he has left the community and deleted his website), and Davidson.

Changing the Harmonic structure.

By adding in the (highlighted) inputs to the Waveshaper modules we can offset the equation, causing the addition of odd as well as even harmonics. All it needs is for this offset Plug in the IO Module to be connected to a suitable control then we can control the amount of odd harmonics that are added to the signal by changing the offset voltage. I would suggest that a range of 0 Volts to +4 volts is a suitable range for the offset (negative voltages have the same result).
The High pass filters are added to prevent DC from the offset appearing in the output, and can be set to an appropriate frequency such as 14 Hz to minimize any changes in the output signal.
Here is a link to the Thoracious prefab version V1.5 seprefab file

Below is the spectrum with 0 volts offset.

No offset.

Compared with an offset of 1 Volt

1 volt offset.


This was a modification suggested by Thoracious Apotite, https://www.thoracius.com/ in the comments. Many thanks Thoracious! Comments such as this are always welcome.