Understanding the Formula of Music