Melody
Melody is a sequence of musical pitches perceived as a single, coherent line, often serving as the principal musical idea of a piece. It is typically what listeners remember and hum, and it is built from a combination of pitch, rhythm, and phrasing that gives a tune its distinct character. The term derives from the Greek melōidia, meaning a song or singing, and entered Western musical language through Latin as melodia.
A melody can be described by several features, including its contour (the overall shape of the line),
Melody exists in relation to other musical dimensions, especially harmony and rhythm. In tonal music, melodies
Notation typically represents melodies on a staff, though many musical cultures preserve melodies through oral transmission