A <em>melody </em>is defined as a sequence of single musical notes that is musically satisfying. It can also be defined as the main tune of a song from the outcome of a series of notes.
These definitions of melody fit the concept requested in the question, as they both refer to a series (or sequence) of musical notes put together.