How to script ENGINE_PAR_SENDLEVEL
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
This discussion has been closed.
Back To Top
Categories
- All Categories
- 19 Welcome
- 1.4K Hangout
- 60 NI News
- 763 Tech Talks
- 4K Native Access
- 16.3K Komplete
- 2K Komplete General
- 4.3K Komplete Kontrol
- 5.6K Kontakt
- 1.6K Reaktor
- 374 Battery 4
- 833 Guitar Rig & FX
- 424 Massive X & Synths
- 1.2K 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