WAV to MIDI

A PCM WAV converts to a .mid file with editable pitches, start times, and lengths for the detected melody.

Your WAV file

PCM

100 MB · 10 min max · No sign-in

Detected melody

.MID
Convert a WAV to see the notes
Notes
—
Tempo
—
Key
—
Save the MIDI file

How short a note or a gap can WAV to MIDI detect?

We used the same Noteline build in Chrome on Windows and ran each WAV three times. All files were 44.1 kHz mono 16-bit PCM, with the same synthesis settings and two fixed reference notes. We changed only the target note length in the first test and only the silent gap in the second. Every repeat produced the same MIDI events for its input.

Note length

60 ms was the shortest tested E5 that appeared in all three runs on this 44.1 kHz mono 16-bit PCM test signal. The E5 was missing at every tested length from 10 through 40 ms. We did not test anything between 40 and 60 ms.

E5 length test results and downloads
E5 lengthFilesE5 / totalE5 result
10 msWAV MIDI0 / 2Missing
20 msWAV MIDI0 / 2Missing
30 msWAV MIDI0 / 2Missing
40 msWAV MIDI0 / 2Missing
60 msWAV MIDI1 / 369.792 ms (+9.792 ms)
100 msWAV MIDI1 / 3110.417 ms (+10.417 ms)

Silent gap between two A4 notes

20 ms was the shortest tested silent gap that gave two separate A4 events in all three runs on this 44.1 kHz mono 16-bit PCM test signal. Both A4 notes were 160 ms long. At a 10 ms gap they merged into one event. We did not test anything between 10 and 20 ms.

Silent gap test results and downloads
Silent gapFilesA4 / totalA4 result
10 msWAV MIDI1 / 3Merged into one
20 msWAV MIDI2 / 4Separate
50 msWAV MIDI2 / 4Separate
100 msWAV MIDI2 / 4Separate
E5 is missing at 10, 20, 30 and 40 ms and detected at 60 and 100 ms. The A4 pair merges with a 10 ms gap and separates with 20, 50 and 100 ms gaps.
Observed outcomes for the tested lengths and gaps in 44.1 kHz mono 16-bit PCM.

Download the per-event CSV for all 30 runs. It includes source and output times, counts, and the E5 duration error. The file links in each row give the input WAV and the MIDI downloaded on the first run.

In an earlier test, the same synthetic phrase produced byte-identical MIDI at 16, 22.05, 44.1, and 48 kHz. Its 30 ms E5 was missing at all four rates.

Have an MP3? Open Change MP3 to MIDI to convert it and see how different tones affected the detected pitches.

WAV to MIDI questions

How do I convert a WAV to MIDI?

Choose a PCM WAV, convert it, then save the .mid file. Open that file on an instrument track to hear and edit the notes. The converter runs in your browser and has no sign-in step.

What kind of WAV should I export for MIDI conversion?

Choose uncompressed 16-bit PCM WAV if you can set the export format. Our controlled samples are mono. Use one file within 100 MB and 10 minutes. If a WAV will not open, re-export it as PCM in the app that recorded it.

Should I resample my WAV before converting it to MIDI?

Try the WAV at its current sample rate. In our 44.1 kHz mono 16-bit PCM tests, 60 ms was the shortest tested E5 that survived and 20 ms was the shortest tested gap that kept the two A4s separate. Resampling alone does not lengthen a short note or widen the silence between notes. Changing only the sample rate left the earlier test's 30 ms E5 missing at all four rates.

Can I convert a chord or a full mix from WAV to MIDI?

Use an isolated melody if you need reliable individual notes. This converter tracks one pitch at a time, so notes played together can be missed or represented by a single pitch.

Will the MIDI still sound like my original WAV?

The playback instrument determines the sound of the MIDI file. The export stores note events, so use the original WAV when you need the recording's exact tone or ambience.