If I don't already know a song's chord progression, I'll stop writing and try to figure it out. I can occasionally listen to unstructured, amelodic ambient music, but I prefer no music. I don't need silence - I can write just about anywhere - but music is a major distraction