Moru's midi creator lib is great for writing midi files and I see the the read midi functions are left empty. I've tried to write these but I can't get it working.
Any chance of anyone able to update this lib? O_O
Is it the readtrack and readnote functions you are referring to ?
Other io functions in this code might also fail on some systems since it's not handeling endianess (checking big-/little- endian).
I was under the impression MIDI was just bytes or MIDI variable-length integer notation? Only other reference I can find is some values in the fileformat that is big endian order. But I'm no expert, just read up on the format a bit and had a go at it and it worked :-)
Yes, I tried to update the readtrack and readnotes but I think I wasn't prepared for the format. My aim is just to retrieve the note frequency and duration and I temporarily do this my exporting from another application.