Hise Crashing
-
@LucaL Help > About HISE

-
@David-Healey can I just override it there to 32?
-
@LucaL I think so, I've not tried. Click the little help icon and see if it says anything useful. You probably need to include it in your project preferences though before exporting.
-
@LucaL I´ve tried changing it directly there but it wouldn´t let me change anything, so I can't override it.
-
@LucaL Looks like you'll need to add it in Projucer then and recompile HISE.
-
@David-Healey alright, but are there some specific lines of code I need to add, or is it just available in a drop down of some sort?
-
@LucaL You add that preprocessor definition NUM_MAX_CHANNELS

-
@David-Healey I added the preprocessor in Projucer, cleaned the build and tried building hise again, but now following error pops up

-
@LucaL I don't know what that message means, see what AI says
-
@David-Healey just fixed it. It now seems to all work like intended. Again thank you so much for your help, I was panicking so much before. I'll now try to get it running in the project where the interface is already designed
-
@David-Healey I just got one more problem with my mute and solo script which is always throwing the error unknown function setControlCallback. This is the part of the code which it is referring to
// Initialize channel components
for (i = 0; i < NUM_CHANNELS; i++)
{
gainFX[i] = Synth.getEffect("SimpleGain" + i);knbGain[i] = Content.getComponent("knbGain" + i); knbGain[i].setControlCallback(onknbGainControl); -
@David-Healey and one more issue sadly, I only got audio coming from the left channel only
-
@LucaL
knbGain[i]doesn't contain what you think it contains -
@David-Healey what am I overlooking?