Audio to MIDI

About this converter

MP3 to MIDI Converter is a free page on this site that turns an audio file into a MIDI file. Give it an MP3, WAV, FLAC, OGG, M4A, or the audio track of a video, and it writes back a standard .mid file you can open in a DAW or notation program.

It runs on your device, not on a server

There is no upload step. Your browser decodes the file locally with the Web Audio API, the pitch analysis happens in your own browser tab, and the MIDI file is assembled in memory on your machine. The file you drop in never travels to this site or anywhere else. Because of that, there is no account to create, no file size cap imposed by a server, and no queue.

What it is good at

What it is not

How the conversion works

Short frames of audio are analysed for their fundamental frequency using the YIN autocorrelation method. Frames that are not clearly periodic are treated as silence. Consecutive frames that agree on a pitch become one note, and its loudness becomes the MIDI velocity. The result is written as a standard MIDI file (SMF format 1, 480 ticks per quarter note) with the tempo you set inside it.

Keeping it free

The page is offered free and without a watermark or a conversion limit. Running the work on your device instead of on our servers is what makes that practical.

Questions, or something that looks wrong? Write to [email protected].