Minimum time for MIDI signals

Is there a minimum time for a MIDI note to be on for, for it to trigger a button.
Also is there a minimum time between a note off and a note on.
I have tried changing 2 MIDI notes at the same time so that one was ‘note off’ and the other ‘note on’ to swap between lights but it didn’t seem to turn one on and the other off.
Just wondering if there are some limits within Photon.