15

Related to vocal recording, I see some answers that talk about compression.

What exactly does compression do, and why and how is it used?

4 Answers 4

14

Compression in this context means compressing the dynamic range of an audio track. In a nutshell, it's making the loudest parts of the track softer.

Of course it's more complicated once you get into it. You can find all the details in this Wikipedia article on the subject.

There are many different reasons to use compression:

  • Reduce the attack of each note, especially on percussion instruments
  • Make a part with lots of louds and softs more even so that it blends into the background better
  • Heavy compression is often used as an effect
3
  • Ah, too much different types of Compression, thank you for linking DRC. One more question: Does a reverse action exist? To make things stand out and less soft?
    – Tom Wijsman
    Commented Dec 9, 2010 at 3:38
  • 4
    @TomWij: Yep, it's called expansion
    – BenV
    Commented Dec 9, 2010 at 3:42
  • 3
    Compression is also sometimes important for other sound effects that only trigger at certain levels. For example, a typical electric guitar distortion unit first compresses the bat out of the signal to make sure the distortion applies to as much of the source material as possible. Without compression you would only hear distortion on the loudest sounds. Distortion like that is pretty extreme, but the same argument applies to a lot of other more subtle effects
    – Kim Burgaard
    Commented Dec 9, 2010 at 4:52
3

A compression effect compresses the dynamic range of a track or in other words it makes the volume of an track more even

It can have many uses but the most common is to iron out inconsistencies in an audio tracks volume. This can giving a impossibly consistent sound to a performance which is often desirable when processing things like vocals.

It can also be used for creative effect or in sound design as depending on the source and the settings used the effect can be quite pronounced. A snare drum for example which has a large transients and a huge dynamic range can sound very different when compressed.

2

Analogue equipment used in the past had compression built into it, as a natural artefact of how it had to be used. When mastering a recording to vinyl, it was essential to limit the dynamic range to stop the needle from jumping as the record was played. Also analogue tape technology never quite manages a perfect reproduction of the original sound and performs a kind of natural compression of its own. I used to love the sound of my first 4-track machine (despite the hiss), and I now know that what I loved was the way it naturally compressed the signal.

These factors mean that classic recordings always have some compression to them. This is part of the reason why people are often disappointed by the sound of digital recordings. They describe them as "cold" or "empty" or "lifeless". But add some compression and suddenly it seems more warm, alive and familiar. Really it just sounds a little more like an analogue recording would have sounded.

A simple way to make a track sound more "old fashioned" is to put a little reverb and then compression on the whole mix. It makes it sound like it was recorded live in a single room on analogue equipment. The early Beatles albums were recorded on two tracks. The band would play a backing track, and then the singers would do the vocals on a second track while listening to their backing track on a speaker (headphones had not yet become commonplace). This means that the vocal track picks up the playback reverberating in the room, and is then compressed. It may have been a crude, accidental technique, but it adds a lot of atmosphere to the final mix.

So my answer to the question "why use compression" is: to make digital recordings sound more like analogue recordings.

1

Edit: Looks like compression may have another meaning I'm not aware of, and may be more of what you're getting at. This question may provide answers.


The why: To save space. To store a perfect replica of analog information like sound waves digitally would theoretically require infinite space, so there's always some sort of compression going on.

The how: Lots of ways. One simple method is by decreasing the resolution, or step size. A curving analog wave becomes a jagged series of straight lines when represented digitally (think of a staircase). By increasing the size of the steps, you decrease the number of steps and thus the amount of information stored, at the cost of audio quality.

5
  • That's how I see compression from a Super User perspective, but I don't understand how that explanation for compression can be seen as a benefit in this context. How would decreasing the audio quality help?
    – Tom Wijsman
    Commented Dec 9, 2010 at 3:20
  • 1
    All he said was "related to vocal recording"; I'm not a mindreader. Vocal recordings need to be stored, and the purpose of this sort of compression is not to decrease audio quality.
    – Matthew Read
    Commented Dec 9, 2010 at 3:43
  • 2
    To be fair, asking "what is compression" has two very valid answers when talking about audio recordings. This is a valid answer to that question.
    – Mark Henderson
    Commented Dec 9, 2010 at 4:37
  • 1
    This is not a valid answer. Even if we accept this second meaning of the original question (which is a big stretch), reducing bit depth is a very very wrong way to compress files.
    – Agos
    Commented Dec 15, 2010 at 16:30
  • 1
    @Agos I didn't say that's how one SHOULD compress files, but it is one way it can be done.
    – Matthew Read
    Commented Dec 15, 2010 at 17:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.