I feel music plays a huge role in software engineering, this is especially true for web development where you can sometimes get stuck with mundane html tasks that require a lot of time, music can be a companion that helps make things feel less stressful.
A colleague and I were discussing about the role of music in coding and I had to clarify my stance on it. I don't think music helps when thinking of algorithm challenges, music can be somewhat distracting at that point.
I feel music helps when you know exactly how to solve a problem but would need something to keep you going for long hours, that's when I think music is important.