Melodic contour (the shape of rising and falling) is what a listener remembers more than the exact notes
In melody, the contour — the overall shape of rising, falling, arch, wave — is more memorable and emotionally salient than the exact pitch values. A motif can be transposed, inverted, or rescaled while retaining its identity because listeners track the shape, not the absolute notes. This is why motif-development works: the same contour reused across different pitch positions is still recognizable. For live-coding composers this means: define a contour first (rising line, fall-and-recover, arch), then choose the pitches that fit it, rather than placing notes one by one.
Examples
A rising scale run in C minor has the same gestural identity in F minor. The opening 4-note motif of Beethoven’s 5th is recognized regardless of key or octave.
Assessment
Explain why transposing a melody preserves its identity. How does this inform the strategy of generating melodies in scale degrees rather than fixed MIDI notes?