Getting Gain Reduction values from Scriptnode Compressor
-
Hi All! Is it possible to get the gain reduction values from the scriptnode compressor, to apply them to a "meter-slider" via a timer?
Something like this:const var t = Engine.createTimerObject(); t.setTimerCallback(function() { var v = Compressor.getAttribute(Compressor.CompressorReduction); v = Engine.getDecibelsForGainFactor(v); grMeter.setValue(v); }); t.startTimer(30);
-
@alepan Partially solved linking the compressor to a fake knob in Scriptnode only used to read its value. Now I only need to find a correct scale to write the label with dB values.