To convert MP3 to MIDI, run the recording through a transcription tool: it listens for notes and writes each one as a MIDI note with a pitch, a start, a length and a velocity. Zutilium's free MP3 to MIDI Converter does this in your browser with Basic Pitch, Spotify's open-source transcription model, and your recording is never uploaded. It also opens WAV, M4A and FLAC files.
Expect the best results from one instrument or voice, recorded clearly. A full song with drums comes back with extra notes, so separate the part you want first and expect cleanup.
What audio to MIDI conversion can and can't do
An MP3 or WAV file stores sound as a waveform. A MIDI file stores instructions: which key, how hard, for how long. Nothing carries over directly, so the converter has to work out the notes by ear, like a musician.
Spotify built Basic Pitch to work with nearly any instrument, voice included, and it can follow several notes at once, though its repository notes that it works best on one instrument at a time. The converter mixes your file to mono and resamples it to 22,050 Hz. About 86 times a second, the model estimates which of the 88 piano keys (A0 to C8) are sounding and where notes begin, and the notes are read from those estimates. That design sets the limits:
- Everything lands in one MIDI track. The model doesn't identify instruments, so it can't split a piano from a guitar.
- Drums aren't pitched, so they don't become a drum track. Their hits show up as stray notes.
- Tempo and key aren't detected. Notes keep the timing they have in the recording.
- Slides and vibrato can become pitch bends, but only on notes that play alone, because a MIDI channel has one pitch wheel.
How to convert MP3 to MIDI with Zutilium
The MP3 to MIDI Converter accepts files up to 150 MB and 10 minutes long. The first time you convert, the page fetches the model and the code that runs it, about 2 MB; your audio stays on your device.
- Click Choose an audio file or drop the file on the page. To see a clean result first, press Try an example instead.
- To convert only part of the file, type a Start and End (such as 1:05.5, or 65.5 seconds) or drag across the waveform, then press Play section to check the passage.
- Under Preset, keep Basic Pitch defaults or choose the closest match: Piano or keys, Voice or solo melody, Guitar or bass or Dense mix.
- Press Convert to MIDI. In Chromium on an Apple M1 Max, a minute of audio takes about 1 second on the graphics card and 5 seconds with WebAssembly; phones are slower.
- Press Play with Listen to set to Both and watch the piano roll, where notes the model is less sure of are drawn paler. Move the sliders under Note detection; the notes update without converting again.
- Enter the song's Tempo (BPM) if you know it, pick an Instrument, then press Download MIDI.
In the summary, Pitch range should fit the instrument: a sung melody spanning five octaves has stray notes. Most notes at once should be close to what the part really plays, so a melody that shows 6 needs cleanup. Open Note list to read each note's start, length, pitch and velocity.
Which recordings convert well
| Source | What to expect | Preset |
|---|---|---|
| Sung or hummed melody | Works well; slides become pitch bends | Voice or solo melody |
| Solo flute or violin | Works well | Basic Pitch defaults |
| Bass line or guitar riff | Works well | Guitar or bass |
| Solo piano | Works well; dense chords need more cleanup | Piano or keys |
| Full song with drums | Many stray notes | Dense mix, after separating stems |
| Drums alone | No drum track | Not suited |
What makes a good source:
- A dry, close recording. Reverb and echo keep notes sounding after the player stops, which adds length and repeats.
- Clear note starts. Ableton gives the same advice for its own audio-to-MIDI commands.
- The best copy you have. A WAV made from an MP3 adds nothing.
- Don't count on stereo. The channels are averaged, so a guitar panned hard left is mixed back in with everything else.
To turn a hummed tune into MIDI, record it with the Online Voice Recorder: turn off Voice clean-up, which is meant for speech, before you start, and save with Download WAV, which keeps the file on your device. Our guide to recording audio on your computer covers mic placement and levels. If the part is in a video, pull the sound out with Audio Extractor, which uploads the video to Zutilium's server, as our guide to extracting audio from MP4 explains.
What each setting does: a worked example
Press Try an example to test the settings against a known answer. The page synthesizes 8.6 seconds of the opening of Beethoven's "Ode to Joy" over a bass line, 19 written notes at 120 BPM, and converts it. At Basic Pitch defaults you get exactly those 19 notes, G2 to G4, each starting within 15 ms of its written time. Now change one setting at a time:
| Change from the defaults | Notes | What appears |
|---|---|---|
| None | 19 | Every written note, nothing extra |
| Note threshold 0.15 | 35 | 16 faint ghost notes, mostly F#6 to B6 |
| Onset threshold 0.20 | about 30 | Held bass notes chopped into half-second pieces |
| Minimum note length 0 ms | 39 | 20 blips, each shorter than 25 ms |
| Dense mix preset | 17 | The two notes at 0:00 are lost |
| Quantize to 1/8 note | 19 | Every start and end exactly as written |
Three lessons carry over to real recordings:
- Faint extra notes are usually overtones. Of the 16 extra notes at a 0.15 note threshold, 15 sit exactly 12, 24 or 28 semitones above a note that is really playing, where its harmonics fall. They are faint, too: all 16 have a velocity of 28 or less, while the 19 real notes are all 77 or more, because velocity here reflects the model's confidence.
- Melodia trick finds notes without a clear start. Dense mix turns it off, and the two notes that begin at the very first instant vanish. With your own files, start the section a moment before the first note.
- Note ends are looser than starts. Here they land up to 0.12 s from the written end, which is why Most notes at once reads 3 although the music never plays more than 2 notes. A 1/8-note grid brings it back to 2.
To spot an overtone, count semitones up from the strongest note sounding at the same moment:
| Harmonic | Distance above the real note | Example above E4 |
|---|---|---|
| 2nd | 12 semitones (an octave) | E5 |
| 3rd | 19 semitones (an octave and a fifth) | B5 |
| 4th | 24 semitones (two octaves) | E6 |
| 5th | About 28 semitones (two octaves and a third) | G#6 |
Clean up the MIDI in your DAW
The download is a Standard MIDI File with a tempo track and one instrument track. Clean it up in this order:
- Line up the grid. The file uses the Tempo (BPM) you entered, 120 by default, in 4/4. If you quantize in the converter, start the section exactly on a downbeat, because its grid counts beat 1 from the section start.
- Delete ghost notes. Select low-velocity notes and notes stacked at harmonic distances above stronger ones.
- Fix lengths. Shorten notes that overrun the next one, and join notes the converter split.
- Quantize gently. Snap starts to 1/16 notes, or a triplet grid for swung parts, then listen; full-strength quantizing can make a human performance stiff.
Full songs, drums and DAW alternatives
A full mix comes back as one track of overlapping notes, so separate the part first. Logic Pro's Stem Splitter can split out vocals, drums, bass, guitar and piano on Macs with Apple silicon. Ableton Live 12 Suite's Stem Separation gives vocals, drums, bass and everything else, and Ableton notes that some sound can end up in an unexpected stem. Convert the stem you need, and try Dense mix if leakage adds notes.
Drums need a different tool, because Basic Pitch transcribes pitched notes only. In Ableton Live Standard and Suite, Convert Drums to New MIDI Track looks for kick, snare and hi-hat hits, while Convert Melody and Convert Harmony handle pitched parts. Logic Pro can create a MIDI track from Flex Pitch data, which Apple says works best on monophonic parts. Developers can also run Basic Pitch locally in Python.
Troubleshooting MP3 to MIDI results
Too many notes, or notes far above the melody
Raise Note threshold in steps of 0.05, or switch to Dense mix. Then set Lowest note and Highest note to the instrument's real range; Voice or solo melody uses E2 to C6, and Guitar or bass uses E1 to E6.
One long note comes out as several short ones
Raise Onset threshold and keep Melodia trick on. Echo in the recording repeats notes too. To drop short fragments, raise Minimum note length: at the default 128 ms, notes of 139 ms or more are kept.
Quiet or fast notes are missing
Lower Note threshold for quiet notes, Onset threshold for fast repeats and Minimum note length for quick passages; Piano or keys keeps notes from about 70 ms. Notes outside Lowest note and Highest note are dropped, so for a five-string bass lower Lowest note from E1 to B0. If only the first note is missing, move Start a little earlier.
Notes sound slightly out of tune
Turn off Pitch bends for instruments with fixed pitch, as Piano or keys does. Bends can appear on notes that were in tune: in the example, setting Lowest note to C4 lets the melody play alone, and three of its notes come out a third of a semitone sharp.
My DAW shows every note an octave lower
Only the names differ. The converter calls MIDI note 60 C4, which is middle C, and some DAWs call the same note C3.
The file won't open
Files over 10 minutes are refused even if you only need part of one, so cut them first in an editor such as Audacity. If your browser can't decode the format (OGG and WebM support varies), save the file as MP3 or WAV.
Frequently asked questions
Can you convert a full song to MIDI?
Not cleanly in one pass. The converter has no stem separation, so drums and overlapping instruments add stray notes to the one track it writes. Separate the parts, convert each stem on its own and combine the MIDI tracks in your DAW.
How accurate is an MP3 to MIDI converter?
On the clean, synthesized built-in example, the default settings find all 19 written notes and nothing else, each starting within 15 ms. Real recordings, especially with chords, effects or background noise, need editing, and note ends are less precise than note starts. Treat the result as a draft to correct by ear.
How do I convert WAV to MIDI?
The same way as an MP3: the converter opens WAV directly, along with M4A and FLAC, and OGG in most browsers. Converting an MP3 to WAV first doesn't improve the result, since it can't restore lost detail.
Why does the MIDI file sound different from the MP3?
A MIDI file contains notes, not sound. It asks for the General MIDI instrument you chose, Acoustic Grand Piano by default, but your player or DAW decides the sound. Velocities come from how strongly the model detected each note, not from how hard it was played, so dynamics may need adjusting too.
Can I turn the MIDI into sheet music?
Yes. Notation apps such as MuseScore open .mid files as a score. Quantize to a 1/8 or 1/16 grid and set the real tempo first; the file has no key signature, and a MIDI note number can't tell C sharp from D flat, so check spellings and rhythms by hand.