Scripted change of ring mod wave shape issue
Lovechld2000
Member Posts: 29 Member
i loaded a ring mod in slot 0 of bus 0 in the inst buss and gave this code below. I tried with and without a wait_async command. Hitting the button resulted in update to a square wave with the internal panel showing ***. but that was the only result no matter what button position. Am I doing this incorrectly?
on init declare ui_button $do message("") end on on ui_control($do) select ($do) case 0 wait_async(set_engine_par($ENGINE_PAR_RINGMOD_LFO_WAVE, $NI_RINGMOD_LFO_WAVE_SINE, -1,0,$NI_BUS_OFFSET+ 0)) case 1 wait_async(set_engine_par($ENGINE_PAR_RINGMOD_LFO_WAVE, $NI_RINGMOD_LFO_WAVE_SQUARE, -1,0,$NI_BUS_OFFSET+ 0)) end select end on
Tagged:
0
Comments
-
why using wait_async? that's not an async operation
1 -
ah ok thanks, i think I got this to work without the wait_async
0
This discussion has been closed.
Back To Top
Categories
- All Categories
- 19 Welcome
- 1.5K Hangout
- 61 NI News
- 774 Tech Talks
- 4K Native Access
- 16.4K Komplete
- 2K Komplete General
- 4.3K Komplete Kontrol
- 5.7K Kontakt
- 1.6K Reaktor
- 376 Battery 4
- 835 Guitar Rig & FX
- 425 Massive X & Synths
- 1.3K Other Software & Hardware
- 5.7K Maschine
- 7.2K Traktor
- 7.2K 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