Please Increase parameter limit on Scriptnode custom nodes!
-
@griffinboy Dude, you're bumping yourself.
-
yep it was just to bring it into view. I'd rather have more parameters than use sliderpacks because I had issues with those in the past. But that is a last resort
-
@griffinboy Yeah, there are definitely issues with them.
I posted a minimum snippet yesterday that crashes when you try to load the compiled version.
-
Sorry! I'd really find this useful
-
@griffinboy I'm bumping this too! I'm working on something that is definitely going to go past this limit!
-
Yep, definitely need support for obese nodes
-
@griffinboy it's the only way to get those fat sounds
-
What if you used global cables instead of sliderpacks? As a bonus it should be easier to keep track of your connections.
-
This looks like it is probably the same thing I ran into:
https://forum.hise.audio/topic/9760/do-snex-nodes-have-a-limit-of-9-parametersChris extended it to 16 iirc. This is changeable, but you have to add a bunch of switch statements to HISE and recompile. I'll dig out where I've done this to increase the parameter count myself.
-
I think it is this:
file:///hi_scripting/scripting/scriptnode/snex_nodes/SnexSource.cppLook for these lines:
case 8: p = parameter::inner<SnexSource::ParameterHandler, 8>(pHandler); break; case 9: p = parameter::inner<SnexSource::ParameterHandler, 9>(pHandler); break; case 10: p = parameter::inner<SnexSource::ParameterHandler, 10>(pHandler); break; case 11: p = parameter::inner<SnexSource::ParameterHandler, 11>(pHandler); break; case 12: p = parameter::inner<SnexSource::ParameterHandler, 12>(pHandler); break; case 13: p = parameter::inner<SnexSource::ParameterHandler, 13>(pHandler); break; case 14: p = parameter::inner<SnexSource::ParameterHandler, 14>(pHandler); break; case 15: p = parameter::inner<SnexSource::ParameterHandler, 15>(pHandler); break; case 16: p = parameter::inner<SnexSource::ParameterHandler, 16>(pHandler); break; default: jassertfalse; }
Add as many cases as you need and just increment the integer.
-
Thank you very much, super good.
However I would wish it to be changed in the official version of hise, as I like to share nodes and I'm trying to keep the amount of source code tampering to a minimum - some of my nodes already require changing a few things in the Hise Source.