Skip to content

Mutitrack mixing in JavaScript with the Web Audio API

License

Notifications You must be signed in to change notification settings

mcanthony/Mix.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mix.js

travis

Multitrack mixing with the Web Audio API.

Documentation (and lots of cleanup) forthcoming.

Demo

kevvv.in/mix

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.

About

Mutitrack mixing in JavaScript with the Web Audio API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 70.4%
  • CSS 22.5%
  • HTML 7.1%