Skip Navigation

How do I calculate time divisions for MIDI files?

https://github.com/ZILtoid1991/pixelperfectengine/blob/117ffcf785b5fadf4324902d4944238d34668e65/pixelperfectengine/src/pixelperfectengine/audio/base/midiseq.d#L125

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.

2
2 comments