Question: is it O.K. to go to gym classes in the 3 weeks till after 9 b’Av, some classes have music on?
Answer: One may attend gym classes in the 3 weeks even if there will be background music, because one is listening to the music for rhythm not for enjoyment.