utilityUses AI

Hum to MIDI: Turn Audio Into Notes

Hum, sing or whistle a tune and get a MIDI file. Free, private, runs in your browser.

This tool uses AI. Basic Pitch by Spotify runs on your device and can make mistakes.Details

The model finds the pitch and timing of each note in a hum, whistle or single-voice recording. It downloads once (1 MB) and then runs in your browser. Your audio is never uploaded.

It can miss quiet or very short notes and add extra notes from overtones. It is tuned for one melody at a time, so chords and full songs come out messy.

About Basic Pitch

How it works

  1. 01

    Tap record and hum, sing or whistle a tune one note at a time. Or upload a short audio file.

  2. 02

    A small pitch model finds each note and shows it on a piano roll. Change the sensitivity if notes are missing or extra ones appear.

  3. 03

    Play the notes with the built-in synth, then download the .mid file and open it in your music app.

  • No file upload
  • No signup
  • No ads
  • 100% browser-based

Frequently asked questions

How do I turn a hum into a MIDI file?

Press Record a hum, sing or whistle your tune, then press Stop. The tool finds the notes and draws them on a piano roll. Play them back to check, then download the .mid file. Open it in GarageBand, Ableton, FL Studio or any MIDI app and pick an instrument.

What kind of audio works best?

One voice or one instrument, one note at a time, in a quiet room. Hums, whistles, singing, flute and violin do well. Chords and full songs give messy results because the tool is tuned for a single melody.

Why does my MIDI have extra high notes?

A sung note has overtones above the main pitch, and the model sometimes reports them as notes. Keep One melody only switched on to drop them. If real notes go missing, lower the sensitivity or shorten the shortest note setting.

Does the audio get uploaded?

No. The note model is Basic Pitch from Spotify. It is about 1 MB and runs in your browser using TensorFlow.js. Your recording stays on your device.

Does it capture rhythm and tempo?

It captures when each note starts and how long it lasts, in seconds. The file is written at 120 BPM so those times line up with the grid in your music app. It does not quantize, so notes keep the timing you hummed. Use your app's quantize tool to snap them.

Can I convert an MP3 or a song to MIDI?

You can upload an MP3, WAV or M4A. A solo melody converts well. A full mix with drums, bass and vocals does not, because the tool reads one line of notes at a time. Isolate the vocal or lead instrument first.

Which MIDI file does it make?

A standard MIDI file with one track, using the piano sound. Note loudness comes from how strongly each note was sung. Pitch bends are not included.

Need to record first?

Orec is a free browser-based recorder with crash-safe local storage and built-in editing.

Start Recording