Unclear why I use this pattern when the change here uses the more normal way of finding the upper/lower of some values. Either way, the code as it was would skip the first event in a MIDI trigger (most of the time, anyway)
8fea1ea42e