Matching Gain Before And After Effects
-
the example of input dependency giving nasty fluctuations, might be:
- An input containing all frequencies
- A LPF in the effect, let say set to 1KHz
-> The difference between input an output will vary for high frequencies, leading to effect pumping while the output frequency content doesn't change (because those high freq are not passing through)
in short, the gain of the effect will fluctuate because of the input, while the effect itself doesn't sound different.
-
@ustk If the attack/release is slow enough it should smooth out the pumping?
-
@d-healey Saying this is just another way for what I am saying too.
A user compensating manually IS a fixed compensation (the user is not moving the knob permanently while the signal changes). So this is the "automatic" case covered by parameter compensation. (so automatic, but fixed because not input dependent, only parameter dependent)Compensation by IN/OUT comparison will necessarily introduce comp/expand like behaviour, more or less noticeable depending on the integration time (Smooth parameter in Chris's example, or att/rel of an enveloppe follower, or any integration value that a comparison requires if you don't want a sample to sample accuracy (which would be even nastier anyway)
-
@ustk said in Matching Gain Before And After Effects:
(the user is not moving the knob permanently while the signal changes
Sure they are, the knob is automatable for exactly this purpose. If the input goes up during playback they can bring down the output, and vice versa.
So maybe what I need is a threshold for the amount of variation to compensate for?
-
@d-healey said in Matching Gain Before And After Effects:
@ustk If the attack/release is slow enough it should smooth out the pumping?
Exactly you are right, reducing is not removing though, so if this is not an issue then you can go this way.
The issue is that if you reduce the integration time, it won't react fast enough and let the difference "pass-through" without being taken into account. You see, in the end you'll have a compressor/expander setting questioning. Fast enough to react or slow enough to be transparent? -
So maybe what I need is a threshold for the amount of variation to compensate for?
You are now describing limiter/compressor/expander
-
@d-healey said in Matching Gain Before And After Effects:
Sure they are, the knob is automatable for exactly this purpose. If the input goes up during playback they can bring down the output, and vice versa.
In this case effectively you fall in the slow integration case and you might go down the input/output compensation. After all, the ancestor of a compressor was a fader adjusted manually...
-
@orange Some compressors have auto makeup gain, how does that work because that's what I want :)
-
@d-healey To me, auto make up is a fixed compensation based on the different settings you adjusted, not an IN/OUT comparison (but I might have wrong here, or at least for some references)
in this case, Auto make-up is not assimilable to gain line automation (the fluctuating signal has no impact on the auto gain that is set. On many compressors, make-up gain is simply a gain control, auto-make-up is a gain control compensated when you dial the comp parameters
@orange exactly, Dave eventually described a comp/expander.
-
Dave eventually described a comp/expander.
Not quite, I didn't mean a fixed input gain threshold, I meant a threshold of gain difference between the input and the output. So if the difference between the two is more than X turn the gain knob to compensate.
-
@d-healey I see... Are you not afraid a threshold can lead in some nasty fluctuations?
I'll try to make scriptnode example that should work...
-
Are you not afraid a threshold can lead in some nasty fluctuations?
I don't know what I'm doing or talking about so I have no fear
-
@d-healey "FearlessDave" :beaming_face_with_smiling_eyes:
-
@d-healey said in Matching Gain Before And After Effects:
Some compressors have auto makeup gain, how does that work because that's what I want
I had to calculate a formula for a makeup curve depending on the settings of the compressor controls. It looks like this:
Math.log(((-Threshold.getValue() * 10) * Ratio.getValue() +1) + (((200 - Attack.getValue())+1)/100));
Results may vary :beaming_face_with_smiling_eyes:
-
@Dan-Korneff Thank you! Looks like I don't want that after all, but still useful to know.
-
@Dan-Korneff said in Matching Gain Before And After Effects:
Results may vary
Thought we didn't want gain fluctuations...
-
@ustk "Results may vary" means the calculation isn't perfect. It's a constant level, but doesn't work great for light compression or extreme compression since peak Gain Reduction isn't factored in. Every other setting seems to balance out nicely.
-
@Dan-Korneff Yeah that was just a stupid joke attempt...
-
@ustk
ha! my brain must not be working yet. -
@d-healey Alright I have made a little example of IN/OUT compensation that seems to work, with integration time, sensitivity is just a difference multiplier. High difference with ultra low smoothing time will make the pumping very apparent, so from there I guess it's just a matter of finding the most transparent settings...
HiseSnippet 2181.3oc6ZsDiabaFlizRsOrShcrMRNTTnCEsa.bWrZyiVfdPZeHYKTKsBdT23.TfMTyPIwtiHGLyncW0ldpH.8V5sB2G.sG5sdnG5g1aFnWS.ZaN0aAnn8Ru3KAHWJZ+4LizPJM6ZIYsarChLfwxe9Sxu+m7mCYCOgE02W3gLVs4.WJx3pXyA7ft61kv3np6gLdQbMhe.0KeDocF3R78o1HCir2QRvX0kPg+dbwcHNDtEMgDBcffYQuGqGKHgZiReWliSEhMsIqmB2uQopVB9tBGQe.OYwahbIVG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