I struggle to write with distractions. Television and even music. If there are lyrics, I will sing to them and lose my train of thought. My solution is
1) instrumental soundtracks/music anything that sounds nice or gives a mood that I may want in the scene can help while not distracting me. Love epic sounds from favorite movies. LoTR, Star Wars, Jurassic Park, Pirates of the Caribbean.
2) Music in another language. My go to is anime/japanese music (lot's of L'Arc-en-Ciel) since I'm not able to sing along or remember most of their lyrics. Also, french music. (Lots of Coeur De Pirate)
3)Classical versions of favorite songs. (Brooklyn Duo)