MakeItMidi

← Back to the MP3 to MIDI converter

How do I get MIDI files of songs?

Nine real MIDI files came from three sources: raw.githubusercontent.com, bitmidi.com and vgmusic.com. Check the first four bytes for 4d546864 (MThd) before you trust any file you get.

Three separate collections of MIDI files, each file checked against the four-byte MThd header before being counted, with a fourth group of sources that yielded no file at all.

raw.githubusercontent.com

Three files, all three real MIDI. Sizes ran from 355 to 12349 bytes, and the first four bytes of each were 4d546864. A standard MIDI parser read each file to the final byte, with the end of the last track equal to the file size in every case. These were small test files kept in a music-notation code repository.

bitmidi.com

Three files, all three real MIDI. Sizes ran from 44942 to 54386 bytes, and each began with 4d546864. A standard MIDI parser read each file to the final byte. These were the largest files of the nine.

vgmusic.com

Three files, all three real MIDI. Sizes ran from 432 to 14067 bytes, each starting with 4d546864, and each read to the final byte by a standard MIDI parser. These came out of a game-music directory.

Where a file could not be fetched

Five other places were tried and produced no MIDI file at all. midiworld.com returned a page with HTTP 200, but that page carried no direct link to a .mid file — reaching the file depended on a form or a script — so a successful page load did not mean a file was obtainable. freemidi.org's front page had no direct .mid link either. 8notes.com returned 403, the Wikimedia API returned 403, and piano-midi.de did not connect. None of these contributed a file to the sample; their results are not folded into the three sources above.

What these nine files show

Of the nine files pulled from these three sources, nine are real MIDI and zero are fake — and that statement stops at these nine files.

Convert an audio file to MIDI

Related questions