It depends on what class I teach. I used to teach water aerobics, and I would not have done it without music. I also teach MELT classes where music would be a distraction.
When I work out myself, I prefer my surroundings to be quiet. I feel so overwhelmed with noise wherever I go that I love to do without for some time.