Can you increase the multimic limit?
-
@afinch Where are you seeing this limit?Interesting:
-
Looks like a preprocessor definition is available
-
@d-healey Looks like 8 is hardcoded into the error check though:
if (maxChannelAmount > 8) { errorStatus = Error::TooMuchChannels; errorMessage = "Too many channels: " + String(maxChannelAmount) + ". Max Channel Amount: " + String(NUM_MAX_CHANNELS / 2); return false; }
This might be the case at various other locations too, so prepare for some minor debugging.
-
@Christoph-Hart I am not too experienced with this, where should I start in trying to increase the limit?
-
@afinch In your project preferences you can add pre-processor definitions for you OS. And for HISE itself you add it in the .jucer file via Projucer
-
@d-healey For Hise itself is it just as shown (attached) and then just click save and open Hise? It still only lets me have 8 multimics.
-
It still only lets me have 8 multimics.
That's the thing Christoph mentioned. But it looks like he pushed a fix for that today https://github.com/christophhart/HISE/commit/b87f9bbd5a70f0615c6b07b0045e590631a439fa
So update to the latest develop branch and hopefully you'll be good to go.
-
@d-healey That's great will certainly look at that. When updating to newer versions of Hise or for a specific fix what is the best way of doing it? I assume there is a simpler way than just recompiling? Can I just copy the hi_sampler folder into my current version of Hise and delete the old one?
-
@afinch You need to recompile. You should use git to manage different versions. Avoid at all costs having multiple versions of the source code on your system unless you really know what you're doing.
-
@d-healey Thank you so much, all working now and no longer have the multimic limit!