No description
Find a file
2014-04-11 19:17:01 -04:00
audio added a bunch of samples to play with 2014-03-14 23:00:51 -04:00
build integrated Transport and musical timing for all methods that take times 2014-04-11 19:17:01 -04:00
deps some renaming. new auto panner 2014-04-04 20:24:19 -04:00
examples integrated Transport and musical timing for all methods that take times 2014-04-11 19:17:01 -04:00
Tone integrated Transport and musical timing for all methods that take times 2014-04-11 19:17:01 -04:00
.gitignore ignoring sass garbage 2014-03-13 12:48:16 -04:00
README.md updated readme 2014-04-06 17:05:58 -04:00

Tone.js

A collection of building blocks extending and wrapping the Web Audio API

Tone.js can be used with or without require.js

require.js

There are a couple ways to use the tone library with require.js and r.js.

You can include the Tone.js build (located in the build folder), as one of the deps in your require.config

require.config({
    baseUrl: './base',
    deps : ["../deps/Tone.js/build/Tone"],
});

or alternatively, keep the directory structure the same and make a path which points to the Tone directory

require.config({
    baseUrl: './base',
    paths: {
        "Tone" : "../deps/Tone.js/Tone"
    }
});

without require.js

To use Tone.js without require, just add the build source in a script tag at the top of your page. Tone will add itself and all its components to the global context.