Tutorial 3: Amplitude Clipping Effects
In this section, I implemented a function to model clipping effect. I modeled two types of clipping functions. Distortion function simply multiplies the input signal by the specified amplification factor and saturates all the samples above a certain threshold and its transfer function has a sharp edge at the threshold.
Overdrive function uses a softclipping approach where the output amplitude approaches an asymtototic value as input amplitude increases.
Source Code and sample Audio: tutorial3