Hum to Song: Turn a Hummed Melody into a Full Track

Press record, hum the melody stuck in your head, and instantly extract MIDI notes, BPM, musical key, and a genre-matched song blueprint—decoded locally in your browser with zero audio upload.

100% browser-local Web Audio analysis — your hum is never uploaded
Free: 5 AI refinements/day (no login)Sign up: 20 free studio credits

Tap once, hum 5–15 seconds of your melody into your mic, and get instant MIDI notes, BPM, key, and a full-track prompt.

How to Hum for Accurate Melody, Tempo, and Key Detection

Have a full MP3 reference? Try Audio to Prompt

You do not need conservatory pitch accuracy or a trained singing voice to turn a hum into a song. Steady rhythm matters far more than hitting every note dead-center. Pitch trackers can smoothly quantize a slightly flat or sharp note into the nearest chromatic step and reconcile it with your overall key, but when your tempo speeds up mid-phrase or pauses unpredictably between bars, the beat estimator loses its rhythmic grid. Before you hit record, tap your foot or nod gently to establish an internal pulse, then hum straight through your phrase at that consistent speed.

How you articulate each note also makes a noticeable difference in note separation. Closed-mouth humming (“mmm”) often blurs consecutive repeated pitches into a single long drone because there is no consonant attack between syllables. Switching to soft, clear syllables like “da,” “la,” or “na” creates clean acoustic onsets so the analyzer can split every melodic step accurately on the piano roll. Keep your laptop or phone microphone roughly 15 to 25 centimeters away, angled slightly off-center from your mouth so breath plosives do not clip the input waveform.

Aim for one focused four-to-eight-bar musical idea—usually 6 to 15 seconds—rather than trying to perform an entire three-minute arrangement in a single take. Capturing your strongest chorus hook or main verse motif gives the key detector enough pitch-class weight to distinguish major from minor cleanly while keeping the exported MIDI file tight and immediately usable inside a DAW or as a full-track generation prompt. If you want to test two different tempos or rhythmic feels, record a fresh take in one click and compare the extracted piano rolls side by side.

What You Get Immediately After You Stop Humming

Open Full AI Music Studio

The moment you press stop, the browser decodes your take locally through the Web Audio API and translates your raw hum into four structured musical building blocks you can hear, download, or turn straight into a produced song.

1. Quantized MIDI Notes & Downloadable .mid File

Every voiced frame in your recording is tracked via a YIN-style monophonic pitch detector tuned to the human humming register (75 Hz to 850 Hz), median-smoothed to remove vocal vibrato and micro-jitter, and grouped into discrete MIDI notes. You can inspect your melody visually on the interactive piano roll, audition it immediately through a clean Web Audio synth preview, and export a standard Format-0 .mid file that drops straight into Ableton Live, Logic Pro, FL Studio, or GarageBand.

2. Detected BPM with Half-Time & Double-Time Control

Our analyzer combines waveform onset autocorrelation with inter-onset intervals between your hummed notes so even soft, non-percussive melodies receive a grounded tempo reading. Because human melodies can naturally be counted in half-time or double-time—for example, 74 BPM for a slow ballad versus 148 BPM for an upbeat trap or rock pocket—one-click ÷2, 1x, and ×2 calibration buttons let you lock the exact groove before exporting MIDI or generating your full track.

3. Musical Key & Major/Minor Scale Estimation

By weighting each detected pitch class by note duration and pitch confidence against Krumhansl-Schmuckler tonal profiles across all 24 major and minor keys, the tool identifies your hum's tonal center—such as G Major or D Minor—along with its total pitch range (for example, C4 to A4) and melodic contour. That gives you an instant harmonic map for choosing chord progressions, guitar capos, or vocal harmony layers without needing to hunt for notes on a keyboard.

4. Genre Suggestions & Full-Track Song Blueprint

Tempo, scale mode, and melodic contour naturally point toward specific production styles: a spacious minor phrase at 78 BPM fits a Piano Ballad or Neo-Soul cut, while a driving major hook at 122 BPM shines as Synth-Pop or Indie Pop. The studio ranks the top four matching genres for your hum, builds an editable full-song prompt and Suno/Udio style tags, offers 5 free daily AI refinements without login, and sends the finished blueprint directly into full-track rendering when you are ready.

Four Real-World Scenarios Where Hum to Song Shines

Prefer writing a text brief? Try Text to Music

Most great songs start as a fragile five-second tune in someone's head—not a blank DAW session. Here are four everyday situations where turning a quick hum into MIDI, key, tempo, and a full arrangement saves the idea before it disappears.

1. A Melody Stuck in Your Head—With Zero Music Theory

You do not know whether the chorus looping in your mind is in F# Minor or 108 BPM, and you do not play piano or guitar. Instead of trying to describe an invisible tune with vague adjectives, you hum it once into your browser. Within seconds you see the exact notes, key, and tempo, audition the melody on a clean synth, pick Indie Pop or Acoustic Folk, and generate a complete vocal or instrumental demo that actually reflects the rhythm and mood you heard in your head.

2. A Voice Memo Hummed in the Car or on a Walk

Song hooks almost always show up while commuting, walking the dog, or waiting for coffee—moments when you only have your phone's Voice Memos app. Record that rough 10-second hum on the spot, then drop the M4A or MP3 clip into the upload button above once you are back at your desk. The local analyzer pulls out the BPM, key, and downloadable MIDI file so a throwaway car-ride recording becomes a structured song blueprint instead of another forgotten file in your phone folder.

3. Making a Custom Song or Lullaby for Your Kids

Parents invent silly bedtime melodies, clean-up jingles, and birthday tunes all the time—and kids love hearing their own made-up tune turned into a “real” song. Hum the tune together at the kitchen table, choose Acoustic Folk, Piano Ballad, or upbeat Indie Pop, add a playful mood cue, and turn a five-second family melody into a polished keepsake track you can play in the car or pair with custom lyrics in our Lyrics to Song workspace.

4. Breaking Writer's Block & Sketching New Hooks

Even experienced producers and songwriters get stuck clicking the same MIDI chords inside a DAW. Stepping away from the piano roll and humming freely forces your ear to lead with natural, singable intervals instead of muscle-memory finger patterns. Export the extracted .mid file to layer your own synths in Ableton or Logic, or test how the exact same hummed motif feels across Synth-Pop, Lo-Fi Chill, and Cinematic Score before committing to a full production direction.

Supported Voice Memo Formats & Zero-Upload Privacy

Recorded a melody in a video? Extract MP3 first

Record up to 45 seconds directly with your browser microphone, or upload an existing M4A (iPhone Voice Memos), MP3, WAV, OGG, or WebM audio clip up to 25 MB. Pitch tracking, key detection, BPM estimation, synth playback, and .mid file export run 100% locally in your browser tab—your voice recording is never uploaded to external servers. If you captured a melody inside an MP4 or MOV video clip, strip the audio locally with Video to MP3 first and drop the MP3 right into the uploader above.

Three Examples: From Hummed Take to Full-Track Prompt

Browse Suno Prompt Blueprints
Detected: 98 BPM · G Major · Indie Pop

Upbeat Chorus Hook Hummed on a Walk

“Original indie pop song in G Major at 98 BPM built around a bright rising 4-bar chorus hook, jangle electric guitars, warm synth bass, crisp live snare, intimate verse lifting into layered chorus harmonies, clean resolved ending.”

Detected: 76 BPM · D Minor · Piano Ballad

Slow Late-Night Melody in Voice Memos

“Intimate piano ballad in D Minor at 76 BPM, close-miked felt piano following a descending minor motif, warm solo cello entering in the second verse, restrained vocal delivery, soft dynamic swell in the bridge, quiet final chord.”

Detected: 124 BPM · A Minor · Synth-Pop

Catchy 15-Second TikTok Hook Idea

“Hook-first synth-pop track in A Minor at 124 BPM, bouncy arpeggiated bass, glossy lead synth doubling the hummed chorus melody from bar 1, snappy claps, short 15-second drop pocket tailored for short-form edits, clean loop return.”

Open AI Music Studio

Hum to Song FAQ

How long can my hummed recording be?
You can record directly into your microphone for up to 45 seconds per take, or upload an existing voice memo up to 25 MB. In practice, a focused 6-to-15-second phrase covering one verse or chorus hook gives the cleanest BPM lock, key estimate, and MIDI note extraction without confusing the analyzer with multiple tempo changes.
Does background noise ruin hum-to-song detection?
Light room tone, a quiet laptop fan, or distant street noise rarely breaks detection because our browser recorder enables echo cancellation and noise suppression, and our pitch tracker ignores low-level frames below the voice energy gate. However, loud TV dialogue, another song playing on speakers, or heavy wind in a car can introduce false notes—recording in a reasonably quiet spot or holding the mic 15 to 25 cm from your mouth keeps the melody sharp.
Will singing or humming slightly off-key break the result?
No. Most casual humming drifts by a quarter-tone or slides between notes, and our YIN pitch tracker applies median frame smoothing before quantizing each note to the nearest chromatic MIDI pitch and fitting the whole phrase to a consistent musical key. Steady rhythm matters far more than conservatory pitch accuracy—if your timing is clear, the extracted key, BPM, and full-track prompt will still lock together cleanly.
Can I choose or change the genre after humming my melody?
Yes. Right after your hum is analyzed, the tool highlights the top four genres that naturally fit your detected tempo, key mode, and melodic contour—such as Indie Pop, Acoustic Folk, Synth-Pop, Piano Ballad, Lo-Fi Chill, Cinematic Score, R&B, or Alt-Rock. You can click any genre chip, switch between Full Vocal Song and Instrumental Only, or add a custom mood override before copying the blueprint or generating a track.
What formats can I export from Hum to Song?
Every hummed take gives you three immediate outputs: a downloadable Standard MIDI File (.mid) containing your extracted notes and tempo map for DAWs like Ableton Live, Logic Pro, FL Studio, or GarageBand; a copy-ready full-song prompt and compact style tags for Suno, Udio, or MusicPromptPro; and one-click full-track audio rendering in our on-site Studio workspace.
Is my voice or hum recording uploaded to a server?
No. Microphone capture, waveform decoding, pitch tracking, key estimation, BPM calculation, synth preview playback, and MIDI file generation all run 100% locally inside your browser tab using the Web Audio API. Your voice recording never leaves your device and is cleared as soon as you reset or close the page.
Is Hum to Song free to use, and how do credits work?
Local microphone recording, melody analysis, synth playback, and .mid MIDI downloads are completely free and unlimited with no account required. Visitors also get up to 5 free AI prompt refinements per day without logging in. When you want to render a complete studio audio track on-site, creating a free account includes 20 starter credits (10 credits per full track).
MUSICPROMPTPRO STUDIO

Turn your hummed melody into a finished studio release.

Sign up for 20 free studio credits to render full songs directly on-site, or compare Studio plans for lossless WAV exports and commercial rights.

Hum to Song: Turn a Hummed Melody into a Full Track