title: Downloading Coding.fm sounds
link: http://jj.isgeek.net/2012/09/downloading-codingfm-sounds/
author: Jj
description: 
post_id: 893
date: 2012/09/05 21:07:54
created_gmt: 2012/09/06 02:07:54
comment_status: open
slug: downloading-codingfm-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](http://soundcloud.com/crossrider). So I just Googled how to download Soundcloud tracks and ran into [SoundCloud Downloader](http://soundcloud-download.com/). 

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](http://blog.crossrider.com/post/30523827275/coding-fm-the-making-of). Make sure to [follow them on Twitter](https://twitter.com/crossrider)