Audio to MIDI Converter

This audio to MIDI converter turns recordings into editable MIDI notes in your browser. Drop a sung melody, a piano take or a guitar riff — one file or a folder — and download .mid files for your DAW or notation software, with a piano roll and note list to check the result. Use Spotify's Basic Pitch model for chords and piano, or the built-in tracker for single melodies with no download.

Methods

MethodBest forDownload
Basic PitchPiano, guitar, chords0.2 MB
Melody trackerVoice, flute, bass linesNone

When to use it

  1. Transcribe a hummed or sung melody.
  2. Turn piano recordings into MIDI.
  3. Capture guitar riffs as notes.
  4. Make sheet music drafts.
  5. Batch-convert sample libraries.

How to Use

  1. Choose the method.
  2. Drop audio files.
  3. Convert.
  4. Download .mid or CSV.

Features

  1. Spotify Basic Pitch
  2. Built-in YIN tracker
  3. Piano roll preview
  4. MIDI and CSV export
  5. Batch with ZIP
  6. Clear downloaded models

FAQs

Can it handle chords?

Yes with Basic Pitch, which detects several notes at once; the built-in tracker follows one note at a time.

Which tempo is used?

Notes keep their real timing; the tempo you set only labels the MIDI file's grid so it lines up in your DAW.

Will drums convert?

No, both methods detect pitched notes; drum hits aren't transcribed.

Is anything uploaded?

No. Files and text are processed in your browser. Only the model itself is downloaded, once, when you ask for it.

Can I delete the downloaded model?

Yes. The Downloaded models panel lists what this tool stored and deletes it after a warning; you'd need to download it again to use it.

Technical Details

Audio is decoded at 22 050 Hz. The built-in tracker estimates one fundamental frequency per 256-sample hop with the YIN method (cumulative mean normalised difference, threshold 0.12, parabolic interpolation), median-filters the MIDI pitch, and turns steady runs into notes above a minimum length and loudness gate. Basic Pitch, Spotify's Apache-2.0 model, runs on ONNX Runtime Web: audio is cut into 43 844-sample windows with 30 frames of overlap, the note and onset posteriors (88 keys, 86 frames/s) are stitched together, and notes start at onset peaks and continue while the note posterior stays above threshold. The 0.2 MB model is fetched from a pinned GitHub commit on request and verified by SHA-384. Notes are written as a format-0 standard MIDI file.

Audio Tools

Audio Tools

  • Audio Trimmer
  • Audio Merger
  • Audio to WAV Converter
  • Audio Speed & Pitch Changer
  • BPM Detector
  • Tone Generator
  • Voice Recorder
  • Metronome