This app allows you to easily throw a SoundCloud Remix competition on your website. The default application has plenty of customization options but feel free to adjust and fork as needed. You can see an example of the default app running here.
Mac OS X: Ruby and Rails comes pre-installed on Mac OS X, but you'll want to upgrade it by following these instructions.
Windows: Follow these instructions to install Ruby and Rails on Windows.
Git is a free & open source, distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
- Install Git: On a Mac, Windows, or UNIX/Linux
- Sign up for Github
- Follow these instructions to generate an SSH key & add the key to your Github account.
- Set user name and email globally on git by following these instructions
- Make sure you're signed up for SoundCloud and logged in.
- Go here, name your app, and click
Register
- Copy your Consumer Key and Consumer Secret for later
- Go here and name your group (eg. My Band's Remix Contest)
- Add a description about your contest, make sure "Automatically approve tracks" is checked, and click
Save Group
- Copy your group url from the address bar for later (eg. http://soundcloud.com/groups/soundcloud-remix)
Clone the application on your local computer by running the following command in your Terminal emulator. (Terminal on Mac, Console on Windows)
git clone [email protected]:soundcloud/soundcloud-remix.git
Now you're ready to do some configuring.
Configuring the application is simply done by editing the following files soundcloud_auth.yml
settings.yml
instructions.txt
in the config folder.
If you're looking for a decent text editor, try TextMate
Input your Consumer Key and Consumer Secret to the prokey and prosecret fields at the bottom of config/soundcloud_auth.yml
- Input the following into
config/settings.yml
- Your competition title, description, admin user url, and group url
- A link to your terms, if needed. Otherwise, leave blank.
- Customize the embedded player_params as needed. (You can view a full list of parameters here)
- See Facebook Like Button below for more information regarding facebook_id
- Set the upload_limit size in Kilobytes. (Set to 10MBs by default for easy deployment on Heroku.)
- Adjust the default remix description, tag_list, and downloadable parameters. (These will be automagically applied to all remixes uploaded.)
The frontpage includes a prominent block that should be used to instruct your users on the contest rules, submission guidelines, deadlines, where to get the stems, etc. You have complete control over this block by simply editing config/instructions.txt
If you'd like to use the Facebook "Like" button on your application, you'll need to create a new Facebook App, copy its ID, and add it to your config/settings.yml
. Here's how you do that:
- Go here, name your app, agree to the terms, and click
Create Application
- Copy your Application ID and paste it into the facebook_id field of
config/settings.yml
- Back on your Facebook app's edit page, click
Connect
in the left column - Input the url to where your deployed app will reside into the Connect URL field (eg. http://soundcloud-remix.heroku.com)
- Click
Save Changes
Replace the following images with something that relates to your competition.
public/images/bg.jpg
: background image used throughout the app. Replace with something around 1280 x 960 pixelspublic/images/logo.png
: logo that appears in the top left corner of your app. Replace with another transparent png of your choosing.public/images/artwork.jpg
: a square 200 x 200 pixel image that is applied to every remix upload.
You can further customize the aesthetics of your application by adjusting public/stylesheets/application.css
. Here's a few ideas:
- Change the color and font of text in the
body
selector - Change the color of links and their hover effect in the
a
selector - Change the color of headlines in the
h1, h2
selector - Change the background gradient of the upload progress bar in the
uploadifyProgressBar
selector
We've changed all players on the remix app from Flash to Javascript so they load faster and work on the iPhone/iPad. You can adjust their aesthetics by editing public/stylesheets/player.css
.
- Change the background-color in the
sc-controls
selector to adjust the color of the play/pause button - Change the background gradient in the
sc-played
selector to adjust the play bar color
- Add .vote to the end of any remix link to make a voting link. Great for Twitter. "Vote for my remix http://soundcloud-remix.heroku.com/1**.vote**"
- Remixes are automatically added to the Group you specified in settings. You can go there to grab an embed of all the submissions.
- A button to "Vote For Remix" is added to the player embed via a customized 'buy' button. More on that hack here.
- The app is automagically formatted for the iPhone. You can even listen to the remixes via HTML5 powered audio.
SoundCloud-Remix is Copyright (c) 2010 Lee Martin and SoundCloud, released under the MIT License.