Try something like this in Kontakt script:Drag and drop sample to Kontakt, edit sample start/end, loop start/end, and loop mode in Kontakt's Wave Editor.
Code:
on initdeclare ui_switch $Play$Play := 0declare $new_idend onon ui_control($Play)if ($Play = 1)$new_id := play_note(60, 100, 0, 0)elsenote_off($new_id)end ifend on
Statistics: Posted by bluesawsq — Sat Sep 14, 2024 9:46 pm