8 plugins on saleExplore the collection
Vitric Audio
Menu

Audio to MIDI Converter

Turn a recording of one melody into MIDI notes: a sung or hummed tune, a bass line, a lead or a whistle. It follows one note at a time, so it cannot transcribe chords, drums or a whole song. Check the notes, fix any that are off, and download a .mid file.

Runs in this browser. No account, nothing uploaded.

Ready for a melody

Ready for a melody

  1. Drop a melody
  2. Check
  3. Export

Drop a melody to turn it into MIDI

One voice or one instrument, one note at a time: a sung or hummed melody, a bass line, a lead, a whistle. It cannot follow chords, drums or a full mix.

WAV, AIFF, FLAC, MP3 or M4A, up to 5 minutes. Nothing is uploaded.

One note at a time, to a standard .mid file. The recording is read in this browser and never uploaded.

The recording is decoded and read inside this browser tab and is never uploaded.

How to convert audio to MIDI

  1. Drop a recording of one melody onto the converter, or press Choose a file: a sung or hummed line, a bass line, a lead or a whistle, as WAV, AIFF, FLAC, MP3 or M4A, up to 5 minutes.
  2. Wait while it reads the pitch. The notes appear on the piano roll, over the waveform of your recording.
  3. Press Play to hear the notes as a plain tone. Switch to Original or Both to check them against your recording.
  4. To fix a note, press it, then use Up or Down to move it a semitone, or Delete to remove it. The arrow keys and the Delete key do the same.
  5. If you know the tempo, type the BPM or press Find BPM, then choose Snap 1/16 or 1/8 to put the notes on the grid. Leave Snap off to keep the timing as played.
  6. Press Download MIDI for a .mid file, or Copy note list for the notes as text.

Hover or press a note on the roll to see its name, where it starts and how long it is. The thin line behind the notes is the pitch as it was sung or played, so a scoop, a slide or vibrato shows as a curve around the note it was read as.

One note at a time

The converter follows a single line: one voice, or one instrument playing one note at a time. A vocal on its own, a bass line, a synth lead, a whistle and a hummed idea all work. A chord does not, because it holds several pitches at once, and neither does a full mix, where drums, chords and other parts sound over the melody. When most of a file holds no single clear pitch, the converter says it is not one line instead of handing back notes it cannot stand behind. You can still look at what it found.

The cleaner the recording, the better the notes. Record dry, close to the microphone, in a quiet room, and leave a short gap between two notes of the same pitch so they read as two. To check a single note first, the pitch detector names it and shows how sharp or flat it is.

How it works

It reads the pitch of the recording every 10 milliseconds with the YIN method, the same way the pitch detector does: a pitched sound repeats, and the delay at which it lines up most closely with itself is its period. A first quick pass finds the range the line sits in, so the second pass can listen with the shortest window that range allows. That keeps note starts sharp, to within a few hundredths of a second on a clean recording.

Then it groups the readings into notes. A note holds while the pitch stays near it, so vibrato, a scoop into a note and small wobbles stay one note. A new note starts where the pitch settles somewhere new, where the sound stops, or where the same note is struck again. Notes shorter than 70 ms are left out. When its steady notes agree that the whole recording sits sharp or flat of A = 440 Hz, the notes are rounded against that tuning, so a recording tuned near the halfway point between two notes does not flip between them.

Timing, tempo and the grid

Every note keeps the time it was played. The MIDI file starts where the recording starts, so the two line up when you place them at the same point in your DAW. Without a tempo the file is written at 120 BPM and the notes still land at the right times.

With a tempo, the file carries it, and Snap moves each note to the nearest sixteenth or eighth note. Typed, the grid counts from the start of the file; read with Find BPM, which uses the analysis in the key and BPM finder, it counts from the first beat it found. A melody on its own often has no steady beat to find, so typing the tempo you recorded at is the surer way. The roll shows the notes as played as faint outlines under the snapped ones.

Using the MIDI file

Download MIDI saves a Standard MIDI File: format 0, one track, channel 1, 480 ticks to the quarter note, with the tempo and 4/4 written at the start. Each note's velocity follows how loud it was against the loudest part of the recording. Drag the file onto an instrument track and play it with any sound you like, from a sampled piano to a synth such as Kiln Synthesizer. The guide to what MIDI is explains note numbers, velocity, and why DAWs name the same note in different octaves.

Copy note list puts the notes on the clipboard as text, one per line with its name, MIDI number, start, length and velocity, ready to paste into a sheet or a message. To move the recording into another key before you convert it, use the pitch and tempo changer.

Questions

Can it convert MP3 to MIDI?

Yes, when the MP3 holds one melodic line: a vocal on its own, a bass line, a lead, a whistle. It reads MP3, WAV, AIFF, FLAC and M4A files up to 5 minutes. It cannot turn a whole song into MIDI. With drums, chords and several instruments at once there is no single pitch to follow, and the converter says so rather than guess.

Can it transcribe chords, piano or a full song?

No. It follows one note at a time. A chord, a piano part played with both hands, a strummed guitar or a full mix holds several pitches at once. When most of a file is like that, the converter tells you it is not one line and keeps its guesses hidden unless you ask to see them.

Can I turn my voice or humming into MIDI?

Yes. Record yourself singing, humming or whistling the melody, save the recording and drop it here. Hold each note steadily, leave a short gap between two notes of the same pitch, and record in a quiet room. This page reads a recording; it does not use your microphone.

How accurate is it?

On test recordings we made with known notes (a sine melody, a sawtooth bass line with slides, a sung line with vibrato, staccato and repeated notes, a line with a long reverb tail, a whistle and a run of 94 ms notes), it found every note at the right pitch, most starting within 10 ms of where they were played. Real recordings are harder. What it gets wrong most often: notes shorter than 70 ms are left out, a slide becomes part of the note it lands on, reverb can make a note run on into the gap after it, loud room noise can cost a note, and a very wide vibrato or a slow trill can come out as one note or several. Check by ear with Both before you export.

Does the MIDI keep my timing and tempo?

Yes. Each note keeps the time it was played, so the MIDI lines up with your recording when both start at the same place in your DAW. The file is written at the tempo you set, or 120 BPM if you set none. With Snap on, the notes move to the nearest sixteenth or eighth note, counted from the first beat. Pitch bends are not written: vibrato and slides become plain notes.

Will the MIDI sound like my recording?

No. MIDI holds the notes, their timing and how loud each one was, not the sound. Put the file on a track with an instrument in your DAW and that instrument plays it. The preview on this page uses a plain tone so you can check the notes.

Is it free, and is my audio uploaded?

It is free and needs no account. The recording is decoded and read in this browser tab, and the MIDI file is made there too. Nothing is uploaded.

Showing someone how to turn a melody into MIDI in a lesson, a forum answer or an article? Here is a plain link with a credit line, ready to paste. It is ordinary HTML: no embed and no script.

<a href="https://vitricaudio.com/tools/audio-to-midi">Free audio to MIDI converter</a> by Vitric Audio