HISE Logo Forum
    • Categories
    • Register
    • Login

    Multi Channel / Multi Output Help!

    Scheduled Pinned Locked Moved General Questions
    13 Posts 4 Posters 1.0k 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.
    • E
      ericchesek
      last edited by

      I compiled an AUi with 12 outputs from the standalone version of HISE. The routing appears to be correct in HISE.
      f128a0ba-6717-4932-8854-3dfb95a5790b-image.png

      Reaper and Logic both recognize the plugin has 12 outputs, but the plugin only outputs a stereo mix of all the samples.

      The result looks a lot like what Dan Korneff shows at the end of his video here, but I figured the newer versions of HISE would have addressed the issues mentioned in the related thread:
      https://forum.hise.audio/topic/566/hise-multiple-outputs/8?_=1681839406706
      https://youtu.be/lOH-dRXPp9k?t=100

      Any ideas?

      S 1 Reply Last reply Reply Quote 0
      • S
        Soundavid @ericchesek
        last edited by

        @ericchesek In Standalone version will always route all the channels to 1/2, you can use multichannel plugin version of HISE or use a script that routes the channels, I use comboboxes to the user can manually route the output of every channel. You'll need to get a typed matrix reference of the container and use de addConnection function.

        E 1 Reply Last reply Reply Quote 0
        • E
          ericchesek @Soundavid
          last edited by

          @Soundavid this is true for exporting and compiling multichannel plugins? I have to use the multichannel plugin of HISE to build a multichannel plugin?

          S 2 Replies Last reply Reply Quote 0
          • S
            Soundavid @ericchesek
            last edited by Soundavid

            @ericchesek No you don't, but if you want to use Standalone you need to Route the channels from a script because Standalone only supports Stereo Output. its quite simple.Screenshot 2023-04-18 at 1.12.43 PM.png

            1 Reply Last reply Reply Quote 0
            • S
              Soundavid @ericchesek
              last edited by

              @ericchesek Looks like this ezgif-1-eaec7004f0.gif

              D 1 Reply Last reply Reply Quote 0
              • E
                ericchesek
                last edited by

                @Soundavid

                That was indeed the issue! Thanks for nudging me in the right direction.

                For anyone else who comes across this issue and wants to follow along, I just decided to hard-code the output routing in the script for testing. I am still learning HISE, so I do not claim this is the best way forward!

                1. Right click on your master container > Create Typed routing matrix script reference
                2. Paste the reference into your Interface script onInit.
                3. I added a simple for loop for 12 outputs.
                // Typed routing matrix script reference:
                const var Container = Synth.getRoutingMatrix("masterContainer");
                
                // change 13 below to your number of channels + 1
                for(i=1; i < 13; i++){
                	Container.addConnection(i,i); // 1 to 1 channel routing
                	Console.print(i); //check for correct channel numbers
                }
                
                W 1 Reply Last reply Reply Quote 1
                • W
                  WepaAudio @ericchesek
                  last edited by

                  @ericchesek can you post a snippet on that? I've tried any multi output here in this forum with standalone and plug in version and still got 1/2 outs, I can see in the onLit the 16 out or whatever out I choose, but I dont find where I can see the 16 out in the master container or anywhere, thanx

                  E 2 Replies Last reply Reply Quote 0
                  • E
                    ericchesek @WepaAudio
                    last edited by

                    @WepaAudio Sure, give me a little time. I'm not sure I fully understand your problem. Just so you know, multi-output only works properly after compiling your instrument to VST3/AUi/whatever. It will not work in the standalone or plugin version of HISE.

                    1 Reply Last reply Reply Quote 0
                    • E
                      ericchesek @WepaAudio
                      last edited by

                      @WepaAudio Here is the snippet

                      HiseSnippet 1272.3oc6Y0saZbDEdWfMxPZqZpRT6kihpTsUnFuKzzJE0ZrMXWTCAjwwN2EMd2AXpWlY0ryRLpp22Gu9HzGA+FzdlcAyr1DfPRZTZAYYw428aNybNyGPaA2kDFxEFl4OYT.wv7Sr5LhI6ePeLkYznlg4mY0DGJIBThp8GEfCCIdFllYORovLeNi3WWs69XeLykLUkgwobpK4ozAT4Tssq9KTe+CwdjSnCz7tR0Ftb1AbedDfmrV6XDfcu.2i7LrxsLVFl2otGUxEcjXIIzvL29buQc5yeEKw+Sogzy8IJAaiNPhRT2ZHQLjRd0gbeOExUVMNnO02q8j0enAj71SqFYSpF22pI0ids9oUkOO1.ZZD50EyLogY1Tvz90AyY.ISMHkKAR2ypiqfFHmZQgm6Z0fAaRcwP4WGJI9Zj4OxZc.G7fI2d.9BxgBP35H17w6rSQD7usdRgBvVPnDMDKPI66wqYzOhhOVrcOh7Xdjjx50DKEzK27g5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wFclHqL5bCik0Mdsfw.rqf+R2jukO0nlMh0.ULV7uSQdqlJYjsQ727m9Vx.3RqW55lNU2JPmUMvxqZfUV0.+tUMvGupA98qZf+vhCTwoXuHIePRGFP9pc83upTSyDdWwMaF+iGdZVZ
                      
                      1 Reply Last reply Reply Quote 0
                      • D
                        Dadang @Soundavid
                        last edited by

                        @Soundavid Hi, how to make a drop down menu to select output like this. I hope you will share the way to me. Thanks

                        uGwUJol.gif

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          Soundavid @Dadang
                          last edited by

                          @Dadang You just need to use the Routing Matrix "addConnection" Callback on a ComboBox, you can use more combo boxes to route more sources and simplify the code using a Loop but is basically this:

                          HiseSnippet 1059.3oc6XEtahaDDdW.mFbu1dWUe.rxuHWSSvFvjnpplFRRKpkbnx0SU8OmVrWBqh8tH6kqAUcOZ84nuF8MncV6k.X3H9nbQJRkeDwreyry27wNiWmtQBOZbrHBgMe4jQTD9IF8lvkCaMjv3n1mivepQGRrjFYktzYSFQhio9HLt32qV.WtDJ4ye+smQBHbO5rkPnWIXdzehExjyVs6o+HKH3RhO8krv47t9os8D7Vh.wXfOEMphFQ7tgbM8JhxsBFnefDODgetQ0FtTZyZC78I0p4655dxwmT+Daxfp0I8scOotS8lNG2b.BuyE9LoHpmjHowvldlveRughemmlfWwhY8CnJCaTOHyoKiZMjE32cp3DiPXityjphoR0WXzg4yta8YR1SS.rlEw7hFtv5nj86AkvyQoRoT5YF87hXijyPT74iMZygeAGPfealmJo9hJ7mELZI.O3xCCI2PuLBLtKhJtUqdfE7m8+ZSS32mXo0aHQV+rXrjwu15arRNub30TodoNDYD61J6oM2SEGiGv3TqAi4dRlfaI3ZzVhv9BUxiDAU7DgiDbfFG.oHXLcey+vrr1wCI99febZxFTo5AURb4qr2+4NPFdGtYef8WlwQy2B7YZ4Brt0zjdGiS3zd6eXrBLgYsHAA8gyhUVIuUE38TgNaPI5juRr1RkX9JPm7TgNyJw4prqDR5K3UR3t4aMsxBMXvJwz6U.MZkvpgAQqKvJ7wg8oQyqbJGgC+K1QsS95n7Rkn4bTvayYxWLhpsuTD3q5TTee49OjVigNwBZFBtJS5CeptOLQDOSbKh4qljNuzhRph4Gehx0t7YKrKNY2Fzoneo84DIQMfPyPf0inQRlRbvmSeCLRNcbQYiyow2HEiRJA8wDP.yeQbKLYD+WPZmn9BHSnPRxZJ5vjzPHketg8QNl0NptYiibMadzwlJsKWYKawtX59sbmtkmTBynE9iCHxEGbqdjlF.N6svzR0DQdLSNY9eydOllWcsSyyKEelQWlza3p4XgUvQ0wyO.bT+LvOw3hACfIQyHXIiK+0M8Ad4O869NtsxSRdRFXQir2F2UYTtuqBt3i4qZrcNb9+8OO16eJOcf6i0lmRenZdJkOY+dtyvCVizCJc2BMUac9t4MXaGprvaCARzUiC6Am28n.SfKuGDqt1xtpqQlZWUYqTldTtehw+.ezf1JarFzNCnixtfFzICXMkcQMXsLf0md0IEX8LfMT1FZvFY.cU16nAcy.1TY+QZvlSAenUDz5TD75TDz5TD75TDz5TD78oHFqTQJ7eRQfKH6EIdsW5qVnlPtaxJv4Vdx+VkxFcT1V1K8lDnPX53q87VbqVJPmMMvZaZf02z.aroA5toA1bSC736OP0Cu9twRQX5HWDpS2KRdyOL9BNAlXkLcC8u.lyw3.
                          
                          D 2 Replies Last reply Reply Quote 1
                          • D
                            Dadang @Soundavid
                            last edited by

                            @Soundavid Wow... thank you sir, I just understood how it works after opening your Snippet.

                            Thank you very much.

                            Hise Capture 3.png

                            1 Reply Last reply Reply Quote 0
                            • D
                              Dadang @Soundavid
                              last edited by

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post

                              19

                              Online

                              1.7k

                              Users

                              11.8k

                              Topics

                              102.7k

                              Posts