/ Examples / Effects / FoldbackSaturator


Projects .. AudioIO .. Control
NoteStreams .. Instruments
Filters .. Effects .. LiCK Effects
Plot .. Utility .. Pure ChucK


Wherein we explore the FoldbackSaturator effect.

Right-click to copy examples to your workspace.

FoldbackSaturator

FoldbackSaturator is a distortion which "folds back" a signal as it passes a (positive and negative) threshold.

Index multiplies the residual signal outside the positive & negative i threshold region. This result is folded back to within the threshold region. Larger numbers produce more distortion.

Threshold specifies the threshold region outside of which the distortion is applied. Decreasing the value results in more distortion since more of the signal will fall outside the region.

MakeupGain a multiplier of the output signal to make up for lost gain associated with the threshold value.

Bypass controls whether to disable or enable the effect.

The Example

Here we distort the output of the Sine instrument. CCThreshold is a CCGenerator that sweeps through a range of Threshold values. If you replace Sine with your own instrument you can temporily plug in the CCSampler to enable a signal plot that will provide you a sense of the range of the signal output and thereby establish a reasonable value for the threshold.

home .. topics .. interface .. reference .. examples .. tipjar