How can I access LFO Modulator1 on Simple Gain1 module
-
I am looking to control the LFO Modulator on the Simple Gain module through script. I thought it would be accessed by:
SimpleGain1.LFOModulator1.Frequency
This is does not work. I checked the docs under
Modulators > List of Time Variant Modulators > LFO > Parameters
Is there somewhere else in the docs I should look for this info?
-
You have to have a reference to the LFOModulator and set it's freq like this:
LFOModulator1.setAttribute(LFOModulator1.Frequency, value);
-
@ulrik oh wow. Thank you, that makes sense!
-
@TNTHM it's in the documentation as well:
https://docs.hise.audio/scripting/scripting-api/modulator/index.html#setattribute