Teaching myself how to script custom knobs… Got as far as insert FX but now I’m stuck when it comes to attaching knobs to ADSR mod. Would anyone be able to point me in the direction of public scripts, or be able to advise on where my script is going wrong?
Don’t want to post on VI Control out of fear of getting rinsed by the pros.
Current Script that is completely wrong:
set_ui_height_px(200) set_ui_width_px(632) declare ui_slider $attack (0, 1000000) make_persistent($attack) declare $attackId $attackId := get_ui_id($attack) set_control_par_str($attackId, $CONTROL_PAR_PICTURE, "ARC_Knob") move_control_px($attack,230,30) set_control_par($attack,$CONTROL_PAR_MOUSE_BEHAVIOUR,-50)
on ui_control ($attack)