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.

Mode
Length

C major · Uplifting · 4 bars · 104 BPM

  1. Bar 1CI

    E4 D4 E4 E4 F4 E4

  2. Bar 2GV

    G4 F4 G4

  3. Bar 3Amvi

    E4 D4 E4 E4 F4 E4

  4. Bar 4FIV

    F4 G4 G4 C5

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.

RuleWhat the generator doesWhy
RangeEvery 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 beatsNotes on beats 1 and 3, and any note a quarter or longer, are tones of the chord under themThe ear checks the melody against the harmony on the strong beats; a chord tone there sounds settled.
Steps and leapsWeak 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 leapAfter a leap wider than a major third (4 semitones), the next note moves the other wayThe gap-fill habit counterpoint teaches: a leap leaves a gap the line goes back to fill.
BreathEach two-bar phrase ends at least an eighth note before the next beginsA singer has to breathe, and a rest marks the phrase for the listener.
RepetitionA later phrase on the same rhythm repeats the first phrase's opening when its notes fit the new chordsRepetition is what makes a line easy to remember after one listen.
EndingThe last note lands on a chord tone, and on the key note when the last chord holds itEnding 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.

MoodChord styleBPMRhythmShapePlayed on
UpliftingPop104Mostly eighth notesarch, climbing, wavewhistle
TenderBallad72Quarters and halves, room to breathearch, fallingflute
SmoothR&B / neo-soul86Starts off the beat, ties across itwave, falling, archsaxophone
DrivingRock120Running eighths and sixteenthsclimbing, arch, wavesynth lead
DarkHip-hop / trap70Starts off the beat, ties across itfalling, waveplucked synth
EuphoricHouse124Mostly eighth notesclimbing, archsynth 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.

Make it a whole song →

[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.

Share𝕏RedditFacebookLinkedInWhatsApp

HookGenius is an independent product and is not affiliated with, endorsed by, or sponsored by Suno, Inc. or any other music generation platform named on this site. Product names are trademarks of their respective owners and are used only to describe compatibility.