Before I dive into creating my own method, I wanted to double check if there was already a way to get note length/durations when parsing or using the sequencer.
If that's not possible, is there a recommended way to implement this? Ideally I'd like to sequence a midi file and get the note lengths as it's playing back so I can visualize the length on screen.