The analytical brain needs to juggle complex things, with a stack of size max approx 7, after which most humans struggle.
On the other side, the creative side of the brain can "think" as it works and often talks to itself, listen to conversation, as the motor side of the brain takes more power than the problem solving side.
Music can help either sides, to a certain point. E.g. in a loud and annoying open office, music can help zone out. However, in a quiet home, music can become more of a distraction than helping focus.
YMMV, this is based on my personal experience of 20+ years.