Ask HN: What, if anything, do you listen to while coding?

53 points by cleanyourroom ↗ HN
I rarely listen to anything, but I'm going to give it a try for a week and how it affects my productivity.

Looking for playlist recommendations.

111 comments

[ 3.3 ms ] story [ 193 ms ] thread
typically I can't listen to music with words while coding. I stick to EDM, mainly Drum and Bass. Many years ago I found http://www.bassdrive.com. Streaming Drum and Bass from DJs around the world. They have IRC interaction and mostly Live shows. Cheers!
I would greatly appreciate any suggestions you might have for vocal-free drum n bass. DnB works best for my productivity, but vocals ruin it. Here are some that I've found:

https://youtu.be/CL-vqNpGVQs https://youtu.be/-e-jXfHeUy0 (terrible transitions) https://youtu.be/TmENer4RPhw (anything by Monrroe) https://youtu.be/Q0dK7_3mkQM https://youtu.be/_QVbDoVT9Ro https://youtu.be/-qiMuebvq9E https://youtu.be/LYgNN8lDQ5s https://youtu.be/egd1cC5hH7s https://youtu.be/tRCvp0DI-Qg

Unfortunately, a search for "Drum and Bass no vocals" gives you every genre of vocals you can imagine.

Anything instrumental. Classical, Vangelis, Jean-Luc Ponty, Pat Metheny, Steps Ahead, John Abercrombie, Brian Eno.
One track of pop, on repeat for the duration of the session. Today it was something by Dragonette, but that’s just what came to hand. After a few repeats, it becomes somewhat hypnotic, and something with human voices in is helpful for cutting out external distractions (open plan office, at the moment...)

Coding music has little overlap with what I’d pick if I actually wanted to “listen to music”.

Video game soundtracks should be really good, as they often contain no vocals and are supposed to keep you focused (on the game). E.g. Deus EX Human Revolution Soundtrack [0]. Movie scores from Hans Zimmer are also really good (e.g. Inception OST)

[0]: https://www.youtube.com/watch?v=tyG6YMLEWus

Excellent suggestion. I kept using the Lord of the Rings Online soundtrack as coding music long after I stopped playing LOTRO itself. It really is well suited, for the reasons you mention, but it's not bland or boring.
Chopin + Rainymood (dot) com.
Most often: Rage Against The Machine on a loop. It's been working for me since ~1999.
I just loop the first 2 seconds of guerilla radio
I like RATM but this would drive me crazy
I have definitely found that controlling the sound around me has an immense effect on productivity, and that I can use different sounds to influence my work. I use several tools for playing non-music sound when I'm working.

SimpleHabit Focus Player (beta) [0] and Focus@Will [1] both play instrumental-y type sound, not really music per se. These two require a subscription but are inexpensive relative to the productivity boost they provide. Then SimplyNoise [2] and Zero Noise [3] for playing just colored noise in a noisy environment. The former uses Flash, so the latter is a bash script I made that's similar. I use the Spotify Focus playlists like Deep Focus sometimes, but they're more general and not as good as the dedicated services.

I find these are especially good for combatting interruptions, conversations, and variable noises like conference calls. Sometimes I'll use something upbeat and EDM-y to get into flow when working on simple things.

Another recent HN thread where I listed a few more related suggestions is https://news.ycombinator.com/item?id=14886317#14888870.

[0]: https://www.simplehabit.com/beta/focus

[1]: https://www.focusatwill.com/app/music

[2]: https://simplynoise.com/

[3]: https://github.com/tedmiston/zero-noise

For upgrades, patching, P1 issues, anything high-stress I prefer classical - Corelli, Locatelli, Handel.

For coding I usually like electronica. I go back and forth between ambient stuff, like Koan or H.U.V.A Network, and vocal trance which has a pleasing, hypnotic aspect.

I've tried binaural beats as well, they're not awful but they're not my go-to. Spotify has a ton of these kind of 2-hour tracks. Rainstorms can be nice as well.

Psy-ambient has been my go-to as well for years (see username!). Anyone releasing music on Ultimae (run by Vincent Villius of the aforementioned H.U.V.A. Network) is a pretty good bet. All time favorites of mine are Solar Fields (also of aforementioned H.U.V.A. network) and Carbon Based Lifeforms, who also release music on Ultimae
For some tasks I can listen to audio podcasts like Fresh Air and comprehend it while coding but for other things I need silence. Music often distracts me.
Boards of Canada are the obvious one (as seen from their heavy usage across here https://musicforprogramming.net/), along with a bunch of Warp record acts from the 90s.

Recently been listening to loads of Hard Bop Jazz though, Sonny Rollins in particular.

I like that music for programming website. I also use it often for background music while coding.
On one screen, I have inspirational / epic / fantasy music going with pictures always changing (example: https://www.youtube.com/watch?v=IWQbkJA9ZQs)

I get bored of coding so I like looking at the pretty pictures while I vim away on the other screen.

Synthwave and lo-fi mixes on youtube. This is almost becoming a cliche, but they work.
Today? Mostly Weezer. Sorry to be the one to buck the trend!
For (more or less trivial) code reviews, JIRA or email work I often just listen to whatever I like and whatever fits the mood. Works well by giving me some endorphins while keeping me able to focus (sometimes I have to avoid listening to stuff I like too much :)).

For coding, design and code reviews that require focus, silence is the best.

My long-time addiction that has helped me a lot on numerous occasions is https://www.focusatwill.com/. I also use it as pomodoro timer. Silence is still better, if you're in a distraction-free environment.

Also learned recently: if your headphones are too good, they may prevent you from doing anything other than listening to music :)