I've never applied it as a reader of any particular book, but as an author, music definitely has an influence on me. There's something about music that inspires, whether it's a deep, thumping bass; a lively jig; a dramatic score; something discordant and creepy; or soft and gentle. Music can affect ones emotions and inspire ideas. Its affects are well documented in studies.
All of my books have at some point had songs or scores that hit the right note (pun intended) with a scene or character.
In my latest series, Starfire Angels: Forgotten Worlds, I've found some scores along the way that kept me going, but when it came to Book 10: DRAGON AND FURY, there have been two now that really struck me. Initially, Shadowlands by Revolt Music Productions struck me as the combat games entrance of each titular fighter, the Black Dragon and the Fury.
I can't help but to picture their entrance, the pause before the fight starts, and then the beginning of their fight. It first struck me at some point while writing the book. I could see it for other possibilities too.
And then, after releasing the book, I was struck by Undefeated by Skillet.