I want to make a rhythm game which pre-generate beat from a midi file. but I don't really understand about the data structure of midi file and how to generate those beat. how should I accomplished this?
for your info I'm using Qt for Meego. and there's also one problem I found, QML Element Audio for meego cannot play .mid file. I dont how to solve it. any solution>?
What you'r looking for is "Music Sequencer Design"
Take a look at this document from gamasutra.com