Skip to main content
Music Maker AI
Free melody generator

Melody generator

Pick a key and a mood, and get a tune you can play and download.

Choose a key, one of six moods, 4, 8 or 16 bars, 4/4 or 3/4 and a tempo from 60 to 180 BPM. The Melody Generator writes a tune over matching chords, plays it in your browser and saves a MIDI file with the melody and the chords.

Mood
Length
Time
FCGAmFCGC

C major · 112 BPM · 4/4 · 30 notes

Turn it into a full song

We fill in “Happy, C major, 112 BPM” for you. Add a topic and press Create.

Make a song
  • Free, no account
  • Hear it before you save
  • MIDI with two tracks

Eight bars in A minor

One run of the generator: a sad melody in A minor, 8 bars in 4/4.

Melody Generator piano roll: a sad 8-bar melody in A minor with its chords under each bar

A phrase that answers itself

A short idea plays, then comes back changed, the way a real tune is built.

Chord notes on the strong beats

Each bar leans on a note from its chord, so the tune fits the harmony under it.

It comes home

The last phrase ends on a long note in the key, so the tune sounds finished.

Melody Generator at a glance

Every choice you can make.

Key
Any of the 12 notes, major or minor by mood
Mood
Happy, sad, chill, dreamy, epic or dark
Length
4, 8 or 16 bars, in 4/4 or 3/4
Tempo
60 to 180 BPM, or the mood’s own tempo
Save
A MIDI file with a Melody track and a Chords track
Price
Free, no account

How to make a melody

Set a few choices and press play.

  1. 1

    Pick the key and mood

    Choose a key and a mood. The mood sets the chords and the starting tempo.

  2. 2

    Shape it

    Choose 4, 8 or 16 bars, 4/4 or 3/4, and a tempo. Press play, or ask for another melody.

  3. 3

    Save or sing it

    Download the MIDI for your DAW, or hand the key and mood to the song maker for a full song.

A starting point when the page is blank

For anyone who needs a tune before they have one.

Middle Eastern producer in his twenties with a short beard at a MIDI keyboard, DAW on a laptop, night

Producers

Drop the MIDI into your DAW, pick a synth and change the notes you do not like.

Young white teacher with a red ponytail showing a piano roll on a classroom screen to teenagers

Teachers and learners

Show how a tune is built: a phrase, its answer, and the note it comes home to.

Same key, two moods

The mood changes the chords and the rhythm, not just the speed.

Two piano rolls in C: a busy happy melody above, a calm dreamy one below

Happy and epic

More short notes and a busier rhythm that pushes forward.

Chill, dreamy, sad, dark

Longer notes and rests, so the tune has room to breathe.

Another melody

Not quite it? Each press writes a new tune with the same settings.

Melody, chords or a whole song?

Three free ways in, depending on what you need.

You getMelody Generator: A tune and its chordsProgression Generator: Chords onlySong maker: A full song with a voice
Save asMelody Generator: MIDIProgression Generator: MIDISong maker: A song you can play and share
WordsMelody Generator: NoneProgression Generator: NoneSong maker: Your lyrics, or ones we write
CostMelody Generator: FreeProgression Generator: FreeSong maker: Credits

Want words sung to a tune? Describe the song in the song maker; it writes the melody and the vocals together.

Questions about the Melody Generator

Is the melody generator free?

Yes. Make as many melodies as you like, with no account. Everything is made in your browser.

Can I use the melodies in my own songs?

Yes. They are yours to use in releases, videos and lessons.

What is in the MIDI file?

Two tracks: Melody and Chords. Open it in GarageBand, FL Studio, Ableton or Logic and pick any instrument for each.

Can it write a melody for my lyrics?

Not word by word. For a melody sung to your words, paste them into the song maker under Own lyrics.

How do I make a melody catchier?

Keep it short and repeat it. Try 4 bars, then copy the phrase you like most into the chorus of your song.

Not covered here.Ask us something else

Turn the mood into a full song

Keep the key and the mood, add a story and a voice, and hear two full songs in about a minute.

Make a sad song in A minor

Two free songs, no account needed.