I have been all over the web for the past week trying to find a way to do this... I am able to import a MIDI file and get the messages, such as the key, start time, velocity, etc., but what I am trying to do is get the messages in real time, as the MIDI plays. For example, I would like to play the MIDI and (just for now) have it print the key being played to the console along with a NOTE_ON and NOTE_OFF message. Does anyone know if there is a way to do this? Thanks in advance!