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

    Yinxi

    @Yinxi

    0
    Reputation
    2
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Yinxi Unfollow Follow

    Latest posts made by Yinxi

    • Beginner : How to get Peak and RMS values in Scriptnode?

      Hi everyone,

      I'm brand new to HISE and just starting to explore how Scriptnode works.

      I’m currently trying to build a simple gate effect, I want to have the incoming Peak and RMS signal levels, and be able to choose which value the threshold will use to control the gate.

      My main problem is that I can’t figure out how to get the Peak and RMS values of the signal inside Scriptnode. (so basically, I’m stuck right at step one😧 )

      I’ve tried using the core.peak node, but it gives me a normalized value between 0 and 1, and I haven’t figured out how to convert that into decibels (e.g. -100 dB to 0 dB).

      Ultimately, my goal is to:

      Analyze the signal using either Peak or RMS (based on user selection),

      Use an xfader to blend between the two values,

      Use the resulting signal level to drive a threshold-based gate.

      If anyone could share guidance, it would be helpful for me to understand how to approach this.

      posted in ScriptNode
      Y
      Yinxi