(bind-func static set_lfo_options
(lambda (inst:i8* lfo_num:i32 options:i32)
(let ((krl (if (< lfo_num 4)
(cref (cast inst [void]*) effect_kernel [void]*)
(cref (cast inst [void]*) note_kernel [void]*)))
(mod_options (cref krl mod_options |4,i32|*)))
(aset! mod_options (% lfo_num 4) options))))