What is Melody?
Definition
Melody is a memorable, linear sequence of single musical pitches organized in rhythm that listeners perceive as one unified musical idea—the foreground tune you sing, hum, or whistle—shaped by contour, intervals, phrasing, and harmonic tension over an underlying accompaniment.
How Melody works in music
If harmony provides a song’s emotional backdrop and rhythm provides its physical pulse, melody is the voice that speaks directly to the listener. A melody unfolds horizontally through time, combining two inseparable ingredients: pitch (how high or low each note sits) and rhythm (when each note arrives and how long it lasts).
Great melodies balance conjunct (stepwise) motion with selective disjunct leaps. Stepwise movement feels singable and natural, while an intentional leap—such as a rising fifth or sixth—creates an expressive peak that immediately grabs attention. Composers organize these shapes into balanced phrases, often using call-and-response (antecedent and consequent) patterns and recognizable short motifs.
How a melody interacts with the chords underneath transforms its meaning completely. A single sustained E sounds calm and grounded over a C major chord (as the 3rd), bittersweet over an Fmaj7 chord (as the major 7th), or urgently tense over a D7 chord (as the 9th), giving songwriters and improvisers endless expressive leverage.
Practice it free in your browser
- Audio ear trainer
Free online ear training for intervals, chords & scales
Build dependable relative pitch in 5 minutes a day: hear clear synthesized intervals, chord qualities, and scales, test your ear actively, and get instant feedback.
Open free tool → - Playable instrument
Free online virtual piano keyboard
Test melodies, hear chords instantly, and practice note names right on your computer or phone keyboard — zero downloads, zero ads, and full Web Audio polyphony.
Open free tool →
Compare vetted music theory teachers on Sonki
Browse all music theory teachers →-
Free trial
Flautista y director musical, para principiantes o intermedio
Speaks: Spanish
Joined December 2, 2026
$12 per 15 min -
Yarel Hernandez.
SpainClases de guitarra, guitarra clásica, bajo eléctrico, solfeo, logic online
Speaks: English, Spanish
Joined December 3, 2026
$44 per 60 min
Related music terms
All 60 glossary terms →- Harmony & Scales
Harmony
Harmony is the vertical dimension of music created whenever two or more distinct pitches sound at the same time—forming intervals, chords, and chord progressions—that colors a melody with emotional warmth, tension, brightness, or shadow across every musical style.
- Harmony & Scales
Interval
An interval is the exact pitch distance between two musical notes, measured by both letter-name span and exact semitone count to classify its quality—such as major, minor, perfect, augmented, or diminished—whether the two pitches sound sequentially in a melody or simultaneously in a chord.
- Harmony & Scales
Scale
A musical scale is an ordered sequence of pitches arranged ascending or descending by a specific pattern of whole and half steps within an octave, establishing the melodic alphabet, tonal center, and harmonic chord palette used to compose, perform, and improvise in a given key or style.
- Rhythm & Tempo
Rhythm
Rhythm is the structured organization of musical sounds and silences across time, uniting steady underlying pulse (beat), speed (tempo), recurring bar groupings (meter), note durations, and accented patterns to give music movement, groove, and physical energy.