Best Practices For Automatic Gain Compensation
-
Hey All!
I was wondering what the general approach would be to implement automatic gain compensation for elements in script node?
Currently I am trying to do it for the jCompressor and a custom wave shaper. Is there an ability to do it off of RMS/peak level. Open to trying any sort of strategy!
Thanks in advance!
Noah -
-
@aaronventure Thanks for the link! Really cleared some things up for me!
However what I am having a hard time doing is implementing it for a time-variant system such as a compressor, rather than convolution or a filter in your example. I see a "peak" node, however I would be looking for something that is RMS-based or calculated on a much less frequent time interval to where it does not update the makeup gain to the point of distortion for a plugin.
My rough solution would be to implement a snex node that only lets x amount of signals coming from the cable_expr through per second to the gain node, that way the gain isn't always modulating to the point of causing distortion.
A follow-up question to the peanut gallery:
What are generally considered the best practices for getting RMS in script node?Thanks for the help!
Noah
-
@Noahdeetz said in Best Practices For Automatic Gain Compensation:
What are generally considered the best practices for getting RMS in script node?
Since scriptnode doesn't have a memory node that updates on each block, your options are SNEX or Faust. Default block size is 8, so if you want true peaks which means per-sample processing, wrap your stuff in a framex node.