How MP3 to MIDI works
MP3 and MIDI are very different things. An MP3 stores sound waves. A MIDI file stores instructions: which note starts when, how long it lasts and how loud it is. Converting MP3 to MIDI therefore means listening to the recording and writing down the notes, a task called automatic music transcription. This page uses basic-pitch, an open-source model from Spotify, which runs entirely in your browser. The model downloads once; your MP3 is never sent anywhere.
What works well, and what does not
Automatic transcription is useful, but not magic. Results depend heavily on the recording:
- Good results: solo piano, solo guitar, a flute or violin line, a clearly sung or whistled melody, a bass line on its own.
- Usable with editing: two or three instruments, piano with soft accompaniment, a vocal over simple chords. The model is polyphonic and finds chords, but it will miss some notes and add a few wrong ones.
- Poor results: dense band mixes, heavy distortion, lots of reverb, orchestral recordings.
- Not transcribed: drums and percussion. They have no clear pitch, so they do not become drum notes.
For a full song, try melody-only mode. It keeps the strongest line, which is often the vocal or lead instrument, and drops the rest. Splitting off the vocals first with the vocal remover can also help.
MP3 quality matters
Low-bitrate MP3 files (96 kbps or less) contain smeared high frequencies and compression noise that confuse the model. Use a 192 kbps or better MP3, or the original WAV if you have one, which you can process with WAV to MIDI.
Using the MIDI file
The file contains notes with their timing and velocity. It has no sound of its own: choose any instrument in your DAW, notation program or keyboard. Notes keep their real timing and are not snapped to a grid, so quantizing in your music software makes the result easier to read as sheet music. To hear a MIDI file as audio again, use the MIDI converter.