How Do Humans Perceive Music, Sounds?

When we hear a song that we already know, we can identify it even if it is not an exact version of the original. If it sounds higher or lower, faster or slower, or if the instruments are different from the known version, humans can identify it even if there are these superficial changes to the melody.