I have some issues with understanding the documentation on how set tempo
events and time divisions work, so it’s really not well calculated, and thus causes my code to just zoom through the MIDI file I’m throwing at it. Maybe there’s some other chunks I’m not processing at the function that should be processing MIDI events here, so I don’t really know.
Potential solution: It seems like multiplying the time by 10 solved it, at least now it doesn’t zooms through the MIDI track in an instant.
https://github.com/ZILtoid1991/pixelperfectengine/blob/5cc5834f931783b5553d9959cfe66fe8f9ea6cfe/pixelperfectengine/src/pixelperfectengine/audio/base/midiseq.d#L125