Sometimes I listen to music before writing, to help me think up ideas, but not so much while I'm writing 'less I keep it down low or tune it out. Usually if it's a song I know well I wind up trying to sing along with it most of the time and that doesn't work so well for writing.
Before, listening to music was the only way I could get anything done
If I am "song writing" listening to music is WAY distracted because then i end up taking bits and pieces of what i'm listening to
other stuff I suppose it kin of depends
if i want something to help me chill out a bit then yea turn the music up
otherwise quiet and tranquility is the way to go