All Topics  
Clipping (audio)

 
Clipping (audio)

   Email Print
   Bookmark   Link






 

Clipping (audio)



 
 
Clipping is a form of waveform
Waveform

Waveform means the shape and form of a signal such as a wave moving in a solid, liquid or gaseous medium.In many cases the medium in which the wave is being propagated does not permit a direct visual image of the form....
 distortion
Distortion

A distortion is the alteration of the original shape of an object, image, sound, waveform or other form of information or representation. Distortion is usually unwanted....
 that occurs when an amplifier
Amplifier

Generally, an amplifier or simply amp, is any machine that changes, usually increases, the amplitude of a Signal . The "signal" is usually voltage or current....
 is overdriven, which happens through attempts to increase the voltage or current beyond its maximum power capability. Driving an amplifier into clipping causes it to put out power in excess of its published ratings, which are customarily done with a "clean" sine wave signal just at the onset of clipping.






Discussion
Ask a question about 'Clipping (audio)'
Start a new discussion about 'Clipping (audio)'
Answer questions from other users
Full Discussion Forum



Encyclopedia


Clipping 1khz 10v Div Clip A 5ohms 1
Clipping is a form of waveform
Waveform

Waveform means the shape and form of a signal such as a wave moving in a solid, liquid or gaseous medium.In many cases the medium in which the wave is being propagated does not permit a direct visual image of the form....
 distortion
Distortion

A distortion is the alteration of the original shape of an object, image, sound, waveform or other form of information or representation. Distortion is usually unwanted....
 that occurs when an amplifier
Amplifier

Generally, an amplifier or simply amp, is any machine that changes, usually increases, the amplitude of a Signal . The "signal" is usually voltage or current....
 is overdriven, which happens through attempts to increase the voltage or current beyond its maximum power capability. Driving an amplifier into clipping causes it to put out power in excess of its published ratings, which are customarily done with a "clean" sine wave signal just at the onset of clipping. This makes it a sometimes unexpected cause of loudspeaker failure.

Overview of clipping

When an amplifier is pushed to create a signal with more power than its power supply can produce, it will amplify the signal only up to its maximum capacity, at which point the signal will be amplified no further. As the signal simply "cuts" or "clips" at the maximum capacity of the amplifier, the signal is said to be "clipping". The extra signal which is beyond the capability of the amplifier is simply cut off, resulting in a sine wave becoming a distorted squarewave type waveform.

Many electric guitar
Electric guitar

An electric guitar is a type of guitar that uses pickup to convert the vibration of its steel-cored strings into an electrical current, which is made louder with an instrument amplifier and a speaker....
 players
Guitarist

A guitarist is a musician who plays the guitar. Guitarists may perform solo pieces or play with ensembles and bands of a wide variety of genres....
 will intentionally overdrive their guitar amplifier
Guitar amplifier

A guitar amplifier is an electronic amplifier designed to make the signal of an electric guitar or an acoustic guitar louder and modify the tone by emphasizing or de-emphasizing certain frequencies and/or by adding electronic effects....
s to cause clipping in order to get a desired sound (see guitar distortion
Distortion

A distortion is the alteration of the original shape of an object, image, sound, waveform or other form of information or representation. Distortion is usually unwanted....
).

All amplifiers have voltage and current limits. Some amplifiers will use creative techniques to increase these limits or decrease them as needed. If an amplifier needs to output 20 V, but is limited to +10 V to -10 V, then the amplifier will output +10 V. It is best not to speak of a power limit outside of specific applications where the amplifier has an output impedance
Impedance

Impedance may refer to:*the ratio of the voltage phasor to the electric current phasor, as in**Electrical impedance, a measure of opposition to time-varying electric current in an electric circuit....
 nearly equal to the load. For instance, a modern solid state amplifier may achieve maximum power output into a load that is ten times smaller than it can thermally handle over a long period of time.

Effects of clipping

In power amplifiers, the signal from an amplifier operating in clipping has two characteristics that could damage a connected loudspeaker
Loudspeaker

A loudspeaker, speaker, or speaker system is an electroacoustical transducer that converts an electricity signal processing to sound....
:
  • Because the clipped waveform has more area underneath it than the smaller maximum unclipped waveform, the amplifier produces more output power
    Electric power

    Electric power is defined as the rate at which electrical energy is transferred by an electric circuit. The SI unit of power is the watt .When electric current flows in a circuit, it can transfer energy to do mechanical work or work ....
    . (See the waveform to the right for an example.) This extra power can cause damage to any part of the loudspeaker, including the woofer
    Woofer

    Woofer is the term commonly used for a loudspeaker speaker driver designed to produce low frequency sounds, typically from around 40 hertz up to about a kilohertz or higher....
    , tweeter
    Tweeter

    A tweeter is a loudspeaker designed to produce high frequencies, typically from around 2,000 hertz to 20,000 hertz . A few tweeters can manage response up to an octave or more higher ....
    , or crossover
    Audio crossover

    Audio crossovers are a class of electronic filters designed specifically for use in audio applications, especially hi-fi. Commonly used loudspeaker speaker driver are incapable of covering the entire audio spectrum with acceptable loudness and lack of distortion by themselves....
    , via overheating.
  • In the frequency domain
    Frequency domain

    In electronics and control systems engineering, frequency domain is a term used to describe the analysis of mathematical functions or Signal with respect to frequency, rather than time....
    , clipping produces harmonics at higher frequencies than the input signal. Extra high-frequency weighting of a signal is more likely to damage tweeters than a signal that was not clipped as higher high frequency power levels are delivered to the tweeter. However, most loudspeakers are designed to handle signals with abundant high frequencies, like cymbal crashes, which have a greater high-pitch frequency weighting than amplifier clipping could produce. Therefore damage attributable to this characteristic is rare.
Other effects of clipping include:
  • When applied to a musical signal, the clipping may prevent a note from decaying in a normal amount of time. This can cause rapidly played notes to blend together.
  • Music which is clipped experiences amplitude compression, whereby all notes begin to sound equally loud because loud notes are being clipped to the same output level as softer notes.


Digital clipping

In digital signal processing
Digital signal processing

Digital signal processing is concerned with the representation of the signal s by a sequence of numbers or symbols and the processing of these signals....
, clipping occurs when the signal is restricted by the range of a chosen representation. For example in a system using 16-bit signed
Signed-digit representation

Signed-digit representation of numbers indicates that digits can be prefixed with a − sign to indicate that they are negative.Signed-digit representation can be used in low-level software and hardware to accomplish fast high speed addition of integers because it can eliminate carries....
 integers, 32767 is the largest positive value that can be represented, and if during processing the amplitude of the signal is doubled, sample values of 32000 should become 64000, but instead they are truncated to the maximum, 32767. Clipping is preferable to the alternative in digital systems — wrapping — which occurs if the digital hardware is allowed to "overflow
Arithmetic overflow

The term arithmetic overflow or simply overflow has the following meanings.# In a digital computer, the condition that occurs when a calculation produces a result that is greater in magnitude than what a given processor register or Computer storage location can store or represent....
", ignoring the most significant bit
Most significant bit

In computing, the most significant bit is the bit position in a Binary numeral system having the greatest value. The msb is sometimes referred to as the left-most bit on big-endian architectures, due to the convention in positional notation of writing more significant digits further to the left....
s of the magnitude, and sometimes even the sign of the sample value, resulting in gross distortion of the signal.

Avoiding clipping

As seen on the oscilloscope, the wave resulting from the clipping is not a full sine wave
Sine wave

The sine wave or sinusoid is a function that occurs often in mathematics, physics, signal processing, hearing , electrical engineering, and many other fields....
. To avoid this, the overall level of a mix can be lowered, or a limiter
Limiter

In electronics, a limiter is a circuit that allows signals below a specified input power to pass unaffected while attenuating the peaks of stronger signals that exceed this input power....
 can be used to dynamically bring the levels of the loud parts down (for example, bass
Bass drum

A bass drum is a large drum that produces a note of low definite or indefinite pitch . There are three general classifications of bass drums: the concert bass drum, the kick' drum, and the pitched bass drum....
 and snare drum
Snare drum

The snare drum is a drum with strands of snares made of curled metal wire, metal cable, plastic cable, or catgut cords stretched across the a drumhead, typically the bottom....
s).

It is not simple to eliminate all clipping, as filtering (e.g. a high-pass filter
High-pass filter

A high-pass filter is a electronic filter that passes high frequency well, but attenuation frequencies lower than the cutoff frequency. The actual amount of attenuation for each frequency varies from filter to filter....
) can align various frequencies in such a way as to create excessive peak outputs. The excessive peaks may become clipped even though the amplifier can play any single sine wave without clipping. As such, some audiophiles will use amplifiers that are rated for power outputs over twice the speaker's ratings.

Repairing a clipped signal

It is impossible to restore a clipped signal to its original state because part of the original signal was lost. It is preferable to avoid clipping, but if a recording has clipped, and cannot be re-recorded, repair is an option. The goal of repair is to make up a plausible replacement for the clipped part of the signal.

Several methods can partially restore a clipped signal. Once the clipped portion is known, one can attempt partial recovery. One such method is interpolation
Interpolation

In the mathematics subfield of numerical analysis, interpolation is a method of constructing new data points within the range of a discrete set of known data points....
 or extrapolation
Extrapolation

In mathematics, extrapolation is the process of constructing new data points outside a discrete set of known data points. It is similar to the process of interpolation, which constructs new points between known points, but the results of extrapolations are often less meaningful, and are subject to greater uncertainty....
 of known samples. While this approximation is rarely close to the original, the subjective quality may be improved.

Other methods may also be used. One of the methods in CuteStudio Declip, for example, works by copying the signal directly from one stereo channel to another, as it may be the case that only one channel is clipped.

Several software solutions of varying results and methods exist to counteract this problem: Sony Sound Forge
Sound Forge

Sony Sound Forge is a digital audio editing suite by Sony Creative Software which is aimed at the professional and semi-professional markets....
, Adobe Audition
Adobe Audition

Adobe Audition is a digital audio editor computer program from Adobe Systems featuring both a Multitrack_recording, Non-destructive editing mix/edit environment and a destructive-approach waveform editing view....
, Nero Wave Editor, and a plugin in the Audacity
Audacity

Audacity is a digital audio editor and recording application. Audacity is cross-platform and is available for Microsoft Windows, Mac OS X, Linux and Berkeley Software Distribution....
 LADSPA package come with clip restoration software. There is also a Nyquist plugin called for Audacity.

Sources of clipping

In analogue
Analog signal

An analog or analogue signal is any continuous function Signal for which the time varying feature of the signal is a representation of some other time varying quantity, i.e analogous to another time varying signal....
 audio equipment, there are six general causes of clipping:
  1. An integrated circuit
    Integrated circuit

    In electronics, an integrated circuit is a miniaturized electronic circuit that has been manufactured in the surface of a thin Wafer of semiconductor material....
     or discrete solid state
    Solid state

    Solid state may refer to:In science:*Solid-state chemistry*Solid-state physics*Solid-state laser*Solid matterIn electronics:...
     amplifier cannot give an output voltage larger than the voltage it is powered by (commonly a 24- or 30-volt spread for operational amplifiers used in line level equipment).
  2. If the power supply
    Power supply

    Power supply is a reference to a source of electrical power. A device or system that supplies electrical or other types of energy to an output External electric load or group of loads is called a power supply unit or PSU....
     capacitor is no longer able to keep the voltage "flat" due to a massive current draw, the positive and negative voltage supply of the amplifier will fluctuate resulting in sort of a clipped signal (AC line frequency harmonics).
  3. A vacuum tube
    Vacuum tube

    In electronics, a vacuum tube, electron tube , thermionic valve, or just valve is a device used to amplifier, switch, otherwise modify, or create an Electricity signal by controlling the movement of electrons in a low-pressure space....
     can only move a limited number of electrons in an amount of time, dependent on its size, temperature, and metals.
  4. A transformer (most commonly used between stages in tube equipment) will clip when its ferromagnetic core becomes electromagnetically saturated.
  5. While less common, an amplifier can limit the current output for a variety of reasons both intentional or not. The result of this form of clipping may not create a flat top to the Voltage wavefrom, but rather a flat top to the current waveform.
  6. Certain signal processing elements can produce a unique form of phase-inverted clipping when the input signal exceeds the common-mode input range of an opamp. The result is that the voltage waveform clips, but in the wrong direction.


Some audiophiles believe that the clipping behavior of vacuum tube
Vacuum tube

In electronics, a vacuum tube, electron tube , thermionic valve, or just valve is a device used to amplifier, switch, otherwise modify, or create an Electricity signal by controlling the movement of electrons in a low-pressure space....
s is superior to that of transistors, in that vacuum tubes clip more gradually than transistors, resulting in harmonic distortion that is generally less objectionable.

Length clipping

The term clipping may also refer to the shortening of voice snippets due to failures in voice activity detection
Voice activity detection

Voice activity detection is a technique used in speech processing wherein the presence or absence of human speech is detected in regions of audio ....
 equipment. It is unrelated to amplifier saturation.