Building Hise as multichannel plugin problem on apple M1
-
I'm working on a plugin project which have multi channel audio outputs. I'm happy to work on Hise standalone version but when I export my plugin and test in Reaper, only output 1-2 is working. so I think I can't export multichannel plugins from HISE standalone. I wanted to build plugin version of Hise and use it for exporting my multichannel plugin.
I'm on apple M1 - Mac OS 12.6 - Xcode 13.2.1 - latest developer branch of HISE - Reaper 6.75 dev buildI can build both multichannel VST and AU versions of HISE. But Reaper crashes when load AU or VST of Hise.
When I build HISE regular (no multichannel), AU version is not working in reaper but VST version is working. But it is not helping me.
I'm adding "HISE_NUM_PLUGIN_CHANNELS=16" to preprocessor definitions for multichannel. I tried both release, debug multichannel configurations in JUCE no success.
Can you help me please? Can you guide how to build multichannel HISE plugin ? Is this a bug or am I doing something wrong?
-
You can export multi-channel from HISE standalone.
I'm adding "HISE_NUM_PLUGIN_CHANNELS=16" to preprocessor definitions for multichannel. I
Have you also added that to your project's preprocessor definitions?
-
@mehmethand What I do is create a routing matrix with Combo boxes for the user can select the Output of each channel, make sure you set the Channel Amount in your Main Container and take a Synth.getRoutingMatrix reference, then you can use addConnection/removeConnection and add the HISE_NUM_PLUGIN_CHANNELS flag to your project definitions. You won't hear it in the app but will work in the Plugin.
(Sometimes Logic Pro doesn't update channel amount in AU validation if you change it after the first validation, then you have to clear the Plugin Cache or do a Full Audio Unit Reset in Plugin Manager.)
-
@d-healey ,@Soundavid Thank you so much. I finally got it working.