Error on HISE latest develop build
-
@d-healey yeah ive implemented routing and multiple outputs in already compiled plugins i just know before a few years back hise wouldnt actually make the plugins multi out from the standalone only from the plugin version. that was many years ago. but im gonna see if i can get the standalone to compile. as the plugin version of the latest develop build is not working no matter what i try. now i rolled back a few days so we shall see.
-
@mwplugs is there something i have to input in JUCE to make the standalone version 16 out? i know you put that in your hise preferences ive gotten all that to work. but i just cant get any of these develop builds to compile.
-
@mwplugs In the Macros.h Header you can define the NUM_MAX_CHANNELS, actually I set this to 32 channels with no problem.
-
@Soundavid where is that? and cant i just input something into JUCE before i open in VS2017? or do i have to edit the macros files?
-
@mwplugs I don't know if there is a flag for that but you can find it in hi_tools - Macros.h, it's in the very beginning.
-
@Soundavid alright i finally got the HISE standalone to compile. but the plugin version would not. im attempting to compile a plugin now to check and make sure.
the layout is wayyy different
i noticed one problem off the bat...
the loop players are not displaying waveforms on GUI anymore. is there some new setting of change i have to make in order to have the WAVEFORM display on the GUI for the loop player? its displaying like nothing is loaded with that dialog it says to right click but the sounds are loaded and make noise? so weird
-
@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.