Forum
    • Categories
    • Register
    • Login

    HISE 4.1: Obtaining Peak/RMS Values from Script to a Scripted UI Meter?

    Scheduled Pinned Locked Moved Scripting
    1 Posts 1 Posters 7 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.
    • B
      brucerothwell
      last edited by

      I'm building a stereo VU meter in HISE 4.1.

      Current status:

      Custom filmstrip needles working
      NeedleL and NeedleR animate correctly using setValue()
      MatrixPeakMeter works
      AudioAnalyser works
      Both successfully monitor a ScriptFX processor when ProcessorId = "Script FX2"

      What I'm trying to do now is obtain a real-time audio level value in script so I can drive the custom needles.

      Things I've already tried:

      Scriptnode core.peak
      dynamics.envelope_follower
      control.smoothed.parameter
      Synth.getEffect("Script FX2")

      Results:

      MatrixPeakMeter and AudioAnalyser clearly receive valid audio/meter data from Script FX2.
      Synth.getEffect("Script FX2") returns a valid processor object.
      getNumAttributes() returns 0.
      I have not found a way to access the meter values from script.

      Question:

      What is the recommended HISE 4.1 workflow for obtaining peak or RMS values from a ScriptFX processor and feeding them into a custom scripted UI meter?

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

      9

      Online

      2.4k

      Users

      13.8k

      Topics

      119.8k

      Posts