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.