Monday, October 16, 2017

PROJECT IDEA #2 Mix AUDIO


USE THIS API to Get Sounds
http://freesound.org/docs/api/

Download Sound (OAuth2 required)

GET /apiv2/sounds/<sound_id>/download/
This resource allows you to download a sound in its original format/quality (the format/quality with which the sound was uploaded). It requires OAuth2 authentication.

Examples

Download a sound:
curl -H "Authorization: Bearer {{access_token}}" 'https://www.freesound.org/apiv2/sounds/14854/download/'



https://github.com/kevincennis/Mix.js

Mix.js

travis
Multitrack mixing with the Web Audio API.
Documentation (and lots of cleanup) forthcoming.

Demo

Getting started (for Developers)

Install Grunt
npm install -g grunt-cli (may require sudo)
Install Node dependencies
npm install
Build & Test
npm test or grunt
Start a local webserver at http://localhost:8888
npm start

Usage (for... Users)

  • Download mix.js.zip from the Releases page and unzip it
  • Put your own audio (mono mp3 or wav) in the /sounds directory
  • Edit mix.json to reflect your track names and audio URLs
  • Copy the directory to your webserver
To save a mix, open the dev tools in your browser and enter JSON.stringify(App.mix.toJSON(), null, ' ') and copy the output into mix.json.

Contributing

Pull requests are completely welcome and appreciated. Before submitting, please make sure that your code conforms to the Idiomatic.js style guide.

Tests

Unfotunately, PhantomJS doesn't currently support the Web Audio API, which makes meaningful testing for most of Mix.js pretty much impossible. That said, if you write code which can be tested, please submit tests with your pull request.

Bugs

Bugs should be filed on this repo's Issues page. Please include any relevant details (browser, OS, etc.) as well as steps to reproduce.

No comments:

Post a Comment

Scripting for the Web Final

I spent a lot of time working on my updated portfolio website this semester. Here's an excerpt of the reflection post I wrote (because t...