WAV to MIDI
WAV to MIDI in your browser: drop a bounced stem or lossless recording and get the notes as MIDI, plus a score. We tested WAV vs MP3 vs FLAC. Free preview.
WAV to MIDI in your browser: drop a WAV (or FLAC, MP3, M4A, OGG) above and Spotify’s open-source Basic Pitch model writes out the notes, which you get as a MIDI file plus a staff score and piano roll. The audio is not uploaded. Converting and previewing are free; the MIDI downloads together with MusicXML, PDF and jianpu for 10 credits per minute of audio. It is built for producers with a bounced stem and for anyone with a lossless recording of one instrument or voice.
The example beside the title is our own rendition of Pachelbel’s Canon in D, transcribed by this page’s engine. We wrote every note of it ourselves, so we know exactly what the MIDI should contain, which is what made the test below possible.
Does WAV give better MIDI than MP3? We tested it
People often say a WAV gives a cleaner WAV to MIDI result than an MP3 because it is uncompressed. We measured it instead of guessing.
Method. Four of our gallery pieces are synthesized renditions where every written note is known: Canon in D, Song of Farewell, Ode to Joy and Two Tigers (185.7 seconds of music, 315 written notes). We rendered each once, encoded that same audio as WAV, FLAC, MP3 at four bitrates and AAC with ffmpeg, decoded every file to what the browser tool feeds the model (mono, 22,050 Hz), and ran Basic Pitch on the Balanced preset with our overtone clean-up. A written note counts as found when a transcribed note has the same pitch and starts within 60 ms of it. Transcribed notes with no written note behind them count as extra. The script is scripts/wav-vs-mp3.mts in our repository and the numbers below are its output.
| File format | Size (mono file) | Written notes found | Extra notes | Median timing offset |
|---|---|---|---|---|
| WAV (lossless) | 5.05 MB/min | 308 / 315 (97.8%) | 16 | +4 ms |
| FLAC (lossless) | 1.16 MB/min | 308 / 315 (97.8%) | 16 | +4 ms |
| MP3 320 kbps | 2.29 MB/min | 310 / 315 (98.4%) | 16 | +5 ms |
| MP3 128 kbps | 0.92 MB/min | 310 / 315 (98.4%) | 14 | +5 ms |
| MP3 64 kbps | 0.46 MB/min | 310 / 315 (98.4%) | 13 | +3 ms |
| MP3 32 kbps | 0.23 MB/min | 312 / 315 (99.0%) | 16 | +3 ms |
| AAC (M4A) 128 kbps | 0.91 MB/min | 310 / 315 (98.4%) | 12 | +3 ms |
Result: the file format made no real difference. The WAV found 308 of the 315 written notes (97.8%), and FLAC, being lossless, gave exactly the same notes. Every lossy version found at least as many: 310 for MP3 at 320, 128 and 64 kbps and for AAC at 128 kbps, and 312 for a 32 kbps MP3. Extra notes ranged from 12 to 16 across all seven files. In three of the four pieces the number of notes found was identical in every format; all of the differences come from Song of Farewell, played by our flute-like voice with vibrato, where a handful of borderline notes tip one way or the other with tiny changes in the audio. Timing moved by a few milliseconds at most, far inside the 60 ms window and far shorter than a sixteenth note.
That the lossy files came out a note or two ahead is chance, not a reason to prefer MP3. The useful conclusion is the other way round: you do not need to hunt down a WAV for a WAV to MIDI job. The reason is in the pipeline. The model hears mono audio at 22,050 Hz, so everything above about 11 kHz is thrown away before it listens, and MP3 and AAC do most of their damage in high, quiet detail the model never uses. Use WAV or FLAC when you have it, since it is your master and nothing is lost by re-encoding, but an MP3 at 128 kbps or more transcribes just as well. The sizes above are for our mono test files; a stereo WAV is twice as big, while an MP3 at a given bitrate stays the same size.
Two caveats keep this honest. These are clean synthesized renditions; a real recording with room sound and a real instrument has other problems that dwarf the codec, and we have not measured those per format. And the test used one encoder per format; a badly made MP3 (re-encoded several times, or from a bad source) can be worse than ours.
WAV to MIDI for producers: how to bounce a stem
- Solo one part and bounce it. A bass line, a lead synth, a piano, a vocal. One instrument at a time gives the cleanest MIDI.
- Bypass reverb and delay on that track. Effects tails are heard as extra, held notes. Compression and EQ are fine.
- Start the bounce at bar 1 (or at a bar line you note down), so the MIDI can be dropped at the same position.
- Format: WAV or FLAC, 16 or 24-bit, any sample rate. Stereo is mixed to mono anyway. Keep it under 10 minutes.
- Drop it in above, pick the note detail (Balanced for most parts; Detailed for fast arpeggios and plucks; Clean for a pad or a vocal) and check the piano roll.
- Download the MIDI and drag it into your DAW at bar 1. Quantise there if you want it on the grid; the file keeps the played timing.
What is in the MIDI file
| In the file | Details |
|---|---|
| Notes | One track, pitch, start and length as heard (not quantised) |
| Velocity | From how loud each note was in the audio |
| Tempo | The detected BPM (use ½ or ×2 in the tool first if it is off by double) |
| Time signature | The guess (4/4, 3/4 or 2/4), or the one you picked |
| Instrument | General MIDI piano; assign any instrument in your DAW |
| Not included | Pitch bends, drums, chord names, separate tracks per instrument |
The same download also has the score as MusicXML for MuseScore, Sibelius or Dorico, a PDF and the jianpu.
Limits of WAV to MIDI here
Basic Pitch transcribes pitched notes from one instrument or voice. Drums are not written out, and a full mix with drums, bass, chords and vocals together comes out as a cluttered sketch: separate the stems first with a stem splitter. Heavy distortion, chorus and long reverb create extra notes. There is no MIDI editor on the page: fix notes in your DAW or notation app. If you only need the key or the tempo of a track, the free key finder and BPM finder are quicker.
FAQ
Is WAV to MIDI better than MP3 to MIDI?
Not in our test. Of 315 known notes, the WAV found 308, MP3 at 128 kbps found 310 and even a 32 kbps MP3 found 312; gaps that small are chance. Use WAV or FLAC when you have it, but an MP3 at 128 kbps or more transcribes just as well.
Is the WAV to MIDI converter free?
Converting, previewing the notes and playing them back are free with no sign-up. Downloading the MIDI together with the MusicXML, PDF and jianpu costs 10 credits per started minute of audio.
Does 24-bit or 96 kHz WAV give better MIDI?
No. The browser mixes the file to mono and resamples it to 22,050 Hz before the model hears it, because that is the rate Basic Pitch was trained on. A 16-bit, 44.1 kHz bounce carries everything the model uses.
Will the MIDI line up with my project?
The notes keep the timing they have in the audio (they are not quantised in the MIDI file), and the detected tempo and time signature are written into it. Bounce the stem from bar 1 and drop the MIDI at bar 1, and the notes sit on top of the audio.
Can I convert a full mix to MIDI?
You can, but the result is a rough sketch: Basic Pitch is built for one instrument or voice. Bounce or separate the part you want (bass, lead, keys, vocal) and convert that stem.
Is my WAV file uploaded?
No. The file is decoded and transcribed in your browser; the model file is downloaded from our site once, your audio never leaves your computer.
Drop a stem above to try WAV to MIDI. Have an MP3 instead? The MP3 to MIDI converter is the same engine; for printable notation see audio to sheet music, and to hear what our engine makes of real recordings, browse the free sheet music.
Last updated: 2026-12-02