How to script ENGINE_PAR_SENDLEVEL
Options
Jazzman
Member Posts: 8 Member
Hello
I'm trying to code a slider to manipulate the gain of an insert FX in bus1 insert FX
but i don't find a correct code for on ui_control
on init declare ui_slider $Send01(0,1000000) make_persistent($Send01) declare $k_Send01 $k_Send01 := get_ui_id($Send01) set_control_par_str($k_Send01,$CONTROL_PAR_PICTURE,"Send_Fader") set_control_par($k_Send01,$CONTROL_PAR_POS_X,48) set_control_par($k_Send01,$CONTROL_PAR_POS_Y,70) set_control_par($k_Send01,$CONTROL_PAR_MOUSE_BEHAVIOUR,$mouse_resp) end on on ui_control($Send01) set_engine_par($ENGINE_PAR_?,$Send01,?,?,?) end on
thank you in advance for your help 🙏
0
Best Answer
-
You can try:
on ui_control($Send01) set_engine_par($ENGINE_PAR_SENDLEVEL_0,$Send01,-1,6,$NI_BUS_OFFSET + 0) end on
1
Answers
-
i try this but not working
on ui_control($Send01) set_engine_par($ENGINE_PAR_SENDLEVEL_0,$Send01,0,6,$NI_BUS_OFFSET +0) end on
0 -
I believe this is the correct code but it does not work plz help me
on ui_control($Send01) set_engine_par($ENGINE_PAR_SENDLEVEL_0,$Send01,0,6,0) end on
0 -
i try this but not working
on ui_control($Send01) set_engine_par($ENGINE_PAR_OUTPUT_CHANNEL,$Send01,$NI_BUS_OFFSET + 0,6,0) end on
0 -
You can try:
on ui_control($Send01) set_engine_par($ENGINE_PAR_SENDLEVEL_0,$Send01,-1,6,$NI_BUS_OFFSET + 0) end on
1 -
Yeeees it works
thank you Corbo-Billy, you are the best 👍️
0
Back To Top
Categories
- All Categories
- 18 Welcome
- 949 Hangout
- 56 NI News
- 471 Tech Talks
- 2.5K Native Access
- 11.1K Komplete
- 1.3K Komplete General
- 3K Komplete Kontrol
- 3.9K Kontakt
- 842 Reaktor
- 298 Battery 4
- 611 Guitar Rig & FX
- 325 Massive X & Synths
- 761 Other Software & Hardware
- 4.1K Maschine
- 4.8K Traktor
- 4.8K 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