HISE Logo Forum
    • Categories
    • Register
    • Login

    Display output levels.

    Scheduled Pinned Locked Moved Scripting
    15 Posts 4 Posters 156 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.
    • d.healeyD
      d.healey @Delamere
      last edited by

      @Delamere said in Display output levels.:

      I am completely new to this

      That's a good place to start :)

      @Delamere said in Display output levels.:

      how to connect the Peak Meter to the L&R output

      Set the peak meter's processor id (in the Data property) to the id of your simple gain (or any other module you want that has a peak meter).

      Set the Channelndexes to [0,1]. So it looks something like this

      dd5ffb05-b37d-4529-a6a2-100dc608dd26-image.png

      Then go and learn about local look and feel so you can change the appearance.

      Here's a guide, but instead of using Engine.createGlobalScriptLookAndFeel() use Content.createLocalLookAndFeel();
      https://docs.hise.audio/glossary/custom_lookandfeel.html#getting-started

      Libre Wave - Freedom respecting instruments and effects
      My Patreon - HISE tutorials
      YouTube Channel - Public HISE tutorials

      D 1 Reply Last reply Reply Quote 2
      • D
        Delamere @Lindon
        last edited by

        @Lindon Hi Lindon, thank you for the reply. If I click on 'Create generic script reference' in the group of the master FX section, I'm not able to paste it into my script. only each individual effect. Also, Where do I put the .getCurrentLevel after the simple gain?

        const var SimpleGain1 = Synth.getEffect("Simple Gain1");

        Sorry, I am completely new to this and don't know anything about scripting, only from what I've learnt watching videos about hise & reading forums.

        Thanks.

        1 Reply Last reply Reply Quote 0
        • D
          Delamere @d.healey
          last edited by

          @d-healey Hi David, I have done what you said & there is a peak meter showing the left & right output levels for the Simple Gain, but there is no value coming up and I don't know how to take the meter off. I have read through the link you sent and I just can't work out how to do it. I only need a little display saying the db peak levels, like at the bottom of the meter you showed. But with the db for the left peak out as one little rectangle & then the db for the right peak out as another little rectangle, which I can put above the left knob & right knob. Do you have any advice or videos on how to do that? Thanks.

          d.healeyD 1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey @Delamere
            last edited by

            @Delamere said in Display output levels.:

            Do you have any advice or videos on how to do that?

            Start by learning paint routines and look and feel - do this in a separate "playground" project where you can just try things out and see how it works.

            I have a few videos on my channel about paint routines and look and feel. Just be sure to use local look and feel and not global look and feel - some of my older videos only use the latter because local wasn't available at the time.

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

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

              @Delamere I had some time so I made this example for you.

              Screenshot 2025-05-17 at 1.33.29 PM.png

              HiseSnippet 2321.3oc6Zs0aabbEdWIsNhqiccBBR7SECH5CTEJxjqrcsiQfkDEoKgDEIHoriQPP5vcGJtQK2gY2Y0kl5h92nE8OReS+.7C8mPdou625itmY1KbVxkTTxJtUElBPXmamKemyblyb1soG0j36S8TT06b5Phh5Gq09TWV+x8w1tJ01VQ8tZMI3CqSXDucwcIN9UNAOXnCQYqSGh88IVJppK9L9rUysjh32ad5VXGrqIYTWJJOmZaR10dfMaTuM2XGaGmpXKRG6ARy99aTyj5Vl5PC.IaQshJCwlGhOfrGlOsEzT98X+9Jp+VMCidlOpXwGs95OnHFutEFe+Rj0eLo2C6Y9fhOtnU2GTD96gJp2nhkMi50lgYDefnaQsNsce5wtgL34191cAsBZTRoMv4vtUJ221wpYLL4qnnp0bDnsXHn8YZ0ssrS5eD3cGw.nQqPFzTWXVhToKfHoJIRKEJRehVaSO6grQivkmapUyELj8vlosegyUYg+8xZkovLbYqM.eHopGzHYEEdXwhqhf+sxSz00yomCrQ9LzQXOTMWtG.2H5g9ZTE2CrcIqY5Q.ESzYit+.wjUXkmft28PkE8iBmc3HndTOT9PpjWlvMBXWETNhL4SK0NccBY41aAzNVwOfvJSGLj5BMJjWZN4CYRXSjXyvXTKhMylbISJhdQsiH3XTbGWZ2ROG6DPlEIGMqHZx6.UBEtPFMSgkOGi4hzFSPZiIHc3ei6Q.TVDNgS2J85wsTwV4Tf48.i+d4QhnLHaezwXlYea2CPr9PqATq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mqZIbkKuW95Jb84Tj2G7X.1zi98lguTTtu7xhd.81U7EDlSqNuMJ8qRU7a.DU76MMSSpIVnwkcgqeYW38urK7AW1E9vK6B+cW1E9nyeg7Cs1LfQGDtkUQodyJhW.jpZxc8TWT4+.ni1vlL
              
              D 1 Reply Last reply Reply Quote 3
              • D
                Delamere @Chazrox
                last edited by

                @Chazrox Hi, thanks for this example, I appreciate you taking the time to make this. I'm finding it very helpful. Just trying to understand what everything means.

                Thanks.

                1 Reply Last reply Reply Quote 0
                • D
                  Delamere @d.healey
                  last edited by

                  @d-healey Ok thanks David.

                  1 Reply Last reply Reply Quote 0
                  • LindonL
                    Lindon @d.healey
                    last edited by Lindon

                    @d-healey said in Display output levels.:

                    @Lindon said in Display output levels.:

                    Then use a timer in a panel to display these.

                    Why not use a peak meter tile?

                    'cause I cant seem to make the peak meter work horizontally...

                    EDIT: oh the forum gods just struck - and now I can....

                    its a pity we cant set some warning and overs colours... so anything over -6 = orange anything over 0 = red...

                    HISE Development for hire.
                    www.channelrobot.com

                    d.healeyD 1 Reply Last reply Reply Quote 0
                    • d.healeyD
                      d.healey @Lindon
                      last edited by

                      @Lindon you can with laf

                      Libre Wave - Freedom respecting instruments and effects
                      My Patreon - HISE tutorials
                      YouTube Channel - Public HISE tutorials

                      LindonL 1 Reply Last reply Reply Quote 0
                      • LindonL
                        Lindon @d.healey
                        last edited by

                        @d-healey said in Display output levels.:

                        @Lindon you can with laf

                        oh of course, silly me...

                        HISE Development for hire.
                        www.channelrobot.com

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

                        23

                        Online

                        1.7k

                        Users

                        11.8k

                        Topics

                        102.7k

                        Posts