Personally, I need frequent changes of scenery to help me focus. Since I'm usually tied to a desk, changing music frequently helps. If I'm actually tuned into the problem that I'm working on, whatever I'm listening to just fades in the background anyway.