HISE Logo Forum
    • Categories
    • Register
    • Login

    Auto Threshold Detector

    Scheduled Pinned Locked Moved General Questions
    5 Posts 3 Posters 364 Views
    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.
    • D.Williams23D
      D.Williams23
      last edited by

      How can I create an auto threshold detector for the Compressor?

      LindonL 1 Reply Last reply Reply Quote 0
      • LindonL
        Lindon @D.Williams23
        last edited by

        @D-Williams23 start by looking at:

        Engine.getDecibelsForGainFactor()

        HISE Development for hire.
        www.channelrobot.com

        D.Williams23D 1 Reply Last reply Reply Quote 0
        • D.Williams23D
          D.Williams23 @Lindon
          last edited by

          @Lindon Okay I looked at it. I've never used this function before so I don't even know where to begin.

          LindonL 1 Reply Last reply Reply Quote 0
          • orangeO
            orange
            last edited by

            What will you do with Auto Treshold detector? Dynamic Eq?

            develop Branch / XCode 13.1
            macOS Monterey / M1 Max

            1 Reply Last reply Reply Quote 0
            • LindonL
              Lindon @D.Williams23
              last edited by

              @D-Williams23 said in Auto Threshold Detector:

              @Lindon Okay I looked at it. I've never used this function before so I don't even know where to begin.

              so for a number of modules (including simple gain modules) you can obtain the current audio level for the left and right channels:

              leftLevel = Engine.getDecibelsForGainFactor(MasterGain.getCurrentLevel(0));

              so your script would (at this point) know the current level - you just need to place this inside a timer callback to get a realtime-ish level value in your script.

              HISE Development for hire.
              www.channelrobot.com

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

              29

              Online

              1.7k

              Users

              11.8k

              Topics

              102.7k

              Posts