title: Java Midi - How to get notes from midi whilst it's playing
body: <p>I've searched for a while now, and can't find an answer for what I want to do.</p>
  
  <p>I want to play a midi file, and display the notes on the screen as it plays. When a note stops playing, it should disappear off the screen.</p>
  
  <p>I can play a midi with a sequencer, but have no idea of how to get the notes its playing, or when it stops playing a note.</p>
  
  <p>I've looked into ControllerEventListeners and MetaEventListeners, but still don't know how to do this.</p>
  
  <p>Any help would be appreciated.</p>