I am Using LUA to change the parameters of a modulator according to a value in a drop down list (See my other thread!)
The sysex I am trying to modulate is:
F0 42 30 6d 10 41 06 00 MS LS f7
where the max MS LS can equate to be either 2000, 4000 or 8000 depending on the drop down list value.
I want to change the min and max values of the modulator to 2000, 4000 or 8000 depending on list selection.
The max value appears twice on the modulator/component settings tab, once in the Modulator section and once in the component section.
I can change the value in the modulator section using the code:
[code:1hdeyxj5]panel:getModulatorByName("DelayTime"):getComponent():setPropertyInt("modulatorMax",2000)[/code:1hdeyxj5]
But I can not change the value in the component section, it is the value in the component section I need to set to get the desired behaviour.
Is it possible?
Also, there does not seem to be an equivalent variable for ‘modulatorMin’ even though I can adjust the min value in the tab. Am I correct?
As always, thanks in advance!
Cheers.