Compressor release period gain reduction.

  • Thread starter Thread starter gabereding
  • Start date Start date
G

gabereding

New member
Hey everyone.
I was trying to figure out something about the release parameter on most compressors.
Now, I know that the release parameter is how long the compressor waits before stopping gain reduction, but there's one thing I don't understand.
During the period before gain reduction stops, what is the gain reduction based on? Surely not the ratio directly? If it were, the farther below the threshold the level dropped, the more the gain reduction. meaning as the level got further away from the threshold, the process is artificially accelerating, thus making it temporarily a downward expander....
Part of the reason I want to know this is because I am attempting to write my own digital level compression algorithm.
Anyways, I understand if no one can answer this. I'm not even really that good at putting questions into words. I can try to explain further i need be.
Thanks!
-gabe
 
gabereding said:
If it were, the farther below the threshold the level dropped, the more the gain reduction. meaning as the level got further away from the threshold, the process is artificially accelerating,
I might not be understanding this statement correctly. But, reading it, I'm asking myself "Why would there be ANY gain reduction at all if the level is below the theshold???"
 
From what I understand....

Hey man thanks for the reply!
From what I understand, the release parameter says that once the level falls below the threshold, the compressor waits a given amount of time (the release time) before gain reduction is completely stopped, meaning to me that there is gain reduction going on after the volume falls below the threshold.
Thanks!
-Gabe
 
Aaaahhh...I see what you're saying.

In that case, my guess (I'm far from an expert at this) is that the release time applies to the last part of the signal that was over the threshold...so if you have a 100ms release (for example) on your compressor, once your signal goes below the threshold, the compressor will hold for another 100ms. I think after that, the signal will decay with no compression on it......(though the make up gain still applies).

I hope that makes any sense at all. :eek:
 
Hmmm...

Hey, thanks again man!
If I understand you correctly, what you're saying is, is that the gain reduction during the "release" period is the same as the gain reduction of the last portion of the signal above the threshold? Meaning, that if the compression ratio is 2:1 and the last portion of audio above the threshold is 2db over, then the gain reduction there is 1db, and thus the gain reduction throughout the entire release period is 1db?
Is this what you mean?
Thanks!
-Gabe
 
The release time is the amount of time it takes for the compressor to return to normal gain after the waveform has fallen back below the threshold, not from the inception of the gain reduction.

I believe this return is not (usually) instantaneous, but rather the release time indicates the amount of time it takes for the compressor to ramp back up to unity gain. In other words, if your release time is set to, say, 200ms, it's not that the compressor applies full gain reduction for 200ms after dropping below threshold, and then at 200ms it instantly snaps back to unity gain. Rather, as soon as the signal drops below threshold, the compressor starts climbing back to unity gain, taking 200ms to climb back to unity gain. The slope of that recovery is typically represented as a positively parabolic (or something close to that) curve.

As far as the actual amount of gain reduction at the instant the waveform drops below threshold, I don't believe it is a set amount of decibles as you describe. If that were the case there'd actually be a change in percentage of reduction. Plus that would mean that the amount of reduction applied at sub-threshold was entirely dependant on how far the initial transient shot past the threshold, rather than a static reduction ratio.

I'm not 100% positive on this, but I believe at that sub-threshold point, the gain reduction is applied at the same set ratio to the whole waveform (i.e. essentailly a "-inf" threshold).

G.
 
SouthSIDE Glen said:
Plus that would mean that the amount of reduction applied at sub-threshold was entirely dependant on how far the initial transient shot past the threshold, rather than a static reduction ratio.


G.

G,
could you give us a take on the opto-compressor, and what the advantages are? I think that they are noted to have the behavior of having a longer release it the above thresehold transient was stronger. The VCA is the most linear and more like what you described above , right? I was also wondering about the hold function that some units have in addition to release.
Thanks for your guarnteed edumacational response, in advance!!!!!!! :cool:

P.S. still looking for your db standardization chart for this side of the pond!!

:D
:D :D
:D :D :D
 
Changing thresholds.

Thanks for the replys everyone!

>>>>>I'm not 100% positive on this, but I believe at that sub-threshold point, the gain reduction is applied at the same set ratio to the whole waveform (i.e. essentailly a "-inf" threshold).>>>>>>>>>>



I was wondering though.
Assume a dynamic range of exactly 96db.
If say, you have a compression ratio of 1:4, and a threshold of -20dbfs, and the signal is 4db over the threshold, the gain reduction would be 3db. But then the signal drops to 2db under the threshold, at which point in time the "threshold" becomes -inf, or in this case -96db. Then the gain reduction would be going from 3db to 18.5db. That is not exactly acceptable, even if over the release period the gain reduction progressed linearly from 18.5db to 0.
I don't know. That seems to be the way it would work were that the case.
Anyways, thanks so much!

-Gabe
 
Ok here's how I understand it:

Let's say the comp is operating a gain reduction of 5db, and the release is 100ms. Once the signal goes below the threshold, it takes 100ms to reach unity gain. And inversely, if the attack time is set to 10ms, it take 10ms to reach full gain reduction.


It's quite easy to test this, using a tone generator, volume automation and a comp. If you print the insert, you'll be able to examine the wave form...
 
flatfinger said:
could you give us a take on the opto-compressor, and what the advantages are? I think that they are noted to have the behavior of having a longer release it the above thresehold transient was stronger. The VCA is the most linear and more like what you described above , right?
My understanding is that that depends entirely upon the design of the opto curcuit. Older light-bulb-based opto compressors like the original LA2A were known for slow release characheristics like I described in my original post. Newer opto circuits that use integrated LED/photoresistor packages can act much faster and more linearly like a VCA.

What complicates that even more is that many newer LED opto compressors are purposely designed with various schemes (every manufacturer has a different idea, it seems) meant to mimic bulb-opto characteristics or otherwise add other coloration to make the release characteristics less or more VCA- or opto- or tube-like, depending upon the desire of the manufacturer.

For these reasons I'd hesitate on making a blanket statement about opto release characteristics.

You might want to take a look at this article for a little more detail on the subject of opto compression.

flatfinger said:
P.S. still looking for your db standardization chart for this side of the pond!!
Yeah, I meant to have it done by now, along with another new feature on the website, but frankly a lot of recent family health issues have been sucking up more of my free time than I had planned. That chart is about 2/3rds of the way done, and it is still coming. Just give me a chance to slog through some more important life matters first ;).
gabereding said:
Then the gain reduction would be going from 3db to 18.5db. That is not exactly acceptable, even if over the release period the gain reduction progressed linearly from 18.5db to 0.
I don't know. That seems to be the way it would work were that the case.
Which is why proper release time settings to avoid a breathing effect is important. ;) :)

Doing it by a set amount of DB makes even less sense to me. The strength of the transient, not the gain reuction ratio, would determine the amount of post-threshold compression. It would require using a linear gain control circuit seperate from the compressor circuit. In other words, once dropping below the threshold, no longer use a ratio, but use a set amount of attenuation. Not to mention a way to automatically switch between them when that threshold point is reached.

Remember gain reduction control in a compressor is done by applying an input-to-output ratio, not my setting a number of dBs. When the threshold is crossed for longer than the attack time, the compressor kicks in at a set reduction ratio. Period. That reduction ratio is appied throughout. The amount of dB reduction is not a fixed value, but rather dependant upon the input voltage of the waveform itself. That remains as true past the initial trigger transient as it does at the trigger itself.

Remember, waveforms are complex entities and not simple periodic waves. Even while the wave is riding above the threshold, there are lower volume "bumps" on the louder stuff that are compressed as well, even though the bumps themselves are smaller tan the threshold setting. If I have a snare track that has some hi hat bleed on it, it'll be the snare hit that triggers the compressor, but the hat sound will get compressed also, even though the hat bleed itself is of lower volume than the threshold setting.

Once the threshold has been breached, it's like pulling a trigger and holding it open until you release. The threshold is just a trigger. But once the trigger is uplled, everything is shot buy the same amount. But the same amount means by the same ratio, not by a set number of decibels. At least that's how I understand it.

G.
 
Last edited:
SouthSIDE Glen said:
Just give me a chance to slog through some more important life matters first ;).

G.


Right on! , priorities!
best of luck then!!

Thanks,

:D
:D :D
:D :D :D
 
Yup.

Thanks again everyone!

SouthSIDE Glen:

Thanks for the article. Most illuminating..... :)
By the way, I do understand that the gain reduction over the threshold is based on a constant ratio, and not a constant number of db.
Thus, given a 5:1 ratio, if the signal goes 5db over, the volume is reduced by 4db. if the signal goes over 15db, the volume is reduced by 12db, Etc.
Anyways, I think I've got what I need for my algorithm.

Basically what I'm going to do is have the first sample that falls below the threshold be reduced by the same amount as the previous sample, and gradually fade from that value to 0.

Thanks so much everyone!

-gabe
 
gabereding said:
...the signal is 4db over the threshold, the gain reduction would be 3db. But then the signal drops to 2db under the threshold, at which point in time the "threshold" becomes -inf, or in this case -96db.
Just in case this wasn't caught.. The signal falls below the threshold, and after some time perioid, gain returns to unity. But this is the gain and signal shifting around the threshold -which remains fixed.

Wayne
 
Back
Top