Trouble scripting an LFO Start Phase knob AND a retrigger button?

Alcot60890
Member Posts: 17 Member
Hi, I have a knob to set the Start Phase of an LFO which modulates volume. It has been working fine scripted like this...
set_engine_par ($ENGINE_PAR_MOD_TARGET_INTENSITY,%ART_LFO_PHASE[1],$GroupPage,find_mod(1,"CV_PHASE"),-1)
I have the Modulation Source set to 'Constant'. Now I try to script a Retrigger button like this...
set_engine_par ($ENGINE_PAR_INTMOD_RETRIGGER,%ART_LFO_RETRIGGER[1],$GroupPage,find_mod(1,"SINE_LFO"),-1)
Doing this successfully toggles the 'Retrigger' button on the LFO, but things aren't working right. When I toggle it OFF and press a new note, the volume of the note seems to jump to Phase Start point after a split second of apparently functioning correctly. So, it seems like there's still a retrigger happening.
Thanks in advance for any help! :)
0
This discussion has been closed.
Back To Top
Categories
- All Categories
- 19 Welcome
- 1.5K Hangout
- 65 NI News
- 818 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