Melody Generator
Pick a key, a mode and a mood. It writes a melody you can sing over a chord progression, names every note, plays it in your browser and gives you the MIDI. No account needed.
C major · Uplifting · 4 bars · 104 BPM
Hear words on this melody? HookGenius writes a whole song around it: the lyrics, the structure, the voice and the instruments, laid out to make in Suno. Your first 5 songs are included.
Make it a whole song →[Intro]
What makes a melody singable
A melody is the line you would hum: one note at a time, each with a pitch and a length. What makes one singable is mostly what it leaves out. It stays inside a range a voice can cover, it moves mostly by step, it saves its leaps for notes that belong to the chord, and it stops to breathe.
What makes one stick is repetition and shape. A short opening comes back, a little changed, so the listener can predict it the second time; and the line has a contour, a rise to a high point and a way back down, that the ear can follow without knowing any notes.
[Verse]
The rules it keeps
Every melody the generator writes keeps all of these. They are tested against every key, mode and mood.
| Rule | What the generator does | Why |
|---|---|---|
| Range | Every note between a fourth below the key note and the octave above it (in C: G3 to C5) | Room for a climb to a high point without asking a singer to switch registers. |
| Strong beats | Notes on beats 1 and 3, and any note a quarter or longer, are tones of the chord under them | The ear checks the melody against the harmony on the strong beats; a chord tone there sounds settled. |
| Steps and leaps | Weak notes move by step or skip to a nearby chord tone; no leap is wider than a fifth (7 semitones) | Steps are easy to sing in tune; a leap is an event, so it is kept for chord tones. |
| Turn after a leap | After a leap wider than a major third (4 semitones), the next note moves the other way | The gap-fill habit counterpoint teaches: a leap leaves a gap the line goes back to fill. |
| Breath | Each two-bar phrase ends at least an eighth note before the next begins | A singer has to breathe, and a rest marks the phrase for the listener. |
| Repetition | A later phrase on the same rhythm repeats the first phrase's opening when its notes fit the new chords | Repetition is what makes a line easy to remember after one listen. |
| Ending | The last note lands on a chord tone, and on the key note when the last chord holds it | Ending on the tonic sounds finished; ending elsewhere asks for the loop to go round again. |
[Pre-Chorus]
Moods
A mood sets the chords under the melody, the tempo, the rhythm of the line, its shape and the instrument that plays it. The mode is yours: an uplifting melody in a minor key is bittersweet, a dark one in major is uneasy.
| Mood | Chord style | BPM | Rhythm | Shape | Played on |
|---|---|---|---|---|---|
| Uplifting | Pop | 104 | Mostly eighth notes | arch, climbing, wave | whistle |
| Tender | Ballad | 72 | Quarters and halves, room to breathe | arch, falling | flute |
| Smooth | R&B / neo-soul | 86 | Starts off the beat, ties across it | wave, falling, arch | saxophone |
| Driving | Rock | 120 | Running eighths and sixteenths | climbing, arch, wave | synth lead |
| Dark | Hip-hop / trap | 70 | Starts off the beat, ties across it | falling, wave | plucked synth |
| Euphoric | House | 124 | Mostly eighth notes | climbing, arch | synth lead |
[Chorus]
Use it in a song
- Write words to itLoop it and sing nonsense syllables until a phrase sticks. Put stressed syllables on the strong beats and the long notes, and open vowels on the high ones.
- In your DAWDownload MIDI saves the melody on its own track with the chords and bass under it, at your tempo. Put any instrument on it.
- Change one barLock the bars you like and press New melody; Keep chords writes a new line over the same progression.
- Make it a whole songHookGenius starts with this melody, its chords and the key as the idea and writes the lyrics, structure and style around it.
A text-to-music model may not sing these exact notes, so when the exact melody matters, record it over the MIDI. Need a beat under it? The AI beat maker and the chord progression generator work the same way. Your first 5 HookGenius songs are included, no card.
[Outro]
Questions
Do I need an account for the melody generator?
No. There is no account and no daily limit. It runs in your browser: the melody is written by HookGenius's music engine, a fixed set of songwriting rules, not by an AI model, so making one costs nothing.
How does it make a melody?
It writes a chord progression for the mood with HookGenius's chord generator, picks a rhythm for each two-bar phrase and a contour (an arch, a fall, a climb or a wave), then chooses each note: a chord tone on the strong beats, a step or a short skip between them, within a singable range. The table above lists every rule it keeps.
What do the note names mean?
Each note is a pitch name with its octave: C4 is middle C, E4 the E above it. Notes are spelled from the key (B♭ in F major, never A♯), and a borrowed chord's notes from the scale it is borrowed from. The piano roll shows how long each note is and colours it by what it does over the chord.
Can I keep part of a melody?
Yes. Lock a bar to keep its chord and its notes, then press New melody: the rest is rewritten around it. Keep chords keeps the whole progression and writes a new line over it. Changing the key, mode, mood or length clears the locks.
How do I use the MIDI file?
Download MIDI saves a standard .mid file at your tempo with a Melody track and, if they are switched on, the Chords and Bass under it. Drag it into your DAW and put any instrument on the melody, or sing over the chords.
Will the same settings give the same melody?
Yes. Each melody comes from a seed number. Once you change a setting, the address bar holds the key, mode, mood, length and seed, so that link opens the same melody for anyone.
How is HookGenius different?
The generator gives you a melody. HookGenius writes a whole song from an idea: the lyrics, the structure, the voice and the instruments, laid out to make in Suno. Make it a whole song starts HookGenius with this melody, its chords and the key as the idea. Your first 5 songs are included.