Audio to MIDI

Track the melody in a recording, write it out as a standard MIDI file.

Notes keep their real timing; the tempo only decides how the MIDI grid is divided.

Pitch is tracked with autocorrelation, one note at a time. Chords, drums and heavy reverb will collapse into a single melody line — for those you need a separation model, which does not run in a browser tab.

What it does not do

Monophonic only. A hummed tune, a flute, a single guitar line work; chords, drums and dense mixes produce one simplified line or nothing at all. Polyphonic transcription needs a model, not a formula.

Pitch detection for a single voice is a solved problem in a few dozen lines: window the audio, look for the lag at which the signal best correlates with itself, take the reciprocal. That lag is the period, and the period gives the frequency. Smooth the result across frames and you have a melody.

The interesting part is what comes after: deciding which frames count as notes rather than noise. A quiet gate throws away silence, a median filter removes octave jumps (the classic autocorrelation error), and a minimum duration drops the one-frame blips that would otherwise become 32nd notes nobody played.

How to use it

  1. Drop a recording with one clear melody — humming is fine, and often cleaner than a piano.
  2. Press Detect notes. The first forty are listed with their pitch names so you can sanity-check the extraction.
  3. Download the .mid and open it in any DAW. Adjust the tempo there; the page only decides how the grid is divided.

Why chords break it

Autocorrelation assumes one period. Two simultaneous notes produce a signal whose period is not either note's period, so the tracker picks whichever partial is strongest and jumps between them, frame by frame. The result sounds like a melody that is not there.

Doing this properly means separating sources first — a neural model that splits a mix into stems — and then tracking each stem. That is a server-side job of hundreds of megabytes, so this page stays honest and says single line instead of shipping something that mangles chords silently.

Reviewed 2026-10-26. This tool runs entirely in your browser — no server, no account, and nothing you generate is stored.

Frequently asked questions

Will it transcribe a song from a recording?

Not the chords or the drums. It will pull out the most prominent melodic line, which for a sung vocal is often recognisable. Full multi-track transcription is not something a browser tab can do.

How accurate is the pitch?

Within a semitone for clean monophonic material, with the boundary cases being vibrato (which can alternate between two semitones) and breathy voices (where the fundamental is weak and a harmonic wins).

Why does the tempo I typed not change the melody?

It only affects how seconds map onto the MIDI grid. The notes keep their real timing; changing the tempo in your DAW afterwards will stretch them consistently.

Does it work on a recording longer than three minutes?

Analysis stops at 180 seconds to keep the tab responsive — pitch tracking is CPU-bound and runs sample by sample. Trim the section you care about with the MP3 cutter first.

Related tools

More from Audio & video.