HISE Logo Forum
    • Categories
    • Register
    • Login

    VU meter to simple gain?

    Scheduled Pinned Locked Moved General Questions
    11 Posts 4 Posters 630 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
      last edited by

      Just noticed your post. Have you seen this thread - https://forum.hise.audio/topic/1170/vu-meter-s-not-working-in-exported-plugin/23

      @Christoph-Hart Is it possible to have a VU meter that shows the sum of all channels and not just channels 0/1?

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

      ustkU SteveRiggsS 2 Replies Last reply Reply Quote 1
      • ustkU
        ustk @d.healey
        last edited by

        @d-healey What if you route all channels to one channel in the routing matrix and get its level?
        Or getMasterPeakLevel on both channels then make some sort of max peak calculation?

        Can't help pressing F5 in the forum...

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

          @ustk said in VU meter to simple gain?:

          @d-healey What if you route all channels to one channel in the routing matrix and get its level?
          Or getMasterPeakLevel on both channels then make some sort of max peak calculation?

          If I route them all to the same channel then the user won't be able to send the mics to different outputs in their DAW will they? The second method might work, I shall test it.

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

          ustkU 1 Reply Last reply Reply Quote 0
          • ustkU
            ustk @d.healey
            last edited by

            @d-healey For the first, I'm not sure honestly... But if maybe each channel can still be routed to its normal output, but send a copy to a dedicated "measuring" bus, which is not sent to any output, so it stays internally for measuring purpose only... I'm just trying to imagine...

            Untitled.jpeg

            Can't help pressing F5 in the forum...

            d.healeyD ulrikU 2 Replies Last reply Reply Quote 1
            • d.healeyD
              d.healey @ustk
              last edited by

              @ustk That's a good idea!

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

              1 Reply Last reply Reply Quote 0
              • SteveRiggsS
                SteveRiggs @d.healey
                last edited by

                @d-healey Thanks mate. I did indeed. It got solved on that very thread in the end around the same time as I put this one up. Thanks though :)

                www.anarchyaudioworx.com

                www.facebook.com/groups/audioworx/

                1 Reply Last reply Reply Quote 0
                • ulrikU
                  ulrik @ustk
                  last edited by

                  @ustk @d-healey how do you set up multiple outputs, do you have to use the HISE plugin for making it happen?

                  Hise Develop branch
                  MacOs 15.3.1, Xcode 16.2
                  http://musikboden.se

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

                    It will only work in HISE plugin or when you export a plugin. But you can put the script together in the standalone version. The code I'm using is floating about somewhere on the forum, I just adapted it for my needs.

                        const var MasterChain = Synth.getChildSynth("master");
                        const var matrix = MasterChain.getRoutingMatrix();
                        
                        inline function changeOutput(component, value)
                        {
                            // This variable checks if the output channel exists.
                            local success = true;
                            local idx = cmbOutput.indexOf(control); //Mic index
                    
                            switch(value)
                            {
                                case 1:
                                    matrix.addConnection(0 + (idx * 2), 0);
                                    matrix.addConnection(1 + (idx * 2), 1);
                                    break;
                                case 2:
                                    matrix.addConnection(0 + (idx * 2), 2);
                                    success = matrix.addConnection(1 + (idx * 2), 3);
                                    break;
                                case 3:
                                    matrix.addConnection(0 + (idx * 2), 4);
                                    success = matrix.addConnection(1 + (idx * 2), 5);
                                    break;
                            }
                    
                            //Reset to Channel 1+2 in case of an error
                            if(!success)
                            {
                                matrix.addConnection(0 + (idx * 2), 0);
                                matrix.addConnection(1 + (idx * 2), 1);
                            }
                        }
                    

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

                    ulrikU 1 Reply Last reply Reply Quote 1
                    • ulrikU
                      ulrik @d.healey
                      last edited by

                      @d-healey thank you David! :)

                      Hise Develop branch
                      MacOs 15.3.1, Xcode 16.2
                      http://musikboden.se

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

                        @ustk said in VU meter to simple gain?:

                        @d-healey For the first, I'm not sure honestly... But if maybe each channel can still be routed to its normal output, but send a copy to a dedicated "measuring" bus, which is not sent to any output, so it stays internally for measuring purpose only... I'm just trying to imagine...

                        Untitled.jpeg

                        Think you could make a working example of this? :)

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

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

                        18

                        Online

                        1.8k

                        Users

                        11.9k

                        Topics

                        103.8k

                        Posts