I'm using Kontakt 5. Please see attached code. Functions reset_attack and reset_lfo_intensity work fine, but reset_lfo_freq and reset_lfo_delay have no effect. What am I doing wrong?
Correction: The reset_lfo_intensity function doesn't work either. It resets the VOL_ENV intensity slider instead of the LFO intensity. Perhaps that is a clue.
Just with the KSP Manual (Attack Envelop):
https://www.native-instruments.com/ni-tech-manuals/ksp-manual/en/engine-parameter-commands.html#get_mod_idx--
Hey corbo-billy, thanks for your reply. Was get_mod_idx added after Kontakt 5? I'm getting a compilation error. I was able to get all my LFO functions to work by hard-coding mod_idx to 1 (ugly, but it works). Isn't "LFO_PITCH" the right name for this modulator?