I often listen to a single song on repeat for hours on end while coding or trying to do “deep work”. I thought that was just me being weird. It turns out it’s actually good for focus.
People who do this too include Tim Feriss and Ryan Holiday. There’s even a book about how listening to music on repeat affects your brain.
Next time you need to focus, pick a song, preferably an instrumental-heavy one, and listen to it on repeat. I’ve made a Spotify playlist with some of my favourites. Beware though, it’s mainly Daft Punk.