Audio to Notes and MIDI Converter

Sing, hum, whistle or play one melody line. See the notes on a piano roll, fix them and download a MIDI file.

Last updated: November 9, 2026

Recorded on this device, up to 3 minutes. Nothing is uploaded. See how we handle your audio.

Pitch range

Detection settings

Sensitivity

High also accepts less clear sounds (more notes, more mistakes). Low keeps only very clear pitches.

dBFS
Sounds quieter than this are ignored. Raise it in a noisy room.

Minimum note length

Changing these finds the notes again. Undo brings back your edits.

Tempo, quantize and key
40 to 240 BPM. Or press Tap on every beat.
%
Out-of-key notes move to the nearest scale note. Snapping happens before transposing.
st
Semitones, −24 to +24. +2 for B♭ trumpet or clarinet, +9 for E♭ alto sax.

Space play/stopC copy notesEsc stop sound

Ready

Record a melody or choose a file. The notes appear here and on the piano roll.

Listen

%
Starts at 25%. Nothing plays until you press Play.
Recent results

    Melodies you download, copy or share appear here (the summary and first 16 notes).

    Saved only in this browser: see what is stored on this device.

    Piano roll

    Click a note to select it (Shift-click for several); click empty space to move the playhead. On the roll: ← → select, ↑ ↓ change pitch, Delete remove, S split at the playhead, M merge with the next note, Ctrl+Z / Ctrl+Y undo and redo. Zoom with Ctrl + wheel or a pinch; drag to scroll. The thin line is the pitch you sang.

    Note list

    #Start (s)Length (s)NoteHzCentsVelocity

    How to turn a melody into MIDI

    1. Record or drop a file. Press Start recording and sing, hum, whistle or play your tune, then press Stop and find notes. Or switch to Audio file and drop in a recording of up to 10 minutes.
    2. Pick the pitch range. Auto covers 60 to 1,500 Hz. If you know what you recorded, choose Low voice, High voice, Whistle or Instrument. A tighter range means fewer octave mistakes.
    3. Check the notes on the piano roll. Each bar is a note. The thin line is the pitch you really sang, so you can see where a note looks wrong.
    4. Set the tempo. Type it, or press Tap on every beat while the tune plays in your head or on another device.
    5. Quantize if you want a tidy grid. Choose 1/8 or 1/16 for most tunes.
    6. Play back and compare. Listen to the notes, the original or both together, with a balance slider between them.
    7. Download the MIDI file. It is named after your file, or recording-notes.mid for a recording.

    Everything runs in your browser. The recording or file never leaves your device. Looking for a tuner, a key finder or a tempo tool instead? Browse more pitch and music tools.

    What works well and what doesn't

    The converter follows one pitch at a time, so it does best when only one note sounds at a time. These work well:

    • Solo singing or humming, especially on clear syllables like "da" or "la"
    • Whistling (choose the Whistle range)
    • Flute, recorder, violin, trumpet or saxophone playing a melody
    • A single guitar or bass line, or a lead synth

    These give poor results: chords, a piano with both hands, a full song with backing music, drums, and recordings with heavy reverb or distortion. With several notes at once, the pitch reading jumps between them. The tool checks for this and warns you when a recording sounds like chords or a full mix. To see every frequency inside a chord or a full mix, use the spectrum analyzer instead: it shows all the pitches at once rather than picking one.

    Honest limits: One melody line only. This tool cannot separate chords, a full band or a song with backing music, and it ignores drums and lyrics. It works best on a clean solo voice, whistle or single instrument recorded close to the mic. Pitch bends and slides are rounded to the nearest notes, and the MIDI file has no pitch-bend data. Expect to fix a few notes in the piano roll.

    How the converter finds the notes

    First, the audio is mixed to mono and resampled to 22,050 samples per second. Then the converter measures the pitch about 170 times a second, using the McLeod Pitch Method. It looks for the pattern that repeats in the waveform and scores how clear that pattern is.

    Quiet moments below the noise gate are skipped, and so are unclear ones, such as breaths, "s" and "t" sounds and room noise. The Sensitivity setting decides how clear a moment must be. A short median filter then removes single readings that jump away from their neighbors.

    A new note starts in three cases. Sound begins after at least 30 ms of silence. Or the pitch moves more than about half a semitone (0.6 semitone) from the current note's running median and stays there for at least 60 ms. Or the sound attacks again: the level jumps by more than 6 dB within 30 ms at the same pitch, as when you sing the same note twice.

    Vibrato does not create extra notes, because each wobble either stays close to the note's median or swings back within 60 ms. Each note's pitch is the median of its readings, rounded to the nearest semitone. The note list keeps the cents offset, so you can see how far you were from the exact note. Loudness becomes MIDI velocity. For the Hz value behind each note name, see the chart of note names and frequencies.

    Cleaning up in the piano roll

    Click a note to select it, or Shift-click to select several. The arrow keys up and down move the selected notes by a semitone, and Delete removes them. To cut a note in two, click where it should split to move the red playhead, then press S. Press M to merge a note with the next one, or to join all the selected notes into one. The Octave buttons move the selected notes, or the whole melody when nothing is selected, by 12 semitones.

    Compare the bars with the thin pitch line. A bar far from the line usually means an octave error or a noisy moment. Ctrl+Z and Ctrl+Y undo and redo up to 50 steps, and every button above the roll does the same job as its shortcut. The note list under the roll has the same notes as text, and each note name in it selects that note.

    Tempo and quantizing

    Quantizing moves the start and end of each note to the nearest line of a beat grid. The grid comes from the tempo, so set the tempo first. If you don't know it, tap the tempo on the BPM finder, or use the Tap button here.

    For most melodies, 1/8 or 1/16 works well: 1/8 for simple tunes, 1/16 for faster ones. Use 1/8 triplet or 1/16 triplet for swung tunes and shuffles, where beats split into threes. A strength below 100% moves notes only part of the way, so the rhythm gets tidier but keeps some human feel.

    Quantizing a free-time hum can look odd. If you hummed without a steady beat, no grid fits, and notes get pulled to the wrong beats. For a clean result, sing along to a metronome or a backing track at a fixed tempo, then quantize at that tempo. Bar 1 starts at 0:00, so a long silence before the first note shifts where the bar lines fall.

    Using the MIDI file

    Open the file in any DAW, such as GarageBand, Logic Pro, Ableton Live, FL Studio, Reaper or Cubase, or in free notation software such as MuseScore to see it as sheet music. The file asks for the MIDI instrument you chose, but every program lets you pick a different sound for the track.

    If the melody must fit an existing song, detect the key first and use Snap to key with that key. For transposing instruments, use the transpose control: +2 semitones for B♭ trumpet, clarinet and soprano sax, +14 for tenor sax, +9 for E♭ alto sax and +21 for baritone sax. The CSV download lists every note with its start time, length, name, MIDI number, Hz, cents and velocity.

    Tips for better results

    • Record in a quiet room, with the mic 15 to 30 cm from your mouth or instrument.
    • Sing on "da" or "la" so each note has a clear start.
    • Keep vibrato light and hold each note steady.
    • Avoid humming with a closed mouth on very low notes: small mics lose the fundamental, which causes octave errors.

    Want to know how high and low you can sing before you write a tune? The vocal range finder shows the range of your own voice. Other tools that work well with this one:

    Audio to notes FAQ

    Can it convert a full song with chords into MIDI?

    No. This converter follows one melody line at a time, so a full mix, piano chords or a band will produce messy, jumping notes, and the tool will warn you. Converting chords needs polyphonic transcription, which is a much harder problem. For the best result, record the melody on its own, for example by singing it, or use a recording of a single instrument.

    Why are some of my notes split into lots of short ones?

    Usually the pitch is wobbling across the half-semitone boundary, from wide vibrato or a slide, or the level is dipping so the tool sees new attacks. Raise the minimum note length to 100 or 150 ms, set sensitivity to Medium, and keep vibrato light. You can also select the pieces and press M to merge them in the piano roll.

    Can I get sheet music from my humming?

    Yes, in two steps. Quantize the notes to a sensible grid (1/8 or 1/16) at the right tempo, download the MIDI file, then open it in free notation software such as MuseScore, which turns MIDI into a score you can edit and print. Expect to tidy the rhythm a little, because hummed timing is never perfectly even.

    Which programs can open the MIDI file?

    Any program that reads Standard MIDI Files, which is almost all of them: GarageBand, Logic Pro, Ableton Live, FL Studio, Reaper, Cubase, Pro Tools, MuseScore and many apps and online sequencers. The file uses type 0 (one track), the simplest and most widely supported version, with 480 ticks per beat, the tempo you set and a 4/4 time signature.

    Why is the detected melody an octave too high or too low?

    Some voices and instruments have a strong second harmonic, and very low hums can lose their fundamental in a small microphone, so the pitch is occasionally read an octave off. Choose the right pitch range preset (for example Low voice), then use the octave-shift buttons to move single notes or the whole melody up or down by 12 semitones.

    Does the MIDI file keep how loudly I sang each note?

    Yes. Each note's loudness is turned into a MIDI velocity from 30 to 127, so softer notes come out softer when played back. Pitch bends and slides are not included: every note is rounded to the nearest semitone. If you need a flat dynamic, most music programs can set all velocities to one value.