I’m trying to set up a function where a sample starts looping when I press and release a specific key on my MIDI keyboard and then stops when I press the same key again. I’d like to achieve the same functionality using an electronic drum pad as well. Any tips or advice would be greatly appreciated!