/jukeboxjs

An audio synthesis API for Javascript

Primary LanguageJavaScript

jukebox.js

Jukebox.js: Custom Audio with the Web Audio Api

Jukebox.js is a library for making sounds and music from scratch using Javascript and the H%ML5 Web Audio API.

Getting started just takes a minute. Check out the getting started guide.

Why Jukebox.js?

In addition to being stupid awesome, making music and sounds natively using Javascript has lots of advantages.

  • Songs sequenced for Jukebox.js are way smaller than mp3 files and sound cleaner
  • Music you make can react to user input like in Squaretide, a game using Jukebox.js
  • Jukebox.js is less than 2kbs minified
  • Jukebox.js comes loaded with lots of preset sounds, so you can get started making music right away.

What can I use Jukebox.js for?

  • Keyboards, drums machines, even flutes – musical instruments of every kind – Jukebox.js was designed was mobile support in mind and multi-touch as a first-class citizen
  • Games – using Jukebox.js is extremely size-effective. It's also customizable and has a chiptunes feel right out of the box. Games like Super Mario have sound tracks that work using very similar technology.
  • UI sounds – respond to user swipes and taps with custom sounds depending on speed, distance, and and other variables desired
  • Having fun – just load up a synth made with Jukebox on your iPad and jam away with your friends

What is Jukebox.js?

Jukebox.js is a Javascript library for playing sounds, generally music, using the Web Audio API. Jukebox.js borrows a lot from the design of actual, real life synthesizers.

Using Jukebox.js you can:

  • Generate electronic versions of your of your favorite tunes. This is similar to Midi, and the file size can be extremely small.
  • Generate the sound track for your game in real time. Using music and sounds generated with Jukebox.js can reduce the size of your game by 10mbs or more.
  • Compose different Jukebox elements in an infinite number of layers and in an infinite number of ways
  • Turn handheld devices like phones and tablets into musical instruments

Jukebox.js Quick Start Guide

All required dependencies are in the jukebox.js file in the main directory. It is not recommended you link to this file directly.

Bower

``` bower install jukebox; ```

License

MIT License