MIDI File: How to Check an MP3-to-MIDI Export Before You Edit It
A MIDI file is an editable sequence of note events, not a recording of sound. If yours came from an MP3 conversion, the narrower question is: does the downloaded .mid open, and do its notes match the original recording? Open it, inspect the notes and timing, then listen against the MP3. A structurally valid file can still contain the wrong melody.
As a reproducible structure check, I ran this site's MIDI exporter with two known notes on this Windows machine. It produced a 51-byte file beginning MThd: Format 0, one track, 480 ticks per quarter note, and an MTrk declaring 29 bytes that matched the actual track data. That confirms this known-note file's structure—not how accurately an MP3 was transcribed.
If you need to make a MIDI file from an isolated melody, use the browser-based converter. If you need to decide which audio converts well, see the conversion guide. For a file you already downloaded, use the four-pass check below.
Check your own file in four passes
- Open it in a piano roll or notation app. If the app reports a corrupt or unreadable file, stop; do not judge the musical result yet.
- Count the useful notes. An unexpectedly empty track means detection likely found no stable notes or the export failed. A crowded track from a simple solo phrase points to false detections.
- Align the first clear note with the source audio. Compare pitch and onset against the MP3. Then check the last note, because a file can look plausible at the start but drift later.
- Audition at the correct tempo with a plain instrument. If timing changes when you import the file, check the receiving app's tempo handling before editing every note. Change the playback instrument separately from correcting pitch.
Keep the source MP3 beside the MIDI file while editing. The .mid is the editable draft; the recording is the evidence of what was actually played.
A reproducible export check on this site
I ran the site's actual buildMidi export function locally on this Windows machine with two known note events: MIDI pitch 60 from 0.0 to 0.5 seconds at velocity 80, then pitch 64 from 0.5 to 1.0 seconds at velocity 90. The test script is tests/midi-file-research.mjs; run node tests/midi-file-research.mjs from the site project root to repeat it.
The generated file was 51 bytes. Its header began MThd; it declared Standard MIDI File Format 0, one track, and 480 ticks per quarter note. Its MTrk chunk declared 29 bytes, matching the 29 bytes actually following the chunk header. The track contained two note-on and two note-off status bytes, a tempo event, and the 00 ff 2f 00 end-of-track event. The test checked those values and exited successfully.
This is a file-structure test, not an audio-transcription accuracy score. It does not prove that a real MP3 would yield the right pitches or that every DAW will import it the same way. It does establish that this known-note sample was serialized into a coherent .mid structure by the site's exporter.
Why these checks matter
A Standard MIDI File stores timed events that another program can interpret as notes and controls. It does not contain the original instrument's waveform or vocals. The MIDI Association describes the file as a way to exchange time-stamped MIDI data between programs (Standard MIDI Files). The same .mid can sound different when you choose a different instrument or sound library in a DAW. For an audio-derived melody, inspect note starts, note ends, pitch, velocity, and tempo against the original MP3.
When the file opens but sounds wrong
Separate three problems before repairing anything: (a) the file will not open, (b) the notes are wrong, or (c) the notes are right but the destination instrument sounds different. Re-export for (a), revisit detection or manually edit for (b), and choose a suitable sound for (c). Conflating these wastes time and may lead you to discard a useful MIDI draft.
If you want to turn the notes into printed notation, that is a further step in a score editor; this site exports MIDI, not finished sheet music. MusicXML, unlike MIDI, is intended for exchanging digital sheet music between notation applications (MusicXML overview).