Giter Club home page Giter Club logo

chuck_demos's Introduction

Heads Up: Soundcloud aren't providing API keys at the moment, so this project isn't super useful for now. Hoping they change their minds and open up their API again soon.

ChucK Demos

Build Status

This is a project for me to be able to write ChucK code, commit it to this repo, and have it appear on SoundCloud via the magic of continuous integration.

Usage

  1. Register a SoundCloud API Application, note the client id and client secret
  2. Fork this repository
  3. Go to travis-ci.com, log in, and turn on CI for your fork
  4. Set the 'SOUNDCLOUD_USERNAME', 'SOUNDCLOUD_PASSWORD', 'SOUNDCLOUD_CLIENT_ID', and 'SOUNDCLOUD_CLIENT_SECRET' environmental variables in your Travis project. Make sure to leave the 'Display value in build log' toggle off, otherwise people can grab your creds!
  5. Write some cool ChucK code
  6. Commit the ChucK code to the 'code' directory of your fork

Once the code gets built on Travis, you will see it appear on your SoundCloud profile.

Notes

The recordings will be as long as the ChucK script keeps running, up to a total of 5 minutes, when they'll be cut off to preserve SoundCloud space. Of course, you can change this in your fork by modifying rec.ck.

I apologise for the fact that you have to use your credentials, the SoundCloud API doesn't have a great way to authenticate users without a server. If you have a better idea, I'd welcome a pull request!

This repo uses my own ChucK debian package because the one in the Ubuntu repos is egregiously out of date and I'm using a recent-ish ChucK feature to handle recording of the audio. Feel free to use my packagecloud repository to grab the debian package if you'd like.

Contributing

I'm all for contributions to this project, but no need to send me ChucK code that sends me audio - fork this project and put it on your own SoundCloud page. Other than that, I love Pull Requests. Send me one!

chuck_demos's People

Contributors

hughrawlinson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

chuck_demos's Issues

Investigate travis cache ttl

Travis' .travis.yml validator was not permitting cache timeouts as specified in their docs. Worth setting it to ten million seconds ~20 years.

Preview solution for Pull Requests

Try and find a way to temporarily host the audio built on a pull request, maybe with a TTL, without pushing it to the full blown SoundCloud page. Maybe also automatically comment a link on the PR.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.