Audio analysis · No upload
Convert MP3 to MIDI on your device
Turn a sung, hummed, whistled or played melody, one note at a time, into a MIDI file.
The table lists each note with its start, length, offset from equal temperament in cents and confidence, unsteady notes included, so you can see which ones to check against the recording.
One melody line from a mono copy resampled to 22,050 Hz. Silence and flagged polyphony are refused; drums and speech can be refused, but a clear single voice can pass. Checks can miss chords or mixes. A recording over five minutes is refused by name. Takes .wav, .wave, .mp3, .m4a, .aac, .ogg, .oga, .opus, .flac, .aif, .aiff and .weba.
How this transcriber works
Your browser reads the file into memory and decodes its audio. The page mixes it to one channel at 22,050 samples per second, as the readout shows, and tracks pitches between C2 and about D6 (65–1,200 Hz). It analyses overlapping frames of about a tenth of a second, spaced closely enough that a note lasting a sixteenth of a second appears in several of them.
YIN estimates a frequency for each frame by finding where the waveform repeats and refining that interval to a fraction of a sample. The note confidence comes from how closely that repeat matches within accepted frames, averaged over the note; it is not a measure of pitch variation between frames. A second check measures the energy in bins near the estimated pitch and the seven multiples above it, the first eight harmonics, and a frame counts as a note only when at least 35% of that harmonic energy sits at the estimated fundamental. That is the check that lets the tool refuse a chord whose combined waveform repeats like a single note.
Frames are grouped into notes where the rounded pitch holds steady and passes the harmonic test, and a note under 60 ms is dropped. If fewer than half the frames with a pitch estimate pass the periodicity and harmonic checks, the whole file is refused and nothing is exported. Mixtures, unstable sound and sound outside the tracked band can cause that refusal, and the checks do not catch every chord or mix. A kick drum’s falling pitch usually fails the periodicity check, but a clear single voice can pass and is written as the notes it sang. Notes are rounded to semitones, velocity comes from the measured level, and times are rounded to MIDI ticks, 480 to a quarter note at 120 BPM; that tempo is only a timebase, with no beat grid fitted. The cents offsets stay in the table and are not carried into the file as pitch bend. The MIDI keeps no timbre, words or chord arrangement from the source.