Setting the Gain/Volume of Source modulator in KSP

Hi there,
Just joined the community, hope I'm asking this in the right category... This is about Kontak scripting (KSP).
I've managed to control the insert fx parameters via the modulation wheel and note velocity, and it's fairly easy. However, to control the internal modulator parameters seems very complex.
What I need to to achieve, is to control the vibrato depth via the mod wheel (yes, I can do it with the learn function, but I need to do it in the script). The vibrato is generated with a sine LFO for the Pitch. Right-clicking the modulator in script edit mode gives me the group, index and generic values, but they don't help me to acces the correct parameter.
I've tried the get_mod_idx and get_target_idx commands, but it goes wrong. Also, for the source modulator is it SET_ENGINE_VOLUME or SET_ENGINE_GAIN?
Thanks for any help!
Categories
- All Categories
- 19 Welcome
- 1.5K Hangout
- 65 NI News
- 819 Tech Talks
- 4.2K Native Access
- 17K Komplete
- 2.1K Komplete General
- 4.4K Komplete Kontrol
- 5.9K Kontakt
- 1.6K Reaktor
- 390 Battery 4
- 871 Guitar Rig & FX
- 440 Massive X & Synths
- 1.3K Other Software & Hardware
- 5.9K Maschine
- 7.6K Traktor
- 7.6K Traktor Software & Hardware
- Check out everything you can do
- Create an account
- See member benefits
- Answer questions
- Ask the community
- See product news
- Connect with creators