Forum

    • Register
    • Login
    • Search
    • Categories

    Getting Gain Reduction values from Scriptnode Compressor

    General Questions
    1
    2
    91
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      alepan last edited by

      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);
      
      A 1 Reply Last reply Reply Quote 0
      • A
        alepan @alepan last edited by

        @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.

        1 Reply Last reply Reply Quote 2
        • First post
          Last post

        22
        Online

        982
        Users

        6.6k
        Topics

        60.7k
        Posts