Melody generator

Pick a key and a tempo and get a melody over four chords. Hear it, then download the MIDI. Free, no sign-up.

Key
Scale
Energy
Length

Your idea will appear here.

Made in your browser. Free to use in your own music.

How to generate a melody

  1. Pick a key and an energy

    Major or minor, calm or lively, four bars or eight.

  2. Hear the melody

    Press Play, with the chords underneath or the tune on its own.

  3. Download the MIDI

    Melody and chords arrive on separate tracks, ready to edit in your music software.

What a melody generator does

A melody generator writes a short tune for you to hear, keep and change. Pick a key, major or minor, a calm or lively energy, a length of 4 or 8 bars and a tempo, then press Generate.

Each melody follows a four-chord progression in your key, and the chords appear above the notes on a piano roll. Press Play to hear the melody with its chords, or alone, and generate again for a new idea.

Download a melody you like as a MIDI file, with melody and chords on separate tracks, or as a WAV. It runs in your browser, needs no sign-up, and you can generate as many tune ideas as you like.

See the Muzie AI song generator

When a melody generator helps

  • Finding a vocal line

    If you have lyrics but no tune, generate melodies in a key that suits your voice and sing your words over them until one fits the rhythm of the lines.

  • Writing a lead hook

    Producers can generate a lively 4 bar melody, load the MIDI into a synth or piano track, and use it as the catchy lead line of a beat.

  • Ear training practice

    Generate a melody, listen once without looking, then try to sing it back or find it on your instrument. Check yourself against the piano roll afterwards.

  • Music for video and games

    Makers of short videos and small games can generate a calm melody, loop it in their editor, and have a simple original theme in a few minutes.

Tips for using melody ideas well

  • Keep the best bar

    A generated melody rarely needs to be used whole. If one bar stands out, copy it in your music software and build the rest of the tune around it.

  • Mute the chords

    Play the melody alone as well as with its chords. A line that still sounds good on its own is usually strong enough to carry a song.

  • Change the rhythm

    Keep the notes but move a few of them earlier or later in your music software. A new rhythm can turn a plain melody into one that people remember.

  • Slow it down first

    Set a slow tempo while you learn a melody or test lyrics over it. Once the words fit, raise the tempo to the speed of your song.

What makes a melody easy to sing

Melodies that are easy to sing move mostly in small steps between neighbouring notes, with only a few bigger leaps. Steps are comfortable for the voice, and a leap stands out because it is rare. Most memorable tunes also stay within a range a normal voice can manage.

Repetition makes a melody stick. A short idea called a motif returns several times, sometimes exactly and sometimes slightly changed. A clear high point, reached once or twice, gives the tune a shape that listeners can follow and remember.

A melody also sits on the chords under it. Notes that belong to the chord sound settled, so strong beats usually land on them. Notes between chord tones add movement on the weaker beats. This melody generator follows the same idea when it writes each tune.

Melody generator questions

How do I generate a melody?

Pick a key, major or minor, an energy and a length, then press Generate a melody. Play it in the page and press again for a new one.

Is the melody generator free?

Yes. It is free, with no sign-up and no limit on how many you generate.

Can I use the melody in my own song?

Yes. Each melody is generated fresh and you are free to use it, change it and build a song on it.

What is a melody in music?

A melody is a line of single notes heard one after another, the part of a song you would hum or sing. It works together with the chords, which are several notes played at once.

How do I write lyrics to a melody?

Play the melody several times and sing nonsense syllables over it. Note where the long notes and stresses fall, then choose words whose natural stresses land in the same places.

What is the difference between a melody and a hook?

A melody is any tune line in a song. A hook is the short, catchy part that listeners remember most, often a phrase of the chorus melody that repeats.

Why are the chords shown with the melody?

Each melody is written over a four-chord progression in your key. Seeing and hearing the chords shows you why some notes feel settled, and the MIDI file keeps them on their own track.

Is this melody maker made with AI?

No. It is a rule-based tool that writes a fresh melody each time from musical rules. Once your song is finished, Muzie can write and sing a full song from an idea or turn yours into a music video.

More free tools

Every tool is free and works straight away.

Your first music video is waiting

Muzie runs in your browser, no app needed