Midi - Position and "notes in region"

(Joel) #1

I want to play a midi file and be able to graph the notes currently being played. What API would I use to determine:

  1. current position

  2. find the relevant notes within the midi to graph (ie. current time + time delta)?

(Mathew Block) #2

You can get the current position of playback for MIDI via Channel::getPosition however we do not expose any of the internals regarding when or what notes are played.