Tell me more ×
Musical Practice & Performance Stack Exchange is a question and answer site for musicians, students, and enthusiasts. It's 100% free, no registration required.

Quite often, when I see a pedalboard of guitarists I admire, there is a compressor pedal in the chain. How exactly does this pedal affect the sound?

share|improve this question

3 Answers

My explanation is more for generic compressors, but I believe it is relevant for guitars as well.

A compressor is most often used to amplify quiet sounds more than loud sounds. You could think of it as someone turning up the volume on quiet parts, and down on loud parts. This is done by a compressor much faster than a human with a volume knob could :)

As a result, the output has a thinner volume range than the input of the compressor.

Here is an example of a compressor setting:

Example of compressor setting

If there is no compression at all, the output is equal to the input. If you have -20 dB in, you'll have the same -20 dB out. It is represented by the black line in the graph.

With compression as in the example above (green curve):

  • if you have -80 dB in, the output will be right above -60 dB (20 dB amplification).
  • if the input is at -20 dB, the output will be at -8 dB (12 dB amplification).
  • if the input is at -3 dB, the output will also be around -3 dB (no amplification).

In other words, the amplification gain varies with the loudness of the input.

Further, this gain is often restricted from changing too fast. This is what attack and release times are for. The attack time prevents the gain from going up to fast, while the release time prevents it from going down too fast.

share|improve this answer

I feel a bit silly writing a new answer when Jduv's is so good, and so well received, but I'm going to anyway partly because I want to use simpler terms, and partly because I have a point to make about attack.

Imagine you had a signal that was sometimes too loud, and sometimes too quiet. You'd deal with it by turning the volume down when it's too loud, and bringing the volume back up when it's quiet. A compressor does exactly this, except it adjusts the volume automatically, usually very quickly.

At its simplest then, it takes a signal that has a variable volume level, and fixes it up so that the volume is more constant.

Whether this is desirable musically depends on the player and the style of music; it is an artistic choice.

Compressors have a number of adjustable parameters. The following ones address the basics:

  1. Threshold - how loud the signal needs to be before the compressor kicks in
  2. Ratio - how much to "turn down the volume". For example, if the ratio is 2:1, that means that for every 2dB the input signal increases, the output increases by 1dB.
  3. Attack time - how long it takes for the effect to kick in.
  4. Knee - the shape of the volume adjustment; if you imagine a compressor as a man turning a volume knob, is he turning it directly to the appropriate position, or turning it slowly to have a less abrupt effect?

Compressors are incredibly versatile, having loads of different uses.

  • One use for the guitarist is to "clean up" the sound when the player is uneven in their playing.

  • Another use is in extending sustain. As you strike the note, it's loud so the compressor brings the volume down. As the guitar's signal dies away, the compressor releases, so the note reaching your amp carries on.

  • Another use is as a safety net to avoid ever outputting too high a signal

  • Aside from its use as a guitar effect, and its use on other individual tracks, compression is used extensively in mixing and mastering. One of the many possible effects is the "surging" effect in lots of pop and dance, where everything swells to fill the space in between drum beats. Some radio stations even apply compression to their entire output.

Maybe a little counter-intuitively, a compressor can be used to increase the attack; to make something sound more dynamic and staccato:

Imagine the waveform of a clean guitar note:

  • First we have silence
  • then it starts off loud
  • then it slowly fades away, linearly.

If we apply compression, and we set, say, 10ms of attack time, it does this:

  • First we have silence
  • then it starts off loud
  • 10ms later, the compression brings it down to "base" level
  • as the input signal fades, compression maintains it at "base" level, until there's no longer a note to work with.

So it accentuates the attack of plucking the string. Alternatively, with a really short attack parameter, you could dampen the pluck.

Affordable compression units have side effects on the timbre of the sound. Really high end studio equipment minimises this -- but it doesn't matter to the guitarist, because the side effects are rarely unmusical; indeed they are often pleasant. Some units are desirable precisely because of their side-effects.

share|improve this answer
I feel even more silly to have written my answer, I should have read yours more thoroughly before. I mainly wrote it so I could include a graph. – Gauthier Jan 20 '12 at 13:35
Good expansion on attack. – Jduv Jul 2 '12 at 14:42

A compressor "compresses" the signal that your guitar produces by normalizing the dynamic range of the audio input signal based on a threshold value. This effect is used virtually everywhere in recording. Everything you hear in music that is produced today is compressed in some way--and it can sound anything from a subtle barely noticeable effect to a thick, dampened squish.

The benefit of a compressor lies in that every note played will be at nearly the same amplitude, and therefore nearly equal in volume. This will help normalize tones that are sometimes lost in the mix because of complex overtones, and it will result in a more articulate sound. Notice that if you don't pick all notes of an arpeggio at exactly the same pressure you will likely get a different sound for each note, especially if you are playing a tube amp. Tube amplifiers react dynamically to stronger and weaker signals--it's the allure of them--and thus the non-uniformity of picking at different strengths will be exaggerated. A compressor will fix this problem and normalize all notes of the arpeggio regardless of the player's technique and equipment, which is consequently why many soloists prefer them. Compressors also have the ability to increase the sustain of notes beyond sounds that are normally usable on the instrument; yet another reason the effect is a popular tool in the soloist's arsenal. The tiniest signal can be normalized to the same amplitude of a fierce pick attack, and a trailing note will resonate at the exact same volume until the string stops inducing a signal on the pickup.

Drawbacks of a compressor mirror their benefits. More expressive musical genres such as blues rely on the dynamics of the player. Picking technique and signal volume become part of the performance itself. In this case, a compressor will nullify exactly what you are trying to preserve. However, I have seen some blues guitarists use compressors so this is obviously not true universally.

Compressors also dampen the attack of plucking a string. This will make the note sound a bit squishy and with less snap. This is related to how fast the compressor reacts and normalizes the amplitude of the input signal. Slower reaction times result in a more natural uncompressed tone, while faster reaction times result in the trademark squishy sound. Some people consider the "squishyness" of a faster attack time a plus, while others don't like it. Nearly all compressors allow you to adjust this parameter, but it can never be completely transparent. You can get quite close with parallel compressor designs that blend the original signal into the affected signal, but the nature of the effect will still color the sound; that's what it's supposed to do.

share|improve this answer
3  
This is a great answer, Jduv, although I wouldn't say "every note played will be at the exact same amplitude." That'd only be true if the compressor completely squashed the dynamic range, which is seldom the case in actual use. – Alex Basson Jan 21 '11 at 2:54
Thanks for your feedback Alex. You are absolutely correct--sorry I missed that. I updated my answer. – Jduv Jan 21 '11 at 2:57
That's the most complete and precise answer I've ever seen or heard about what it does, I have had to explain it a number of times particularly why in some cases it wouldn't be beneficial. Very articulate, great job. – user1812 Jan 18 '12 at 19:49
Great answer, and only really added mine because of "Compressors also dampen the attack of plucking a string" -- if you take the compressor's attack time up, you can accentuate the pluck. – slim Jan 19 '12 at 15:09

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.