HISE_NUM_PLUGIN_CHANNELS added twice to autogenerated Jucer project
-
If
HISE_NUM_PLUGIN_CHANNELS=2
is added to the Extra Definitions Windows / Mac in HISE and then the plugin is built, the autogenerated Jucer file has both this flag and whatever the channel layout is, so it ends up like this:
HISE_NUM_PLUGIN_CHANNELS=2 HISE_NUM_PLUGIN_CHANNELS=6
Would it be possible to avoid this? Or if not, is there a way to set the channel layout properly without having to do this manually every single time? I'm currently exporting all instruments because of the Logic bug, I need to stop the batch compile, edit the channels and then build again from Projucer.
-
@tomekslesicki IIRC this constant is set automatically depending on your master container‘s routing matrix so you don‘t need to set it manually.
-
@Christoph-Hart yeah but I'm using more channels for send / return stuff so it ends up like this:
and then Protools for example shows all the other outputs, but there's nothing coming out of them ;-) It's my age-long quest for simple stereo out in this wonderful DAW, we discussed this on the forum a year ago or so, which is when David or you suggested the
HISE_NUM_PLUGIN_CHANNELS=2
...code as a possible solution. But now I need to cancel the build, edit that in projucer and build manually from there.
(which currently is not much of a change because AU needs to be built manually, AAX doesn't export if arm targets are not disabled but I guess both of these are a matter of time)
-
yeah but I'm using more channels for send / return stuff
Are you using the new-ish send bus system?
-
@d-healey nope, just the routing matrix. I started this I don't know, two years ago maybe and I'm sticking to that architecture
-
And - just as a thought - if the HISE Output says 1-2, why should the plugin be 1-6?
-
@tomekslesicki because the standalone has only stereo out.
-
@Christoph-Hart ok, so is it possible that if the channel number flag is added to the extra definitions, the batch script would not add the second class to the projucer file?
-
@Christoph-Hart or maybe there’s a place in the source code where I could pre-set the channel number for the projucer build?
-
@tomekslesicki I could add an option to ignore the container channel amount and "force" a stereo configuration.
-
@Christoph-Hart Alright, I've pushed the new Projucer binary and added the
ForceStereoOutput
flag. You should enable this and be able to export your project from HISE directly now. -
@Christoph-Hart awesome, thanks so much! Where can I enable this? I’m not by the computer right now but I’d love to know where to look for this flag :-)
-
-
@Christoph-Hart epic, thanks so much!