184 comments

[ 3.9 ms ] story [ 216 ms ] thread
from https://news.ycombinator.com/item?id=2715066

"If someone integrated a contextual playlist generator into a web-IDE and changed the music based on length of current session, degree of nesting or other complexity values, time of day based on location, etc..., I think it would be a much appreciated feature."

As a general rule, we're looking for 1 hour long noise/dronescapes with no (or very few) drums or vocals.

Happy coding / knitting / drawing / running / painting / writing / baking cakes!

Apparently this should really be called "MusicToGetThingsDone" :)

Music possessing these qualities can often provide just the right amount of interest to occupy the parts of your brain that would otherwise be left free to wander and lead to distraction during your work.

Finally - someone who recognizes that there's a curious & busy part of the brain which must be kept preoccupied during complex tasks, and mixes music just for that purpose.

"Trance" music podcasts are a great approximation for this. (See "The Vocal Trance", "Above & Beyond: Trance Around The World", "The Perfect Mix", "Push The Night", "Perfecto Podcast", "The Sound of Trance", "Shakedown Podcast")

ETA: Alas, too many managers don't understand this; they think you're getting distracted by the music, and can't comprehend that it is necessary to facilitate focus.

I couldn't agree more about the Trance podcasts. It's great that these podcasts have no breaks (mixing each song into the next). Music like that with a good beat and lots of crescendos/decrescendos can be ideal for tuning out everything around me and staying focused for a long period of time.
You can also get good stuff on TT in the Trance Out room.
> Finally - someone [...] mixes music just for that purpose.

DJ Bolivia has been quite known for his "Music to code by" mixes, I definitely recommend them.

http://djbolivia.blogspot.com/2011/04/music-to-code-by-volum...

Just grabbed these and started the first track for while I work from home (go go Denver snow) and I'm really digging it. Thanks for the pointer.
Yay snow! Currently stuck at home in Littleton :P
Good stuff. Started playing it, wasn't sure at first, then started working and was immediately in that other place where things get done.

But now I'm reading Hacker News.

Emillon, thanks. Some of those Music To Code By mixes have a fair amount of vocals though. I think nowadays, a lot of coders would prefer my weekly radio show at www.chma.fm.

The drawback with the radio show is that each episode has a 25 to 60 second promo tape at the intro, but after that it's all music, no advertising, and I don't do voiceovers. I'd recommend episodes starting at about #070 - I was still trying to find a groove in the first seventy, and I only stopped doing an intro voiceover in the early 70's.

They're also on SoundCloud (I just archived them all starting a few weeks ago) so you can skip around easily if you need to: http://www.soundcloud.com/djbolivia

Nice, I'll check those out !

I listened to the first episodes but for some reason I preferred your former mixes. Let's see how the latest episodes are doing :)

They are definitely a bit darker, more tech-house. I guess the style changes within each show, but from show to show it's consistent. The first half of each show is generally low-key tech-house, but then I start speeding it up a small amount and using more "busy" progressive house tracks later in the episode. But not many vocals in each. Some people will like these better (the sound quality is also better), but some coders will definitely prefer the six older "Music To Code" By mixes.
I personally am a big fan of a couple of the radio stations in the 'Ambient' section in iTunes. A big shout out for DroneZone, although anything from SomaFM is pretty good.
I personally am a big fan of a couple of the radio stations in the 'Ambient' section in iTunes. A big shout out for DroneZone, although anything from SomaFM is pretty good.
Yes, these podcasts are like Mozart. There are no many words in them, so they're not distracting.
For a quick intro, just tune to di.fm's trance channel. They have a lot of great trance radio shows; Global DJ Broadcast with Markus Schulz, A State of Trance with Armin Van Buuren, the aforementioned Trance Around The World, Global Trance Grooves with John 00 Fleming, etc.

For easily downloadable podcasts, Sander van Doorn's Identity (although he's leaning more electro these days), The Gareth Emery Podcast, and Global Trance Grooves are good ones.

di.fm has a lot of really good content. Highly recommend any trance channel (I like the classic vocal best) and their Chiptune channel.
totally agreed. I've been listening to di.fm and Armin Van Buuren week shows for 5 years.
I second this. di.fm is playing for about half my work day, and often when I'm at home too. I love the Trance and Vocal Trance channels, with forays into EuroClub, DubStep and Chillout Dreams.
Trance/Ambient stuff drives me nuts. For the longest time it jaded my view of electronic music because I thought it defined it. I prefer faster beats, well structured complex melodies a la Skrillex http://soundcloud.com/skrillex/sets. The first few listens might be a little distracting but once I know the songs I find myself typing like I'm playing the song with my keyboard.
While I'm not that fond on the Trance/Ambient combination, there is out there trance with faster beats and more complex melodies (albeit not sure if we commonly share what more complex means).

Take a sample playlist of mine http://grooveshark.com/playlist/Trance/63694608

I liked your playlist. Thanks!
> I prefer faster beats, well structured complex melodies a la Skrillex

Skrillex and dubstep in general typically has a lower BPM than Trance. Skrillex usually works in the 120s, whereas trance is usually in the 130s-140s. You seem to be lumping trance and ambient together; however, they're quite different! I would argue that trance typically has more complex melodies than dubstep, which focuses more on tambre variations (ie crazy bass distortion). If you want to hear a cool trance track with high BPM and a nice complex melody, check out Duke Can't Come Home by Oza: http://www.youtube.com/watch?v=BA9If-QkXQk As with all electronic music, you kind of have to sit through the first 32 bars or so for it to get to the good part; these parts of songs are really only there so that DJs can mix them together more easily.

I find progressive trance great music to work to - some great artists in this genre are Ace Ventura, Gaudium, Lish, Zen Mechanics & Space Buddha.
This is a super netlabel for the trance listener: http://www.ektoplazm.com

All of their music is released under a Creative Commons license for non-commercial purposes. They offer a wide variety of trance genres, including Goa, Progressive, Psychedelic, Uplifting, etc. Plus, all music can be downloaded in FLAC, WAV and MP3 formats.

yo mon. this is the shit! love ektoplazm.
I might as well plug my buddy's site:

http://trance-mixes.com

Very nice site, well put together.

oh, this is good. just what I've been looking for.
What kind of manager doen't let you listen to music?
I'm not a programmer, I work in information security (monitor/response) but I've experienced something similar. My manager listens to music/podcasts, most of my coworkers do as well, but when someone from another team walks by, they assume we're doing nothing based on comments I've heard, "you have headphones in, obviously you're not busy". No, I'm just trying to concentrate. Thanks for interrupting with your smartass remark.
"there's a curious & busy part of the brain which must be kept preoccupied during complex tasks" this is so true - I've found, besides listening to music, I can actual half-listen to lectures/talks while I program, and concentrate considerably better than in quiet. Counter-intuitive but works really well.
As a musician, I love it. That's probably half due to roughly 70% of my songs ending up as trance by the time I'm done though. What is it about it that you dislike exactly?
Let me be clear: I have no issue with trance as a form (highly repetitive 140 bpm 4/4 dance music). But trance music as a scene since the mid-90's has been characterized by melodramatic, over-produced, formulaic and not forward-thinking music. It's akin to being a filmmaker and disliking plotless Hollywood action films.

These days there's a lot of innovative and interesting dance music coming out in the wake of dub step. I tend to play stuff like this:

http://www.youtube.com/watch?v=Sbj6iVyIgAI

http://www.youtube.com/watch?v=oH4GIL1wYWo

http://www.youtube.com/watch?v=bHweamNAkjY

http://www.youtube.com/watch?v=KUYQTPhPJZE

http://www.youtube.com/watch?v=34GJld5OmiE

http://www.youtube.com/watch?v=YH_Ondi_ojA

Music with new ideas, character and soul. Unfortunately interesting music sometimes demands a little too much attention when you're trying to code!

"melodramatic, over-produced, formulaic and not forward-thinking music"

Haha. I do see much of that. Although I can't say it's always bad. What's your take on this track? http://www.youtube.com/watch?v=U80l-YzcGsQ

Liking this stuff you linked. I know what you mean by some music being too attention-grabbing to listen to while coding though.

I don't know, it's compelling and I do have soft spot for this kind of stuff, but I find it as "melodramatic, over-produced [and] formulaic" as anything on Anjuna. Sometimes I'm in the mood for that, but it doesn't satisfy me at all intellectually. It's like candy: tastes good while you're eating it, but doesn't feed the body like food or the soul like a warm cup of tea. I think in this analogy, programming music should be like gum or a cinnamon stick!
Thanks for the response. I was hoping you would slap it with the labels you mentioned earlier. It means I'm not crazy! I like the analogy as well.

Thanks for the replies, and the music. Have a good one.

Hey man you should check this out if you are looking for creative new music , i have to admit not all the music is good but each episode has a new and unique producer/DJ and all the styles are different www.datatransmission.co.uk
I'm 7 days late and I doubt you'll ever see this, but thank you for that Andy Stott youtube vid. I'm a big fan of the folks doing more fractured/cracked/drone stuff (Burial/Gas/Basic Channel/etc), I've never heard of Stott, and this stuff is easily up there with the best.

Bravo sir or madam!

I realized today that I've been listening to the same playlist 203 songs for about a year now. It usually plays all day long. I'm kind of bored with it when I'm actually paying attention to it and want to listen to music, but it's great for programming. The songs are so well known to me at this point that I don't really consciously think about them. My brain just kind of sings along without me while I write code.
Personally I enjoy minimal electronic music while coding. It fits nicely into the background while still sounding interesting.

This site has some good minimal mixes http://deepmix.eu/

I think the site is starting to creak under the strain. Perhaps a torrent of the MP3s would be a good idea?
I only have one, but it's quite nice.

magnet:?xt=urn:btih:RT5HIT44ZRQPNZOBCP7WAWXC4X5XT43D&dn=music_for_programming_4-com_truise.mp3&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80%2Fannounce

And here's a list of all so far for future reference, seems like the site is doing fine for now though.

magnet:?xt=urn:btih:LKY6JNYEXZZ3DNXJGMQANRQRC65DEDMS&dn=music_for_programming_1-datassette.mp3&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80%2Fannounce

magnet:?xt=urn:btih:YQN3QLRTSAYWBWT3BHOVJJHHSWBYOQIJ&dn=music_for_programming_2-sunjammer.mp3&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80%2Fannounce

magnet:?xt=urn:btih:UE3W6G6R5XQ5A6RV4HU74LCUIFJWMXRK&dn=music_for_programming_3-datassette.mp3&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80%2Fannounce

magnet:?xt=urn:btih:RT5HIT44ZRQPNZOBCP7WAWXC4X5XT43D&dn=music_for_programming_4-com_truise.mp3&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80%2Fannounce

Somafm.com has a few channels with few drums or vocals

9 beet stretch might be of interest to anyone wanting something long noise/dronescapes

If you use background music only for noise cancellation (crying babies, reconstruction works etc.), I recommend http://www.simplynoise.com/. It's not as distracting as even the most minimalistic trance.
Ah nice. Definitely bookmarking this. Also related, I started using rainymood, fireplace and jazz loops found on a reddit thread from a while back [1]. After using different combinations of the 3, I've found that sometimes music doesn't cut it, and a simple fireplace/rain loop helps me work better.

[1] http://www.reddit.com/r/reddit.com/comments/ca4bl/time_to_ge...)

These are great, too. I can't stand the water sounds, though. After a few minutes I feel an urge to urinate :).
Aphex Twin's Selected Ambient Works?
i was thinking the same thing. both albums are really good.
This is what I came here to say.

I just started trying to improve my focus with isolating earbuds (haven't invested in noise cancelling cans yet) and rainymood.com. I heard the term "ambient" recently and decided to give it a try on Pandora, and got Lichen (#19) from Vol. 2 as the first track. I picked up both albums from Amazon soon after. Having no previous connection to electronic music at all and only knowing Aphex Twin from "Come to Daddy" and "Windowlicker" (not my thing), I was pleasantly surprised.

Some of it's a little dark and/or tweaky, but most of it is great to have on while working, and it covers a range of upbeat/downbeat without ever getting into "dance beats", which don't help me at all.

Hello Everything by Squarepusher goes along nicely with this too. Not too up, not too down.
I used to listen Aphex Twin's music, works great for me, but now I mostly listening to The Flashbulb's compositions, can listen it for a whole day. Arboreal and Kirlian Selections albums are pure piece of art.
Bogdan Raczynski's stuff can be quite nice and varies from acoustic Polish roots on accordion to 8bit beats and well executed video game nostalgia.

Lots of stuff on Warp records does nicely, as already mentioned. Autechre, Boards of Canada, Of Montreal. I've been listening to Evil Twin by Modeselector way too often recently.

I assume that most people here like to keep it mellow. I also listen to Amorphis (melodic metal) and lots of underground hip-hop, especially when I have to do administrative work and need a change of pace.

Selected Ambient Works is fantastic for coding - totally agree.
Made a Pandora station seeded from the artists in all the mixes.

http://www.pandora.com/#!/stations/play/738121268334091862

Thank you, thank you!
I really wish Pandora was in my country too. SSH tunneling is too expensive.
Little known fact: only the webapp part of Pandora is IP-restricted. The media servers are open to the world. So as long as you can load the player through a tunnel, the actual mp3s can go through your normal connection.
nice. thanks for the mixes. i use "boards of canada" pandora station to accomplish the same idea. you get a lot of down tempo, ambient styles.
I wish these were compiled in a Soundcloud - something mobile-friendly that lets you skip around in a mix without downloading the thing. And the hosting is pretty slow.
Hosting seems pretty borked at the moment.

And yeah would be great to be able to preview some of this without downloading a 100MB+ file...

Agreed, I didn't want to waste a hundred megabytes of the owner's bandwidth (plus the time to download) just to sample the file, so I pasted the link into a media player to stream it. However, it was not able to jump ahead in the program I used (Media Player Classic).
I pretty much just play Trent Reznor when I don't feel like putting together a playlist.

I've also really enjoyed listening to motorik rhythms lately. Something about that beat makes me feel like I'm constantly moving forward. Stereolab are the modern masters...

Whilst not music, I find listening to http://www.rainymood.com to be great for concentrating. It's a 30 minute sample of a rain storm.

It got me through my Master's dissertation, where I had it on loop for hours at a time.

Fiddler tells me you can currently grab the mp3 from here http://173.193.205.68/audio/RainyMood.mp3 (this was especially useful for the times I wanted to be disconnected from the internet to focus on work).

Most of the time it helps me sink into deep sleep :)
Yep, add an extra point of help for those suffering with tinnitus (like me) and the site is suddenly made of gold.
Oh wow, this is brilliant. I had heard of rainy mood before, but I'm so grateful you've found an mp3 of it. This is going to be on my mp3 player all the time now.
Would love it if there were Spotify playlist links for these.
I searched for the artists of episode 1 in Spotify. Only ~1/3 of them could be found and often the specific songs were not there.
That Com Truise mix is nice. Also check out his Komputer Cast 4 part set http://comtruise.com/kc/
Com Truise is great. Discovered him last year. I'm a sucker for ambient lo-fi stuff.
Side question: why do you think so many coders prefer electronic music to be productive?

Based on the comments here, electronic music (whether it's ambient, trance or dubstep) appears to be the assumed genre.

1. As vishaldpatel notes, the pattern resembles meditative mantras. However the mind reacts to religious chanting, "trance" resembles that and invokes similar focus to the exclusion of other distractions. Indeed, we call the music "trance" for a reason.

2. The music does not demand attention to itself. Most other music is created with a "drop what your doing and pay attention to ME" sense, and we go to concerts and pay good money to listen to such music for what it is as the center of our attention at that time. Dance music derived from ambient origins creates a beautiful backdrop to something else, driving away other distractions and setting a pleasant environment for whatever we really want to do; most of it is created for, well, dancing - but the style where the focus is on self & moment, not on music or others & events.

In our culture, very little else combines to create this audio backdrop combining meditation and high energy. Most instruments demand the musician(s) focus on a full performance, and hence expect (hope?) the audience to give similar attention - the antithesis of what we're looking for here. Even "minimalist" acoustic[ish] music like Philip Glass & Steve Reich, which resembles "trance", requires an intense single-performance effort & focus of the performers, giving the implication to the audience that similar focus should return the favor.

Electronic music allows lots of free-running loops, zero-effort samples, edited-to-perfection sequences, and time-unconstrained editing after the fact - to wit, it's not created live, not intended for live performance, and the artist has no attitude of "I'm not utterly focused on perfect end-to-end performance of this, so I don't expect utter focus of the audience". Acoustic meditative music heads this way, but involves the performer in the focused activity; music isn't an ingrained part/consequence of coding.

Upshot: electronic music lends itself to creating coding-productive music. We'd like such music from other sources, but nothing else lends itself to producing such high-energy long-run content without demanding the listener's attention.

> The music does not demand attention to itself.

Interesting that the reasons given here mostly also apply to game soundtracks as well, which is mostly what I listen to while coding. (Overclocked Remix has some great compilations if you are looking.)

I suspect game soundtracks differ from film soundtracks in that they're the backdrop to something that's still interactive, but I'm not sure how that comes into play.

Music for 18 Musicians is usually my first choice whenever I want an hour of uninterrupted productivity. The piano and mallot lines are like a rhythmic propulsion system.
At my workplace we have a contractor that listens to hardcore speed metal while coding. The really angry kind...

It is hilarious when you realise how calm he is working on the project, completely opposite to what the music is. My colleague prefers listening to old school rock, and my boss (coder as well) listens to classical music.

Definitely a lot of different tastes out there.

I personally am a trance/techno/electronic/dub step/vocal trance kinda person.

I am a music addict and can (and do) listen to almost all genres of music during coding. But a consistent pattern is that I rarely listen to _new_ music while coding. What happens to me is that when I am really concentrated, I start listening to one album over and over to make sure that the music doesn't surprise me or force my attention. Sadly, its also a way to kill albums for you real quick :).
i usually stream psytrance, works well for some reason :)
I went through a long Shpongle phase about a year and half ago. Great coding music, if you don't mind the heavy psychedelic feel.
Same story here. I wish there was more music that sounded like them. Particularly more music that sounded like Dorset Perception.
Buddhists often chant mantras to stay in meditation. I suspect that a steady beat / rhythm has a lot more to do with concentrating than any specific genre. It gets the rest of our minds jogging along with the thing we're trying to achieve.