What is hard clipping?
Mixing & EffectsA form of distortion that abruptly limits waveform peaks at a fixed level. Hard clipping creates additional harmonics and can produce a harsh or aggressive sound.
A form of distortion that abruptly limits waveform peaks at a fixed level. Hard clipping creates additional harmonics and can produce a harsh or aggressive sound.
Hard clipping limits a signal by leaving values within a range unchanged and replacing values beyond the boundaries with the boundary values. In the ideal symmetric case, positive peaks flatten at an upper threshold and negative peaks flatten at an equal lower threshold. This is an abrupt change in the slope of the input-output relationship, rather than a smooth transition into saturation.
The resulting waveform differs from the input, creating distortion. A symmetrically clipped, zero-centered sine wave produces odd harmonics; more complex signals can also produce intermodulation products. In digital processing, newly generated components above the Nyquist frequency can alias into the audible range. Oversampling can reduce that aliasing, but it does not remove the intended distortion or make every clipper behave identically.
For integer sample index n, x[n] and y[n] are real-valued input and output sample amplitudes, and A > 0 is the symmetric peak threshold in the same amplitude units. The ideal memoryless mapping leaves -A <= x[n] <= A unchanged and otherwise returns the nearest threshold. For A = 0.8, samples 0.5, 1.1 and -1.0 map to 0.5, 0.8 and -0.8. The transfer curve is continuous but changes slope at ±A; the unity-gain region does not imply a separate make-up gain. This model excludes oversampling, drive, output-gain compensation, asymmetry and filtering; generated harmonics can alias in a discrete-time implementation, and sample peaks do not bound reconstructed true peaks.
Distortion effects, peak shaping, some loudness workflows and explanations of overload in signal paths.
Hard clipping is not identical to a limiter with attack, release and lookahead. Turning down an already clipped recording does not restore its original peaks. A sample ceiling also does not guarantee the same ceiling for reconstructed true peaks after filtering or conversion.