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
Back To Top
Categories
- All Categories
- 22 Welcome
- 2.2K Hangout
- 86 NI News
- 1.5K Tech Talks
- 2.6K Native Access
- 14.2K Komplete
- 1.4K Komplete General
- 3.1K Komplete Kontrol
- 4.1K Kontakt
- 3.6K Reaktor
- 342 Battery 4
- 639 Guitar Rig & FX
- 329 Massive X & Synths
- 794 Other Software & Hardware
- 4.2K Maschine
- 5.3K Traktor
- 5K 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