Compression

Effects, Recipes, Interfacing with other software, etc.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Post Reply
harvey
Posts: 8
Joined: Sat Oct 20, 2007 7:13 pm
Operating System: Please select

Compression

Post by harvey » Mon Dec 03, 2007 2:42 am

I am working on compressing speech, and I am finding that the minimum attack time is too long -- I can't get the slide to go below 0.1 second. Derry's book PC Audio Editing for example suggests 50ms (yes milliseconds) as a good starting point. I am finding that the entrances to a new line of conversation are not compressed at all because the attack is too slow, leaving high entrance peaks that are hard to get rid of. I'm using hard limiting to get around it, but does anybody have any other ideas?

steve
Site Admin
Posts: 81609
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Compression

Post by steve » Mon Dec 03, 2007 1:57 pm

What you really need is something called "lookahead" where the compressor "looks ahead" by a certain number of milliseconds and preemptively applies the compression. Unfortunately the compressor in Audacity does not have this feature. There is a compressor available (at least in the beta version) called SC4 - this is a more advanced compressor and allows the attack to be as low as 1.5 milliseconds. You will still have the same problem, but for a much shorter time, and correcting this with the hard limiter will be highly effective.

The only real solution is to use a compressor that has "lookahead" - you could try using a VST compressor (using the VST-bridge).
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

harvey
Posts: 8
Joined: Sat Oct 20, 2007 7:13 pm
Operating System: Please select

Re: Compression

Post by harvey » Sun Dec 16, 2007 5:44 pm

Thanks Steve -- it is working great! SC4 has really nice features. Do you have any experience with the setting values for the "knee radius"? I can see that it is is dB, but I'm not sure what range of values from 1 to 10 is considered hard, soft, middle. Any tips?

Thanks again!

Glenn Harvey :D

steve
Site Admin
Posts: 81609
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Compression

Post by steve » Mon Dec 17, 2007 4:51 am

The difference is pretty subtle, but the default of 3.25 works pretty well.

For just giving music a bit of a gentle boost, try something like this as a starting point:

RMS/peak: 0
Attack time: 5
Release time: 50
Threshold: -6 (assuming that the audio is already normalised - if not, set it to about 6 dB below the highest peak)
Ratio: 6 (depends on how much compression you want - higher values for more compression)
Knee radius: 3.25
Makeup Gain: 0 (much easier to normalise after compressing than trying to guess how much gain to apply)
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

harvey
Posts: 8
Joined: Sat Oct 20, 2007 7:13 pm
Operating System: Please select

Re: Compression

Post by harvey » Fri Jan 04, 2008 3:35 am

Thanks again! Playing around for voice compression, I can see that RMS 0 really works, but I don't understand why. Can you help me understand what RMS means or does? I have googled RMS in compression, and I can't find any technical descriptions.

Thanks again for taking the time to respond.

--Glenn Harvey

steve
Site Admin
Posts: 81609
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Compression

Post by steve » Fri Jan 04, 2008 5:59 pm

RMS - "Root Mean Square"

For a technical explanation see http://mathworld.wolfram.com/Root-Mean-Square.html

but in layman's terms, it's a way of taking an average values from a waveform. If you have a sine wave that goes up and down from +1 to -1 , the RMS value is about 1.4

The sense of "loudness" that we detect with hearing corresponds much more closely to RMS measurements than to peak measurements, so for things like compressing vocals, using RMS values produces a more natural result.

Peak values are useful if you are applying heavy compression to limit sudden "spikes" (peaks) in the sound - this is sometimes called "hard limiting".
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply