Forum
    • Categories
    • Register
    • Login

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

    Scheduled Pinned Locked Moved Scripting
    11 Posts 4 Posters 91 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.
    • David HealeyD
      David Healey @brucerothwell
      last edited by

      @brucerothwell Why use script node for this? The built in peak meter floating tile already does what you want I think.

      Free HISE Bootcamp Full Course for beginners.
      YouTube Channel - Public HISE tutorials
      My Patreon - HISE tutorials

      1 Reply Last reply Reply Quote 0
      • B
        brucerothwell
        last edited by

        David --

        Thanks for your reply.

        I am new to HISE.

        I already have assets created for building a VU meter plugin, and haven;' been able to figure out to feed system audio to the animated needle,

        My assumption is that I need to use scripting.

        I have, however, figure out how to use the MatrixPeakMeter, and see that responding to audio.

        Additional observation:

        In Scriptnode, the core.peak node offers "Add new external DisplayBuffer".

        Creating buffers results in persistent entries (#1, #2, #3, etc.) that remain after saving the archive, closing HISE, and reopening the project.

        Deleting the core.peak node does not remove these buffers.

        Can external DisplayBuffers be accessed from scripting, or are they intended only for AudioAnalyser / visualization components?

        David HealeyD ChazroxC 3 Replies Last reply Reply Quote 0
        • David HealeyD
          David Healey @brucerothwell
          last edited by

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

          Can external DisplayBuffers be accessed from scripting, or are they intended only for AudioAnalyser / visualization components?

          I don't know, I haven't used them.

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

          I have, however, figure out how to use the MatrixPeakMeter, and see that responding to audio.

          The peak meter floating tile can be styled using custom look and feel to apply your filmstrips (search the forum, there are examples showing this).

          Free HISE Bootcamp Full Course for beginners.
          YouTube Channel - Public HISE tutorials
          My Patreon - HISE tutorials

          1 Reply Last reply Reply Quote 0
          • ChazroxC
            Chazrox @brucerothwell
            last edited by

            @brucerothwell You need to feed a modulation signal into a global cable, and get your readouts from onInit side that you can use for scripting. There are a few good post on the forum about it if you do a quick search.

            1 Reply Last reply Reply Quote 0
            • ChazroxC
              Chazrox @brucerothwell
              last edited by

              @brucerothwell If this is just peak metering, you can use

              Screenshot 2026-06-12 at 8.59.07 AM.png

              this api returns the peak level of your plugin master output.

              1 Reply Last reply Reply Quote 0
              • ChazroxC
                Chazrox @brucerothwell
                last edited by

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

                DisplayBuffers be accessed from scripting

                They can be but I dont think thats what you're looking for in this instance.

                1 Reply Last reply Reply Quote 0
                • B
                  brucerothwell
                  last edited by

                  Thanks for the great responses on this so far!

                  I have one ting I need confirmation on:

                  Can MatrixPeakMeter be made to LOOK like my needle meter?

                  Is there a forum article, or other resource that can get me started, and even deep quickly, with LAF?

                  David HealeyD ChazroxC 2 Replies Last reply Reply Quote 0
                  • David HealeyD
                    David Healey @brucerothwell
                    last edited by

                    @brucerothwell Yes, first you need to learn how to use custom look and feel (laf). Then search the forum for peak meter laf, or vu meter laf.

                    Also there's a snippet here that shows how to do it without using filmstrips which is usually a better way to go if it fits your design: https://forum.hise.audio/topic/13154/knob-web-studio/66?_=1781298298486

                    Free HISE Bootcamp Full Course for beginners.
                    YouTube Channel - Public HISE tutorials
                    My Patreon - HISE tutorials

                    1 Reply Last reply Reply Quote 0
                    • ChazroxC
                      Chazrox @brucerothwell
                      last edited by

                      @brucerothwell

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

                      MatrixPeakMeter be made to LOOK like my needle meter

                      I dont think you can change this component exactly like some other components like knobs and sliders. You can start with a base slider and LAF it like Dave suggested.

                      1 Reply Last reply Reply Quote 0
                      • ustkU
                        ustk
                        last edited by

                        Speaking of which...

                        https://github.com/christophhart/HISE/pull/984

                        I can't believe the math were wrong the whole time
                        -> upDecayTime was inverted...

                        Hise made me an F5 dude, any other app just suffers...

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

                        10

                        Online

                        2.4k

                        Users

                        13.8k

                        Topics

                        119.9k

                        Posts