Forum
    • Categories
    • Register
    • Login
    1. Home
    2. brucerothwell
    B
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Groups 0

    brucerothwell

    @brucerothwell

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

    brucerothwell Unfollow Follow

    Latest posts made by brucerothwell

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

      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?

      posted in Scripting
      B
      brucerothwell