Final answer:
The music in question was likely used for a social dance, as indicated by historical examples of music's role in recreational gatherings and ceremonial events.
Step-by-step explanation:
The music described in the question was most likely used for a social dance. This is supported by references to the painting The Wedding Dance illustrating wedding guests enjoying a dance, along with the mention of an old musician at a common room playing for dancers. Additionally, historical context is provided with examples of how dance music developed mainly for recreational and ceremonial purposes during various periods, and the fact that amongst African American communities, music was a central element in social gatherings and dances.