When I write something, I've come to always rely on a consistent musical atmosphere to help focus my mind on the tone of the piece. It's shown me a strange part of my brain. First, I need to search out the perfect accompaniment. The moment I find it feels like a revelation. I come to depend on it entirely - playing it on loop throughout every writing session.
The one I'm into now is helping me get through revising a short screenplay: Max Och's Ain't Nobody High Raga. Beautiful, meditative, and somehow playfully sad.
Meanwhile, the screenplay I'm currently 20 pages into has been tougher. It's a comedy (outside my usual genre range) and I have yet to find the perfect album to listen to alongside it. It can't be serious, but instead energetic without becoming distracting. The main character is massively frenetic, so the music should match.... If you have any suggestions, I'm open!