WAV to MIDI
A PCM WAV converts to a .mid file with editable pitches, start times, and lengths for the detected melody.
Detected melody
.MID- Notes
- —
- Tempo
- —
- Key
- —
Detected note events
Times are relative to the start of your WAV.
| Pitch | Onset | Duration | Velocity |
|---|
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 | Files | E5 / total | E5 result |
|---|---|---|---|
| 10 ms | WAV MIDI | 0 / 2 | Missing |
| 20 ms | WAV MIDI | 0 / 2 | Missing |
| 30 ms | WAV MIDI | 0 / 2 | Missing |
| 40 ms | WAV MIDI | 0 / 2 | Missing |
| 60 ms | WAV MIDI | 1 / 3 | 69.792 ms (+9.792 ms) |
| 100 ms | WAV MIDI | 1 / 3 | 110.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 | Files | A4 / total | A4 result |
|---|---|---|---|
| 10 ms | WAV MIDI | 1 / 3 | Merged into one |
| 20 ms | WAV MIDI | 2 / 4 | Separate |
| 50 ms | WAV MIDI | 2 / 4 | Separate |
| 100 ms | WAV MIDI | 2 / 4 | Separate |
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.