HISE Logo Forum
    • Categories
    • Register
    • Login

    Rebuild for More Outputs in my current build.

    Scheduled Pinned Locked Moved Solved General Questions
    25 Posts 4 Posters 331 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.
    • ChazroxC
      Chazrox @aaronventure
      last edited by Chazrox

      @aaronventure Sweet. Thanks! I was just reading doc on this and scratchin my head about it. lol.

      To be clear, this sets all channels to 'active' state on OnInit by default and thats they way it stays? This is all I have to add?

      Does this produce a single stereo output if the end user doesnt expand the outputs to separate mix channels in DAW?

      A 1 Reply Last reply Reply Quote 0
      • A
        aaronventure @Chazrox
        last edited by

        @Chazrox this will route all input channels to corresponding output channels. I'm talking about input channels of the matrix, not the plugin. The output channels of the master matrix are the outputs of the plugin.

        HISE Standalone output only shows 2, so you cannot do this via the GUI. This will be ran every time you recompile, including at init of your plugin in a DAW, to make sure the routing is correct.

        If all you want to do is have your plugin output audio the way it's doing in the HISE standalone, then yes, this code is all you need.

        It's frankly silly that this is so obscure, I remember scratching my head about this too and finding info on this here on the forum. So I'm just paying it forward.

        ChazroxC 2 Replies Last reply Reply Quote 0
        • ChazroxC
          Chazrox @aaronventure
          last edited by Chazrox

          @aaronventure Thanks! Obscure yes, Im a music producer by profession so I can atLEAST deduce a signal chain, i thought...lol I assumed by setting the routing in the matrix section of the plugin would suffice but thats obviously redundant. Head scratcher for sure! Appreciate the help! Im gonna read up on this more so I can get this right once and for all.

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

            @aaronventure

            Results:

            Got it working. Thank You brotha! I think im gonna add routing options after all for end user. Thanks again!

            Screenshot 2025-04-08 at 8.10.33 PM.png

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

              @Chazrox @aaronventure I find the routing quite a bit obscure too. Perhaps we could have a clearer general routing window for this, with less limitations, and where all connections can be seen at once. Also thinking about the sends limited to one per channel among other difficulties to understand what is really connected to where, name and colour the channels, etc...

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

              ChazroxC A 2 Replies Last reply Reply Quote 1
              • ChazroxC
                Chazrox @ustk
                last edited by

                @ustk I think some type of window showing all modules and routing options would be great.

                1 Reply Last reply Reply Quote 0
                • A
                  aaronventure @ustk
                  last edited by

                  @ustk Wait till you find out that you can already do wonders if you create an empty ScriptFX and use the processBlock function.

                  Link Preview Image
                  Channel Routing with a Few Lines of Code

                  The routing matrix won't let you do anything you want elegantly (like Reaper, for example) and iterating big routings in Scriptnode can get messy. Set your d...

                  favicon

                  Forum (forum.hise.audio)

                  Also you can do a decent amount in ScriptNode. You have to hardcode the master matrix output, but you can use either of the two mentioned workflows to have flexible routing done in the last FX before the output.

                  ChazroxC ustkU 2 Replies Last reply Reply Quote 3
                  • ChazroxC
                    Chazrox @aaronventure
                    last edited by

                    @aaronventure Woah...🔥

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

                      @aaronventure Oh cool, I wonder why I haven't thought about this simple "copy blocks to the next ones" solution, especially since I am already doing things in the processBlock...

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

                      1 Reply Last reply Reply Quote 0
                      • ChazroxC Chazrox has marked this topic as solved on
                      • ChazroxC
                        Chazrox
                        last edited by

                        Ended figuring out some routing matrix api's finally and made this. Appreciate the help!

                        Screenshot 2025-04-09 at 1.38.58 AM.png

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

                        50

                        Online

                        1.7k

                        Users

                        11.7k

                        Topics

                        102.1k

                        Posts