midi file structure is pretty simple. if you cannot find a ready-made library (I donβt know anyone) and you only need events and time, I suggest you analyze the file yourself.
(prepare for a large bit offset: MIDI data is stored in strings of 7 bit blocks)
In addition, you say that you cannot find a library that works with your MIDI file on Windows: the MIDI file must be portable, as well as python, so un * x lib should work equally well on windows (or the developer skipped the point as MIDI, so is python).
Adrien plisson
source share