The history of dance music is similar to the history of dance as well as to the history of music .
In terms of performance , the major categories are live dance music and recorded dance music .