I currently run to a playlist of 180bpm (or 90bpm) tracks to keep a good steady cadence. So yes, the speed of the music definitely affects the. speed of my running
When last marathon training, I'd tend to listen to the radio for a bit of company and as a distraction. And when a faster song came on, I would find myself speeding up.
So I either use music to focus on my running, or to try and distract me from focussing on running...