Error on HISE latest develop build
-
@Soundavid said in Error on HISE latest develop build:
@mwplugs In the Macros.h Header you can define the NUM_MAX_CHANNELS, actually I set this to 32 channels with no problem.
You don't need to do this. Just use the the preprocessor definition in your project. I've just tested this and it works.
but the plugin version would not.
Did you clean the build directory after compiling the standalone version?
-
@d-healey i was able to get the standalone to compile. and it was able to compile my projects so everything is good now except...
loop players are not displaying waveforms on the GUI and the are not able to be loaded via double and right click anymore :/ is there a setting now for them i have to enable of something. it all worked before flawless in my old HISE
-
@mwplugs fixed. i had to change sample index to zero. its a new field ive never seen it defaults to -1 which makes it not display for some reasoon
-
@d-healey said in Error on HISE latest develop build:
You don't need to do this. Just use the the preprocessor definition in your project. I've just tested this and it works.
Oh, you mean NUM_MAX_CHANNELS=32 in the Projucer right? I tried before but maybe I was using the HISE_NUM_PLUGIN_CHANNELS instead, Thanks.
-
i was able to get the standalone to compile.
Did you attempt to compile the plugin version before or after you compiled the standalone version? If it was after, did you clean the build folder in between? I understand you have the standalone working now but I'm interested to know why the plugin version failed to build for you.
and it was able to compile my projects
HISE does not compile your projects, it exports your HISE project as a JUCE project which is then compiled by your compiler (Visual Studio, XCode, etc.). It may seem I'm being pedantic by explaining this but I think it's important to understand what is actually happening at all stages when you are working with HISE, that way you have more control over your work.
Oh, you mean NUM_MAX_CHANNELS=32 in the Projucer right? I tried before but maybe I was using the HISE_NUM_PLUGIN_CHANNELS instead, Thanks.
As I said above, use
HISE_NUM_PLUGIN_CHANNELS=16
in the preprocessor definitions box in your project's preferences. -
@d-healey i will try he plugin multi build now that ive gotten the standalone to build. you are right maybe the standalone creates files that are dependencies?
-
@mwplugs Well you still didn't answer my question :p Make sure you clean the build folder before building different versions.
-
@d-healey yes i always do that :) haha learned that from trial and error years back lol
-
@d-healey said in Error on HISE latest develop build:
As I said above, use
HISE_NUM_PLUGIN_CHANNELS=16
in the preprocessor definitions box in your project's preferences.Ok, I Remember know, this flag sets the number of channels but if you want more than 16 you need to edit the NUM_MAX_CHANNELS in Macros.h... or at least didn't work for me until i set 32 in the header file.
-
How are you guys getting multichannel outputs to work on HISE Standalone?
I've added HISE_NUM_PLUGIN_CHANNELS=16 to the juce project, but HISE never shows more than 2 outputs. Am I doing this right?
I would usually use the Multichannel plugin version, but I'm getting the same 'getNumAllocated' error as above.
-
@dustbro The Standalone App will have only a Stereo Output and the Multichannel Plugin have 8 stereo outputs by default (16 mono channels) if you want more than 8 stereo outputs you need to edit the NUM_MAX_CHANNELS in Macros.h and use the flag "HISE_NUM_PLUGIN_CHANNELS=16".
But what I do is creating a routing matrix trough scripting via combo boxes with the "addConnection" Function using a Typed Routing Matrix Script Reference, in the Standalone you don't hear any changes but in the exported plugin the function will work if you use the Flag.