Forum

    • Register
    • Login
    • Search
    • Categories

    getCurrentLevel other than L or R

    Scripting Forum
    level container channel
    3
    6
    102
    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.healey
      d.healey last edited by

      How can I get all the current levels of a container that has more than two channels?

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

      1 Reply Last reply Reply Quote 0
      • Christoph Hart
        Christoph Hart last edited by

        Add a simple gain, set its routing to the channel pair you want and query the level from there?

        d.healey ustk 2 Replies Last reply Reply Quote 0
        • d.healey
          d.healey @Christoph Hart last edited by

          @christoph-hart That works, thanks!

          I notice that getMasterPeakLevel (and the HISE gain meter in the top right) don't output a value when there is nothing coming from channel 0/1 even though all channels are routed to stereo. But in the routing matrix it does show a level on the HISE output.

          669570dd-880d-46d7-aba4-199c0eeb4342-image.png

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

          1 Reply Last reply Reply Quote 0
          • ustk
            ustk @Christoph Hart last edited by

            @christoph-hart Get a crash when clicking in the routing matrix

            routingCrash.gif

            I can't help pressing F5 in the forum...

            Christoph Hart 1 Reply Last reply Reply Quote 0
            • Christoph Hart
              Christoph Hart @ustk last edited by

              @ustk weird, that doesn't happen here. What happens if you run HISE in the Xcode debugger?

              ustk 1 Reply Last reply Reply Quote 0
              • ustk
                ustk @Christoph Hart last edited by ustk

                @christoph-hart It is apparently a problem on my end only, I forgot I was using my modified version of develop with input enabled...
                This somehow doesn't like multi-channel config 🙂
                It works fine with standard develop
                Although my version is crashing, it doesn't crash in the debugger...

                I can't help pressing F5 in the forum...

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

                18
                Online

                1.1k
                Users

                6.7k
                Topics

                62.1k
                Posts