Jj Del Carpio

Jj's web stream

Downloading Coding.fm sounds

I hate doing this, it just feels wrong, but I'm going to share how to do this, it turns out it was pretty simple.

Today I read about coding.fm and how it plays the sound of other people coding, I gave it a try and I loved it. I had a browser tab open all day in order to be able to enjoy this while I worked.

But I hated that I had to have a browser tab open just to listen to this sound so I went ahead and downloaded the sound.

Looking at the source of the page you will see that the player widget code works over an Iframe:

var widgetLoaded = false,
widgetIframe = document.getElementById('sc-widget'),
widget       = SC.Widget(widgetIframe),

The Iframe's #sc-widget points to: http://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F56428729&auto_play=true

Pasting that on your browser shows you SoundCloud player with the track on it. There you can click on the Crossrider's profile and see all the tracks. So I just Googled how to download Soundcloud tracks and ran into SoundCloud Downloader.

Once you have the mp3 file, just play it with this command to play infinitely.

$ mplayer -loop 0 hacking.mp3

It just needs some crossfading to avoid the whitespace when looping through the track.

Thanks a lot to the guys from CrossRider and recording these sounds. Make sure to follow them on Twitter

Jj Avatar of Jj

Reply or react to this post via Webmentions