Trigger a pattern and play once from Midi

My first topic on the forum is about this precisely lol

still haven't found a satisfying way. i reckon we would have to see what once $ aka asap $ does and see how to trigger that action with MIDI. probably all inside haskell