I have two methods (one for osc1 and one for osc2) and tried to reduce one of them
a script work like that :
two mods( pitch and detune) * 4 (*24 when finished !) and a group name attached to one script
those scritps are recalled in another method where a modulator “trigsel” switch sounds and “refresh” the group name NO PROBLEMO
I have tried getModulatorByIndex for the osc1 method and that’s working only when i switch the sound using “trigsel”, when i move a detune or pitch nothing happens
EDIT not working at all in fact
Is there a panel demo where i can get it ?
Just tried getModulatorByVstIndex but get error…
This topic was modified 3 years, 5 months ago by zeoka.
The index passed to getModulatorByIndex is an internal one, it is not the vstIndex or the customIndex, you can safely use it only in a for() loop when iterating all modulators OR keep that indexing constant acroos the panel lifetime.