I don't know about cats. But dogs are certainly attracted to music. I sometimes take care of my son's dog Fred at the Lake.
He likes music of the Baroque, especially Bach.
He will put his head on the arm rest between the two front chairs, right in the sweet spot and listens intently.
If it is 20th century music he wants out.