Need Help With On UI_Control Script

Timmy Boatman
Timmy Boatman Member Posts: 1 Newcomer

I am very new to coding an instrument and am running into a werid problem. here is my code so far. My issue is when I get to on ui_control($MainMicKnob) kontakt says there is an error. The others are going through no problem. Not really sure what the problem is.


on init


make_perfview

set_script_title("Performance View")

set_ui_height(6)

message("")


declare ui_knob $CloseMicKnob(0,1000,1)

declare ui_knob $MainMicKnob(0,1000,1)

declare ui_knob $WideMicKnob(0,1000,1)

declare ui_knob $RoomMicKnob(0,1000,1)


set_text($CloseMicKnob,"Close")

set_text($MainMicKnob,"Main")

set_text($WideMicKnob,"Wide")

set_text($RoomMicKnob,"Room")


end on


on ui_control($CloseMicKnob)

on ui_control($MainMicKnob)

on ui_control($WideMicKnob)

on ui_control($RoomMicKnob)


end on

Answers

Back To Top