How do you set up external modulation slots (C++)
-
Hello Christoph! I'm working on setting up external mod slots in my c++ node.
I'm running into trouble with the setup, I haven't been able to make the slots appear in hise (the extra slots are blank). Even after looking at your example for how to create the slots I think I'm missing some info could you please elaborate on the process!Thanks!
-
@griffinboy if you're using sbb, I'm currently rewriting the parameter_handler class to manage this automatically:
void createExternalModulationInfo(OpaqueNode::ModulationProperties& info) override { modulation::ParameterProperties::ConnectionList list; auto pm = parameters.addModulationSlotToParameter(list, sbb::OscillatorParameters::HardSyncRatio); list[pm].modulationMode = modulation::ParameterMode::ScaleAdd; list[pm].modColour = hise::HiseModulationColours::ColourId::Wavetable; // blue info.fromConnectionList(list); }Most of the examples use this. I'll do some cleanup and push it later today.
-
Thanks
I'll hold off for a bit then,
until you've finished that!