MIDI is just a slow-ass serial interface, that's optically coupled. It transmits at 32 kilo bits per second. 8 bits per byte, note on and off being the simplest transmissions of two bytes - note number, then on or off.
So at a minimum, you're tranmitting 16 bits to do something, anything at...