View Single Post
Old 02-18-2019, 02:51 PM   #260
sai'ke
Human being with feelings
 
sai'ke's Avatar
 
Join Date: Aug 2009
Location: NL
Posts: 1,453
Default

1.97 brings Automatic Gain Control to protect your poor ears (little AGC button next to MASTER).

It works like this:
The automatic gain controller constantly tries to keep the RMS ratio:

post filters
------------
post pre-gain

at 1. If it's higher than a certain value, the automatic gain correction is lowered. If it's lower then it gets increased. This with some hysteresis so that it doesn't wobble too much. Of course, this is only a one sided protection, since a very sudden burst can still wipe out your ears.

This is why there is a second mechanism in the AGC, which is that any signal louder than the RMS of a short section gets saturated using a tanh function.

The saturation function then is:
out = limit + tanh(out-limit) if out > limit
out = - limit + tanh(out+limit) if out < -limit

This clips out of bounds signals fairly gracefully as it is at least C0 continuous.

I tested it with some drum loops and synths to try and get the timescales right, but it may require some further tuning. For now, treat this functionality as BETA. Note that it is not intended to keep it activated on the track as it may affect dynamics. It's merely for the tuning stage.

Changelog 1.98:
- Re the last point, outer mouse button on AGC now transfers the correction estimated by the AGC to the post-gain. This is recommended once you have honed in on the setting you want to use for your prod.

Changelog 1.99:
- Store last value for the automatic gain control to prevent bursts upon seeking.
__________________
[Tracker Plugin: Thread|Github|Reapack] | [Routing Plugin: Thread|Reapack] | [More JSFX: Thread|Descriptions|Reapack]

Last edited by sai'ke; 02-18-2019 at 03:59 PM. Reason: 1.98 update, 1.99 update
sai'ke is offline   Reply With Quote