Builder InterfaceTypes
-
So I am back here again with the lack of documentation.
I want to create a container.... @dannytaurus kindly pointed me at part of the solution
so I have:
//holding container builder.create(builder.SynthChain.?????,"MasterContainer",0,builder.ChainIndexes.Direct);I've tried reading the docs (ha ha ha ha ha..) I've tried the autocomplete....no answers
can someone point out the correct syntax, and where I can in future find it?
-
@Lindon and of course the forum woo kicks in as soon as I post: here - for those looking ids the solution:
builder.create(builder.SoundGenerators.SynthChain ,"MasterContainer",0,builder.ChainIndexes.Direct); -
@Lindon ..and then Im straight back here with this:
trying to make a script processor - the autocomplete gives me this:
theKeySwitchFilters[i] = builder.create( builder.MidiProcessors.ScriptProcessor, articulationNames[i] + "KeySwitchFilter", // the ID theSamplerContainers[i], // the parent (root) builder.ChainIndexes.Direct // the slot type );and the complier gives me this:
Interface:! StdBuilderElements.js (22): Couldn't create module with ID ScriptProcessorAnyone???
-
@Lindon and a search thru the forum gives me this answer:
theKeySwitchFilters[i] = builder.create( builder.MidiProcessors.ScriptProcessor, articulationNames[i] + "KeySwitchFilter", // the ID theSamplerContainers[i], // the parent (root) builder.ChainIndexes.Midi // the slot type ); -
@Lindon
Shouldn't the chain index beMidirather thanDirect? -
@David-Healey yep as you see above - meanwhile where is all this documentation hidden?
-
@Lindon Only doc I'm aware of: https://docs.hise.audio/scripting/scripting-api/builder/index.html
And the auto-complete, and this thread.
-
@David-Healey so how did you know this?
@Lindon Shouldn't the chain index be Midi rather than Direct? -
@Lindon I posted it higher up in this thread when you asked a related question

Now how did Dave of the past know this... according to my previous post it's in the auto complete.
-
D David Healey referenced this topic
-
@Lindon Do you find the HISE crashes often when using the builder? I stopped using it because I was getting crashes with almost every compile.
-
@David-Healey not at the moment...seems to work OK
-
@Lindon I'm connecting to a lot of external scripts, that might be the issue
-
@David-Healey yeah maybe , meanwhile the feckinn autocomplete is a pile of doggy do...
-
-
@David-Healey it works sometimes and the on others fails completely - only showing me the list of variables I'm using in my script.... its really really crap.
-
@Lindon I find if you add a new object the autocomplete won't show anything relevant to it until you hit compile.
-
@David-Healey yeah that I know, but this is a the same builder object oi have been using to build everything else with.....
-
@Lindon ok here I am AGAIN, 3 times in one day....
So does anyone know the correct Chain Index for the SampleStart modulation , not in the documentation(duh) and not showing up in the auto complete....
-
@Lindon I don't see one

There isn't one for group xf, mix modulation, or some others either.
I wonder if this is what Direct is for.
-
@David-Healey yeah - Im begingng to think this Builder stuff is a bit pointless - if its not all there then its not saving anything in the end.
