Does MP3 to MIDI keep the silence before your first note?

In Noteline’s test of four MP3 clips, the first MIDI note landed within 5 milliseconds of the end of the original leading silence.

Download the four test clips

How was the leading silence tested?

Four MP3s contained the same eight-note phrase, with exactly 0, 120, 500 or 1,000 milliseconds of silence inserted before the first tone in the source. Pitch order, tone lengths, spacing and 128 kbps encoding were held fixed. We converted all four clips in the same Noteline build in Windows Chrome.

Place four different lengths of silence before one unchanged phrase, convert each MP3, then read the first MIDI note time.

The test compared the first sounding MIDI note with the timestamp when the first tone had been placed in the source. The zero was the beginning of each file. A positive delay from that zero means the output leaves time before the first note starts.

For each of the four exports, we identified the first Note On with a velocity above zero. The CSV records its absolute time along with the remaining seven notes. This keeps the measurement tied to the first sounding event even if the MIDI starts with settings or timing messages.

Where did the first MIDI note land?

The MP3 with no lead-in exported its first note at 0 ms. The 120, 500 and 1,000 ms versions exported their first note at 115, 495 and 995 ms, respectively. Each of the three nonzero lead-ins remained in the exported file.

Four source lead-ins of 0, 120, 500 and 1,000 milliseconds became first MIDI notes at 0, 115, 495 and 995 milliseconds.
First note times are relative to the start of each file.

In this set you can test whether the export tracks changes to the lead-in without relying on a perfect zero match. Compare two padded clips directly. The extra 380 ms between the 120 and 500 ms inputs was also 380 ms between their first output notes.

All 32 MIDI note numbers matched the pitches in the source phrases, eight per file. The biggest absolute start-time difference across those 32 notes was 5 ms. So the first-note comparison used four exports that each retained the full pitch sequence.

The results cover a clean synthetic phrase at one encoding setting. With a quiet or slow first attack, there can be more uncertainty about where the first note begins. Use a clip with a clear first attack when checking whether your own converter trims its lead-in.

How can I check my own conversion or import?

Use the 0 and 1,000 ms test clips as a pair. Run each through the MP3 to MIDI converter without trimming. Check whether the difference between their first MIDI note times is still close to one second before you open either file in your project.

A MIDI clip can move during import even when its file preserves the silent lead-in. Compare the first timestamp before import with the first note’s position after import. If the file shows a delay but the note lands at the project start, check the import option that realigns events.

Check the first note in the exported file, then check where the note lands in the project to identify an import shift.

What if only the first note moves?

Compare the first two MIDI notes to the first two waveform attacks. If both are moved equally, check the clip’s placement. If the space between them changes, the clip’s placement alone cannot account for the difference.

For a reproducible check, use a new project and import the original MP3 without removing empty space. Put the exported MIDI at the same project origin. Use seconds for both, so a tempo or bar display cannot hide a small time shift.

For checks across an entire phrase, see how to verify MP3 to MIDI timing.