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 🙏