HISE Logo Forum
    • Categories
    • Register
    • Login

    getCurrentLevel other than L or R

    Scheduled Pinned Locked Moved Scripting
    levelcontainerchannel
    6 Posts 3 Posters 441 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

      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 HartC
        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.healeyD ustkU 2 Replies Last reply Reply Quote 0
        • d.healeyD
          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
          • ustkU
            ustk @Christoph Hart
            last edited by

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

            routingCrash.gif

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

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

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

              ustkU 1 Reply Last reply Reply Quote 0
              • ustkU
                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...

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

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

                21

                Online

                1.7k

                Users

                11.9k

                Topics

                103.5k

                Posts