I'm sometimes asked via posts to my blog or at book events to talk about what I like to listen to (or, even more often, what Phoebe and Margi like to listen to) when I'm writing. My usual answer--"almost anything"--may seem like a cowardly dodge, but considering that there are currently 33,422 songs on my iPod, I assure you it is a true statement.
That said, I tend to have certain things on in a heavier rotation during certain projects. I'm listening to a lot of Miles Davis and Flying Saucer Attack for something I'm working on now, for example. GD and KOL were written while under the influence of a number of specific songs and albums, and I got the chance to write about a few of them for the wonderful blog LARGEHEARTED BOY, which, in addition to reviews and news about music and literature, also has two great sections, "Book Notes" and "Note Books", featuring authors writing about songs, and songwriters writing about books, respectively.
Click the link to read about what I listened to at the start of writing the GD series--I guarantee that both Phoebe and Margi have these songs on their iPods!--but budget your time, because you are going to want to click around and read what all of the other great writers and musicians have to say about the works that inspired them.