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