MIDI displayed onNote

Oh nice! I didn’t know “wait” was a function. I looked into the references and found “waitForRelease”, which works even better for my purpose. Might be useful for you as well. Thank you!