Music for Programming (musicforprogramming.net)

by merusame 175 comments 356 points
Read article View on HN

175 comments

[−] dvh 40d ago
Don't laugh, but for me, it's Abba. Their entire discography is ~3 hours which is how long I can maintain peak concentration. Their songs are consistently good so that I don't need to skip a song, but not too good that I would stop working and start listening. Plus I've never heard Abba song in any good movie so it doesn't remind me scenes from a movie I would want to rewatch. Of course I don't listen to it every day, only when I really need to, most daily programming tasks can be done with any music.
[−] smoyer 40d ago
For real concentration I can't have lyrics but that's a great idea for other flow states. Mozart and Brahms are good for me ... Not slow enough to put me to sleep not fast enough or unusual to make me pay attention to the music.
[−] usefulcat 40d ago
Agree about the lyrics. Phillip Glass is one of my favorites for flowing. His style usually involves a lot of repetition, which I find meditative.
[−] enochthered 40d ago
Steve Reich is my favourite of the minimalists. Electric counterpoint and Music for 18 Musicians are regulars in the line up.
[−] gsinclair 39d ago
Yes, Music for 18 Musicians is such a wonderful companion for sustained focus. I look forward to checking out Electric Counterpoint more closely.
[−] alexhans 40d ago
I vary a lot but when I do classical music Mozart has occupied quite a lot of my stats, in particular a clarinet concerto by Katherine Lucy [1] and also things like Beethoven's 6th (pastoral, it's beautifully featured in Fantasia) or Grieg's morning mood.

- [1] https://open.spotify.com/album/1R6rh9My8CTK4DqZorJR0V?si=3Ct...

If you have specific song/interpretation recommendations I'd love to hear them.

[−] papa-whisky 39d ago
I've really been enjoying this series of Mozart concertos on Alpha, highlighting young(er) performers: https://outhere-music.com/en/collections/next-generation-moz...
[−] alexhans 38d ago
Thanks. This Is awesome
[−] sva_ 39d ago
I don't understand how a song like Lay All Your Love On Me doesn't distract you.
[−] TuringNYC 39d ago
I play that song too while programming (along with several dozen others on a dedicated programming playlist). Eventually it goes into the background and just covers up outside noise. Some key moments are noticed -- i stop looking at my screen, repeat after the singer, and then go back to working five seconds later.
[−] javchz 40d ago
The Winner Takes It All lyrics are great for commits and Pull Requests: I don't wanna talk If it makes you feel sad And I understand You've come to shake my hand I apologize If it makes you feel bad
[−] interroboink 40d ago

> Don't laugh

I laugh (:

But good for you, whatever works. Personally, I can't do music with much lyrics or narrative; I find it distracting.

But to each their own!

[−] alexhans 40d ago
Like others have said, for specific types of activity, I'll prefer no vocals or maybe even no music, but if vocals are fine Abba does have a great flow to it. I used to run to Abba too, at times, because it feels upbeat/positive with good enough tempo. Super trouper, for instance, makes for a great booster.
[−] marcd35 39d ago
yeah but see the problem with abba is i just wanna get up and dance and not do any work
[−] justonceokay 40d ago
As a dancer it’s funny to me that programming and dancing both seem to be better with a disco soundtrack. Or house, or funk. Anything with a strong backbeat.
[−] kstrauser 40d ago
No laughter here, my brother in music. This is one of the few vocal groups that I could be in the zone with, except "Fernando", because one must release their inner theater kid with that one.
[−] hmokiguess 40d ago
ABBA is amazing
[−] matt_daemon 40d ago
It would be impossible for me to not sing along to ABBA
[−] quux 39d ago
Mark Watney sighs deeply
[−] olivierestsage 40d ago
Mamma Mia soundtrack also works well \m/
[−] WD-42 40d ago
Shoutout to SomaFM's Defcon Radio which has been my go-to programming music for years now. Not too dissimilar to the stuff found on this site. https://somafm.com/defcon/
[−] sublinear 39d ago
My defaults are Drone Zone, Synphaera, and The Trip.

These three are very similar to what Defcon sounded like before around 2023 when they started adding more generic hip-hop influenced beats.

Defcon can be alright, but about 25% of their playlist will suddenly take me out of a flow state due to vocals or some obnoxious rhythmic detail.

[−] bityard 39d ago
SomaFM is the best! They now have a Groove Salad Classic channel which plays all the great stuff they _were_ playing in the early to mid 2000's.
[−] jimmydddd 39d ago
I used to work to SomaFM all the time. Then took a break I guess? Then somehow totally forgot it even existed. So thanks for the reminder.
[−] usefulcat 40d ago
I love the music on defcon but could really do without the sporadic interruptions. At first it was ok but gets old after a while.
[−] vaylian 39d ago
Remember your 3-2-1.

Personally, I still like these defcon sound bites, even though I've heard them plenty of times. They are part of the atmosphere that the stream wants to create.

[−] giglamesh 39d ago
Could not love SomaFM more! The past few xmas holiday seasons I've been streaming "Department Store Christmas" which is hugely wacky retro Christmas music. Somehow I'd never heard "What Ever Happened to Christmas" a Jimmy Webb song made famous by Frank Sinatra. It was kind of life changing.
[−] vlachen 39d ago
I find that the Secret Agent channel is great for my focus nowadays. I recall listening to Groove Salad back in my draftsman years, from 2000-2002. I am still amazed at how SomaFM has continued to exist.
[−] papyrus9244 39d ago
I've been listening to Space Station to flow for more than 20 years.
[−] benhurmarcel 39d ago
I was a bit annoyed when Somafm got blocked on our corporate proxy
[−] da_chicken 40d ago
I've had three main tracks that I've used for the past 8 months or so.

The first one is a 1-hour mix of "In Motion" from the soundtrack to The Social Network: https://youtu.be/bCxPmMbZjuk

The second is a 1-hour mix of "It Has to be This Way" from the soundtrack to Metal Gear Rising Revengance: https://youtu.be/jKGDib6qZBo

The third is a 1-hour mix of "Clock Tower" from the soundtrack to Dead Cells: https://youtu.be/plwhysPCxXI

[−] keithxm23 39d ago
I think you might also like Daft Punk's - Tron Legacy album. https://www.youtube.com/watch?v=RjM8d0Csuk4

I love listening to it while programming, driving, cooking. :)

[−] bananzamba 39d ago
In Motion is my favorite productivity track as well. Most of the time I just listen to the whole The Social Network soundtrack
[−] TuringNYC 39d ago

> In Motion is my favorite productivity track as well. Most of the time I just listen to the whole The Social Network soundtrack

I love hacker soundtracks too! I play the OST for Mr Robot and Halt and Catch Fire

https://www.youtube.com/playlist?list=PLX2MjjP5LxjyxA0Vvws3y...

https://www.youtube.com/watch?v=ucSUs3adMQ8&list=PLrvyiZ4XwF...

[−] TuringNYC 39d ago

>> I've had three main tracks that I've used for the past 8 months or so.

I've had several dozen songs (grown from ~5 in 1998) that I've used for almost 28yrs. They were originally mp3s, eventually cds, then apple music. I'm glad the artists have been getting royalties on the songs, i play them on loop sometimes for hours a day for decades on.

[−] l3x4ur1n 40d ago
You're my kind of person
[−] 0x1ceb00da 39d ago
I think you meant "standing here, I realize, you are just like me, trying to make history"
[−] bityard 39d ago
I like the concept but ambient as a genre doesn't really do anything for me. It makes me want to go take a nap.

Haven't added anything to it in a while, but over the years I built a youtube playlist of songs that help me focus while working. Generally rules are: predominantly electronic, has some kind of beat, zero vocals. I'm up to over 500 songs at this point: https://www.youtube.com/watch?v=9dTpQwBMaBI&list=PL2A7B99AB9...

[−] hoooooooooome 39d ago
Fab playlist, thank you
[−] giglamesh 39d ago
I have very similar criteria, but for me at least

> zero vocals

can also be vocals in a language I don't understand. In those cases, the voice is just another instrument and not distracting.

[−] stronglikedan 39d ago
thanks for this (more than a simple upvote could say)
[−] jaan 39d ago
NTS radio has been incredible for programming music over the years. Deep backlog, an ambient channel (infinite mixtape: https://www.nts.live/infinite-mixtapes/slow-focus), and great selections:

https://www.nts.live/

And they have mobile apps :)

[−] bananzamba 39d ago
In the morning I listen to chill electronic music without lyrics: Tycho, Emancipator, Blackmill, Jon Hopkins

Later in the day I listen to more energetic electronic music (a lot of which is from the Hotline Miami soundtrack): M|O|O|N, Dan Terminus, Carpenter Brut, Daniel Deluxe, 1788-L, Pendulum

[−] sublinear 39d ago
Carpenter Brut and a ton of caffeine was vibecoding before LLMs.
[−] dsquier 39d ago
My go-to is Paronator - Flowers of Life[1]. It makes an hour melt away.

[1] https://www.discogs.com/master/3779840-Paronator-Flowers-Of-...

[−] RankingMember 39d ago
The soundtracks for those two games are just so so good and perfect for that post-lunch caffeinated focus time.
[−] dmacfour 39d ago
For me it's the soundtracks to Deus Ex (basically all the games), Mr. Robot, and Halt and Catch Fire.
[−] ggperry 39d ago
That is so specific, I can't believe there is someone else out there that flows to Deux Ex. I've had whole sessions with Human Revolution on repeat. You might also like some synthwave: https://www.youtube.com/watch?v=_Gajv2yJt5M The Moebius FM and Frequency channels have many nice long mixes.
[−] stevebmark 40d ago
This seems focused on one very particular taste in music of droning semi-random lo-fi synthesizers. I find this unlistenable without any kind of percussion.
[−] nine_k 40d ago
The fact that it works for the author, but totally does not for you is a big fat sign that says: search what works for you. More than that: search what works for you in a particular state of mind. You are a special enough snowflake to require a personal playlist, and it's not easily guessable. Sometimes what works best for me is Bach's violin concertos. Other times it's MBR [1]. Yet other times it might be some Keiko Matsui piano jazz, or early Apocalyptica, or Enya, or [...]. Try different things, notice what feels right and when, rinse, repeat.

[1]: https://masterbootrecord.bandcamp.com/music

[−] jeffreygoesto 39d ago
For a while and a certain mood, Ostkreuz's album "Motor" worked shockingly well and I coded like in the most focused flow ever...
[−] stevebmark 40d ago
Wow I've never thought about listening to music I like before?????
[−] nine_k 40d ago
Not all music I like makes good work music. For instance, I cannot work with code while listening to songs: the verbal center apparently gets overloaded.
[−] porjo 40d ago
Agreed! I like music that can be enjoyed either active or passive listening. The main requirement is that it have no vocals. Here's my go-to Spotify playlist while coding.

https://open.spotify.com/playlist/1IKenYEiooONuxxawKtNOm?si=...

[−] Denkel 33d ago
Totally, give me Power Metal, or even whatever Rammstein is at any time, if there is no percussion I find it either too relaxing or it will get on my nerves, no middle ground.

As someone else mentioned, I had a "Programming" playlist that has barely changed in 20 years (small additions here and there) and mine tend yo be "uplifting" type of music (if that makes sense).

[−] cyrialize 39d ago
I'm a fan of ambient and instrumental hip hop for programming.

My personal favorites are pretty much anything by Nujabes (including the soundtracks for Samurai Champloo), Fat Jon, and DJ Okawari.

I also like some classic albums in the genre like Donuts by J Dilla, Dr. No's Oxperiment by Oh No, and Endtroducing by DJ Shadow.

I will sometimes go through essential charts I find to dive into new genres, and other times I'll pick a random artist and go through their entire discography start to finish.

I highly recommend doing that with Talk Talk, their transition from 80s pop to experimental is phenomenal.

[−] jballanc 39d ago
Based on what you've already mentioned, there's a good chance you're familiar, but on the off chance you're not: "Funkungfusion" (or, really, anything off the Ninja Tune label) might be right up your alley.
[−] boogieknite 39d ago
same. combining the 10 volumes of Special Herbs makes a good 5 hour playlist too
[−] capnchaos 40d ago
For me nothing beats 90s ambient dnb for coding. There's something about drum and bass that really gets me in flow.
[−] quinnjh 40d ago
This site is a gem that has accompanied me on many spikes in the last year :) datasette's original music is top tier too. cognitively stimulating but not attention stealing.
[−] kherud 39d ago
If I'd have to make one recommendation it's David August's Boiler Room set [1]. It has such a coherent flow through the whole set, it makes me fly through multiple hours if not days of work.

[1] https://www.youtube.com/watch?v=mRfwdJx0NDE

[−] mghackerlady 39d ago
I tend to like stuff by Will Wood. Always good enough to not skip a song, enough variety I'm not tempted to change to something else, large enough discography to not get distracted by repeat tracks, and insightful lyrics that have "the hacker way" if that makes any sense. Also partial to wendy carlos or whatever The Current (local MN radio station that has really good taste and pulls some deep cuts pretty often) plays

ETA: I forgot to mention gorillaz. Great programming music, and seems to give me good ideas.

[−] __david__ 40d ago
I discovered long ago that psytrance/goa was perfect for me. It works almost as well as caffeine and I can work for hours and hours as long as it’s blaring.
[−] dmd 40d ago
I'm well aware that I'm in the minority, but I have never been able to focus on anything - especially programming - other than in absolute, total silence.

(Yes, I'm an only child.)

[−] bitwarrior 39d ago
For programming, I cannot recommend Soma FM [1] highly enough. There are a huge number of stations, most lyric-free (as to reduce the potential for flow interruption). I personally enjoy Groove Salad Classic and Lush.

[1] https://somafm.com/

[−] Lyngbakr 40d ago
I recently discovered Lorn and have been mainlining his back catalogue ever since whilst working. Thoroughly interesting and immersive yet not distracting.
[−] kcrwfrd_ 39d ago
Aphex Twin, Selected Ambient Works 85-92

Boards of Canada

Mr. Robot Original Soundtrack

[−] ZoomZoomZoom 39d ago
If I could code with a piece of music playing in the background and not lose focus means it's not worth listening at all.

Very rarely I use custom-filtered (brownish) noise to help with isolation. Perhaps some kind of Ambient or New Age would work too in such situations, but things I like in those genres require attention and not paying it would be absolutely disrespectful.

I listen to all kinds of music at my dayjob but only during specific activities that do not require much contemplation and I can mostly flow with the music and do the work in the background.

Though, I'm a musician and sound engineer, so my relationships with music in general might be a bit special.

[−] jfvinueza 39d ago
Radio Paradise has a fantastic high-rhythm, excepcionally-curated, sophisticated yet not too extravagant jazz channel called Beyond https://radioparadise.com/listen/channels/beyond

It is pretty much ideal for, as Larry Wall once said, letting music "wash over you" while coding https://youtu.be/SKqBmAHwSkg?si=_vHvP8Ij9lacwhFk

[−] frereubu 39d ago
It's unsurprising to find lots of ambient / electronica here, and generally I'm the same, but I do occasionally like really loud punk or rock if I need some motivation, like the album Feel The Darkness by Poison Idea, or as I said in another comment, I Am A Tower by Swans on a loop. Generally I get my best work done when I can lock into a single track and have it on repeat.
[−] NDizzle 39d ago
Everyone is linking the stuff they use, so I will add as well. I like the ambient/electronic as well, but this one might be new/exciting for some of you.

https://www.youtube.com/watch?v=Lnk_b_7trII

This is an extended edition of "it might just be a one shot deal" from the waka/jawaka album by Frank Zappa. The extended part is the pedal steel played by Sneaky Pete Kleinow.

If you have never heard any Zappa stuff and this is interesting to you, listen to waka jawaka itself if you like instrumentals. If you want something more commercial, listen to the Apostrophe/Overnite Sensation album. If you want more odd, listen to the Bongo Fury album, featuring Captain Beefheart. Happy exploring.

[−] andhuman 39d ago
I just listened to the Matrix OST and that one really gets me into a coding mood!
[−] gosukiwi 40d ago
I love instrumental only hip hop beats like shamisen x hip hop https://www.youtube.com/watch?v=2qi_-RmXz_g
[−] braincat31415 40d ago
Iron Maiden for me :)
[−] freetonik 39d ago
I remember watching an interview with Marco Arment (creator of Overcast and Instapaper) where he mentions that he listens to Phish a lot [1]. He collects every single recording and live show, almost 30 gigabytes of music from this one band. IIRC, he listens to it when working, so he never runs out of "music for programming" this way.

1. https://marco.org/2011/05/26/geek-intro-to-phish

[−] squigz 39d ago
While I'm not surprised at the general tastes here in the comments (as I mostly share them), I am surprised at the lack of any mention of classical?!

Johann Johannsson and Max Richter are my go-tos.

[−] klaussilveira 39d ago
[−] johncomposed 39d ago
I fully credit Autechre's album Exai for deconstructing and reconstructing my brain to learn functional programming back in college (shoutout Racket and BSL).
[−] CoolGuySteve 40d ago
The soundtracks for SimCity 3000, 4, and the 5th one titled just "SimCity" are written specifically to be played while doing some fiddly micromanagement tasks.
[−] 8bitsrule 39d ago
Impossible to recommend without knowing what works for you. For a one-stop-shop, try SOMA.FM (https://somafm.com/) for a great variety of well-vetted choons in multople genres.

After that, one can build up a list of hundreds of net radio stations in VLC and find one that works for you -today-.

[−] jeleh 40d ago
Chillout channel on DI.FM: https://www.di.fm/chillout
[−] bob1029 39d ago
When I'm really trying to get shit done I'll put on some German industrial music like Bagger 258. The lyrics don't bother me because I don't understand them. I find the harsh aesthetic helps to keep me from getting distracted with side quests. Those little voices in my head become inaudible over the nonsensical (to me) lyrics.
[−] vlachen 39d ago
Aim to Head's mix channel is a lot of what I listen to for my design work. 30 min to 1 hour of well mixed tracks. The Witch House tracks are partially helpful in focusing.

https://m.youtube.com/@aimtoheadmix1915/videos

[−] scorpionfeet 40d ago
Merzbow. Keep by fidget brain occupied with pure noise while I get real work done.

OPs playlist requires too many faculties used in coding.

[−] jandrewrogers 40d ago
I’ve thought about and experimented with it a lot. The main criteria is no lyrics, or at a minimum lyrics in a language you don’t understand at all, since this hijacks attention from parts of the brain useful for programming in a noticeable way. I find prominent fast percussion seems to help with focus but I am less confident of that.

Most other elements don’t seem to matter too much. Baroque, industrial, ambient, etc are all effectively equivalent in most regards.

That said, I tend to lean toward 1990s atmospheric drum-and-bass (pretty much anything released by Good Looking Records) as a good default. That genre maximizes things that seem to help while minimizing things that seem to detract.

[−] suzdude 40d ago
Random Access Memories.
[−] poody 40d ago
This may be weird.. but I have been listening to a bunch of extended "save room" ambient tracks based on music in Resident Evil.. Someone under the name of Survival Spheres has a crapload of these on YT-music.. They are all about 10-12 mins long.. and they stay of the way mentally..
[−] jdonaldson 39d ago
Sharing a spotify link for one of my favorite playlists : https://open.spotify.com/playlist/5jQQ19MndPFIVqsvDrvJyG?si=...
[−] gbertasius 40d ago
I love progressive techno for this. No vocals and sounds are in the lower frequency range. Easy to tune out.
[−] gausswho 39d ago
I too can enjoy the SomaFM/Dublab sounds for work.

But when I need to mix it up, I switch to FIP (Paris). They manage several different stations, but start with the main one first. It's excellently curated with more of a global palette than your typical station.