HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. Yinxi
    3. Posts
    Y
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 3
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: How can I switch between Peak and RMS input level for a custom noise gate?

      @aaronventure said in How can I switch between Peak and RMS input level for a custom noise gate?:

      input_toggle node

      Thanks 🙏
      Didn’t know about the input_toggle node, that’s exactly what I needed. I should’ve looked a bit deeper before asking 😅

      By the way, is there a way to have more than two input options with something similar? Like selecting between 3 or more sources instead of just toggling between 2?

      posted in ScriptNode
      Y
      Yinxi
    • How can I switch between Peak and RMS input level for a custom noise gate?

      Hi everyone,

      I'm working on a custom noise gate in Scriptnode, and it's mostly functional now.
      I'm analyzing the input signal level using both Peak and RMS, and using a compare node to control the gate.

      In the screenshot below, you'll see that:

      I’ve added both RMS and Peak nodes (thanks to Griffinboy),

      But currently, only the Peak level is used as the input to the compare node.

      Now I’d like to improve this by giving the user the option to choose between Peak or RMS for the gate detection.

      What I’m looking for:
      A way to store or hold both values (Peak and RMS),

      Then dynamically select one based on a selector knob (e.g. 0 = Peak, 1 = RMS),

      And route the selected value into the compare node.

      Is there a way to do this using only built-in Scriptnode nodes?
      Or would I need to go into SNEX or write a custom node in C++?
      306eb24b-6a34-4b40-8000-70ceb76a21ea-image.png

      posted in ScriptNode
      Y
      Yinxi