Infinite clipping is a type of distortion effect where the amplitude of a signal is processed to only allow a maximum and minimum amplitude value. All positive amplitude values are processed to equal the maximum value. All negative amplitude values are processed to equal the minimum value.
Infinite clipping can be implemented in computer code using a conditional statement. If the signal amplitude is greater than zero, then the output amplitude is set to 1. Otherwise (else), the output amplitude is set to -1.
Infinite clipping can be used to create a square wave signal from a synthesized sine wave.
Building off this approach to creating distortion, next let’s modify it to create a hard-clipping effect.