Multi Channel / Multi Output Help!
-
I compiled an AUi with 12 outputs from the standalone version of HISE. The routing appears to be correct in HISE.
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=100Any ideas?
-
@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.
-
@Soundavid this is true for exporting and compiling multichannel plugins? I have to use the multichannel plugin of HISE to build a multichannel plugin?
-
@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.
-
@ericchesek Looks like this
-
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!
- Right click on your master container > Create Typed routing matrix script reference
- Paste the reference into your Interface script onInit.
- 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 }
-
@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
-
@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.
-
@WepaAudio Here is the snippet
HiseSnippet 1272.3oc6Y0saZbDEdWfMxPZqZpRT6kihpTsUnFuKzzJE0ZrMXWTCAjwwN2EMd2AXpWlY0ryRLpp22Gu9HzGA+FzdlcA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