実践KSP

ノートオンでパラメーター表示

on init
declare ui_knob $a (0,1000000,1)
declare $id_a
$id_a := get_ui_id($a)
make_persistent ($a)
declare $b
end on
on note
$b := $EVENT_NOTE-30
set_control_par ($id_a,$CONTROL_PAR_VALUE,...
get_engine_par ($ENGINE_PAR_VOLUME,$b,-1,-1))
end on
on ui_control ($a)
set_engine_par ($ENGINE_PAR_VOLUME,$a,$b,-1,-1)
end on