Go Back   Cockos Incorporated Forums > REAPER Forums > newbieland

Reply
 
Thread Tools Display Modes
Old 04-20-2017, 11:05 AM   #1
read
Human being with feelings
 
Join Date: Apr 2015
Posts: 1,378
Default compression attack release

hi

i understand attack is how fast the signal over the threshold is lowered down by the ratio set.

RELEASE is where i'm confused.

First of all my release setting starts at 50ms.

I don't understand this.

Also....what if i have attack 70ms and release 50ms...what happens then?
read is offline   Reply With Quote
Old 04-20-2017, 11:48 AM   #2
mibo1022
Human being with feelings
 
mibo1022's Avatar
 
Join Date: Mar 2017
Posts: 33
Default

Release determines the amount of time before the compressor disengages after the signal drops below the threshold. So as for your theoretical, the comp would kick in 70ms after the signal reaches the threshold and would release 50ms after the signal drops below the threshold. The attack "timer" starts before the release "timer" which is how you are able to have your release longer than your attack.

I don't always word things the best, so I hope this makes sense.
__________________
Remember, there is no right way to eat a Rhesus.
mibo1022 is offline   Reply With Quote
Old 04-20-2017, 11:52 AM   #3
read
Human being with feelings
 
Join Date: Apr 2015
Posts: 1,378
Default

thank you thats great i understand better now
read is offline   Reply With Quote
Old 04-20-2017, 11:53 AM   #4
DVDdoug
Human being with feelings
 
Join Date: Jul 2010
Location: Silicon Valley, CA
Posts: 2,786
Default

Quote:
Also....what if i have attack 70ms and release 50ms...what happens then?
If you have a transient that lasts for less than 70mS, maybe nothing, or maybe a slight compression effect.

Otherwise it should work "as expected". Compression should have fully kicked-in* 70mS after the signal goes above the threshold and gain/levels should be back to normal 50mS after the signal falls below the threshold.



As far as I know, there is no industry standard for attack & release times... But it might be about 90%, so at the after 70mS you might have 90% of the compression ratio.
DVDdoug is offline   Reply With Quote
Old 04-20-2017, 12:21 PM   #5
read
Human being with feelings
 
Join Date: Apr 2015
Posts: 1,378
Default

ok i see

one last question

when i put the ratio infinite to 1, attack instant

and threshold -36DB

why do i still hear sound coming through? I thought that would kill the sound completely

how many DB should threshold be so that no sound would come through?
read is offline   Reply With Quote
Old 04-20-2017, 01:50 PM   #6
mibo1022
Human being with feelings
 
mibo1022's Avatar
 
Join Date: Mar 2017
Posts: 33
Default

Hmmm...Interesting question. I'm not sure. Just out of curiosity, why would you want it to kill the sound completely? Or are you like me, and just need to know because you just need to know?
__________________
Remember, there is no right way to eat a Rhesus.
mibo1022 is offline   Reply With Quote
Old 04-20-2017, 05:12 PM   #7
read
Human being with feelings
 
Join Date: Apr 2015
Posts: 1,378
Default

Quote:
Originally Posted by mibo1022 View Post
Hmmm...Interesting question. I'm not sure. Just out of curiosity, why would you want it to kill the sound completely? Or are you like me, and just need to know because you just need to know?
yes out of curiosity
read is offline   Reply With Quote
Old 04-20-2017, 02:43 PM   #8
bezusheist
Human being with feelings
 
bezusheist's Avatar
 
Join Date: Nov 2010
Location: Mullet
Posts: 829
Default

Quote:
Originally Posted by read View Post

how many DB should threshold be so that no sound would come through?
-inf dBFS
bezusheist is offline   Reply With Quote
Old 04-20-2017, 05:13 PM   #9
read
Human being with feelings
 
Join Date: Apr 2015
Posts: 1,378
Default

Quote:
Originally Posted by bezusheist View Post
-inf dBFS
hmmmmmmm
read is offline   Reply With Quote
Old 04-20-2017, 07:23 PM   #10
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Two things:

1. ReaComp is technically "broken", in that even an infinite ratio still lets a small bit of audio through above the threshold. Most compressors/limiters will cut it off properly though.

2. Attack time is how long it takes the compressor to reach "full strength", like the time it takes for a car to hit 60mph. It's NOT a measure of how long before the compressor reacts. The amount of gain reduction is ramped up to ratio you've set; the car is moving the whole time.

Likewise, Release time is how long it takes the compressor to completely let off after the signal falls below the threshold. As with Attack, it's a smooth ramp down. Think of it as braking a car - you can slam on the brakes, but it'll still take a few seconds until you stop.

As to your original example, with Attack @ 70ms and Release @ 50ms:

- The signal comes up past the threshold.

- The compressor immediately starts compressing a tiny bit.

- Over the next 70ms, the compressor will compress more and more until it hits 3:1 or whatever you've set.

- When the signal drops off, the compressor will spend the next 50ms compressing less and less until it stops compressing entirely.

- If the signal drops below the threshold before the attack time has elapsed, (I think) the compressor will say "alright, I'm at 50% of my maximum compression" and swap over to the appropriate position in the release curve.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 04-21-2017, 01:50 AM   #11
slipstick
Human being with feelings
 
Join Date: Apr 2016
Location: UK, near Europe
Posts: 878
Default

Quote:
Originally Posted by read View Post
hmmmmmmm
The compressor simply lets through everything below the threshold without modifying it. If you want it to let nothing through you would need the threshold at -infinity.

Steve
slipstick is offline   Reply With Quote
Old 04-21-2017, 12:09 AM   #12
timlloyd
Human being with feelings
 
Join Date: Mar 2010
Posts: 4,713
Default

Quote:
Originally Posted by read View Post
ok i see

one last question

when i put the ratio infinite to 1, attack instant

and threshold -36DB

why do i still hear sound coming through? I thought that would kill the sound completely

how many DB should threshold be so that no sound would come through?
In your scenario the output signal should be equal to the Threshold: -36 dBFS. It's not quite that simple, because Attack is rarely instant, but that's not super important here.

If you wanted to get silence out, you'd need a compressor with negative ratio (-1:1) so that, instead of 'becoming horizontal' at inf:1 Ratio, the transfer function curves back down to -inf dB above the Threshold.

Last edited by timlloyd; 04-21-2017 at 12:18 AM.
timlloyd is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:33 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.