Listening to that music in between bouts of exertion, so in the rest between sets of resistance training, or periodically during, say, a run or a bout of cycling, can indeed enhance performance in a way that, at least by my read of the data, exceeds that which is observed when people just listen to music throughout.