Physics of music