slicing audio looper
KEY2 hold to record audio
assigns slices to midi keyboard
KEY3 hold to record slice playback
loops on release
tap again to clear
ENC1 slice volume
ENC2 slice octave
ENC3 slice direction
Thanks to Critter and Guitari's Segmenti patch, which inspired this script.