You may get mixed reviews in the office though. On the one hand, if you wear headphones it appears that you’re shunning the world and may be disinterested in your work. On the other hand, it could actually help you drown out the office noise and get stuff done with excitement, i.e. “melodious sounds help encourage the release of dopamine” which may encourage you to finish “tasks more quickly.”
It’s best to use music only when you really need it. Chances are you’ll hear important information from colleagues just by keeping your ears open and your earbuds to the side.