Dropdown Menu for Replika Delay Time
treynterrio
Member Posts: 64 Member
Hi there, I want to script a dropdown menu for the Replika Delay rate but I don't know where I should start.
anyone who could help me with this?
I've created the dropdown already but I need help with the code for the ui_control
Is $ENGINE_PAR_RDL_TIME_UNIT right for this?
declare ui_menu $delay_menu add_menu_item($delay_menu, "1/1", 0) add_menu_item($delay_menu, "1/1 triplet", 1) add_menu_item($delay_menu, "1/2", 2) add_menu_item($delay_menu, "1/2 triplet", 3) add_menu_item($delay_menu, "1/4", 4) add_menu_item($delay_menu, "1/4 triplet", 5) add_menu_item($delay_menu, "1/8", 6) add_menu_item($delay_menu, "1/8 triplet", 7) add_menu_item($delay_menu, "1/16", 8) add_menu_item($delay_menu, "1/16 triplet", 9) add_menu_item($delay_menu, "1/32", 10) add_menu_item($delay_menu, "1/32 triplet", 11) add_menu_item($delay_menu, "1/64", 12) add_menu_item($delay_menu, "1/64", 13) set_control_par(get_ui_id($delay_menu),$CONTROL_PAR_TEXTPOS_Y,10) set_control_par_str(get_ui_id($delay_menu),$CONTROL_PAR_PICTURE,"") set_control_par(get_ui_id($delay_menu),$CONTROL_PAR_POS_X,39) set_control_par(get_ui_id($delay_menu),$CONTROL_PAR_POS_Y,145)
Tagged:
0
This discussion has been closed.
Back To Top
Categories
- All Categories
- 19 Welcome
- 1.4K Hangout
- 60 NI News
- 723 Tech Talks
- 3.8K Native Access
- 15.6K Komplete
- 1.9K Komplete General
- 4.1K Komplete Kontrol
- 5.4K Kontakt
- 1.5K Reaktor
- 360 Battery 4
- 803 Guitar Rig & FX
- 410 Massive X & Synths
- 1.2K Other Software & Hardware
- 5.4K Maschine
- 6.9K Traktor
- 6.9K 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