What is melody in music?

Published By Veena Studio

A melody is the tune of a song: a sequence of single notes, each with a pitch and a length, that your ear hears as one line. It is the part you hum. In Veena, the free AI DAW in your browser, CoProducer writes the melody as a MIDI track and every note stays editable in the piano roll.

What a melody is made of

ElementWhat it meansWhat it does to the tune
PitchWhich notes, drawn from the keySets the mood and where the tune sounds at rest
RhythmHow long each note lasts and where it landsGives it its groove and its catchiness
ContourThe shape: rising, falling, archingMakes it feel like it goes somewhere
RangeThe distance from lowest to highest noteKeeps it singable when small, dramatic when wide
PhraseA few bars that read like a sentenceLets the tune state an idea, then answer it

Most memorable melodies move mostly by step, leap once to a high point, repeat a short idea and finish on a stable note such as the root of the key.

Melody and harmony

A melody needs chords under it, and the chords decide which notes sound settled and which sound tense. That is harmony. The strongest notes of a melody usually belong to the chord underneath. A hook is the melody, or other short idea, that a listener remembers first.

Melody in Veena

Describe the tune the way you would to a producer: "a singable chorus melody on a Soft Lead, mostly stepwise, one leap up to the high note, ending on the root." CoProducer reads the key and chords on your timeline, writes the line on its own track, and gives you an instrument that suits it. Ask for a different shape in plain words, "make the second phrase answer the first, a step lower", and one Ctrl/Cmd+Z undoes it.

Because every note is a block in the piano roll, you can drag a pitch, stretch a note, delete one or shift a phrase an octave. Hum or import a tune of your own and ask for chords and a bassline built around it, and the melody stays exactly as you played it.

See how to write a melody in Veena, the free AI melody generator, what harmony is, what a hook is and the rest of the music production glossary. Write a melody free.

Try this in Veena

Make a 100 BPM pop song in G major with a singable 8-bar chorus melody on a Soft Lead: mostly stepwise, with one leap up to the high note in bar 6, ending on the root. Under it Electric Piano chords G, D, Em, C one per bar, an Acoustic Bass on the roots and drums with the snare on 2 and 4. Intro 4 bars, chorus 8, verse 8, chorus 8

Open Veena free

Frequently asked questions

What is a melody in simple terms?

The tune: the part of a song you hum. A melody is a line of single notes in a rhythm, with a shape that rises, falls and comes to rest. Veena is an AI DAW with a personal music producer built in. Describe the tune you want and CoProducer writes it as a MIDI track in your key, free in your browser.

What makes a melody memorable?

Repetition with variation, a small range, a clear high point and a rhythm you can tap. A melody that repeats its main idea and changes the ending is the one listeners remember. In Veena, ask CoProducer for a singable melody that repeats a short phrase and lifts on the last bar, then adjust notes in the piano roll.

What is the difference between melody and harmony?

Melody is one note at a time, played across time; harmony is notes sounding together, usually chords under the tune. The melody sits on top and the harmony supports it. In Veena, both are separate MIDI tracks, so you can rewrite the melody without touching the chords.

Can Veena write a melody over my chords?

Yes. Ask CoProducer for a melody and it reads the chords already on your timeline, so each note fits the harmony and your key. You can also hum or import a tune and have it build chords under it. Every melody note stays a block in the piano roll, ready to move, stretch or delete.

Meet your personal music producer

Free, in your browser. Describe the song you want and CoProducer builds it with you.

Make music free