Module Loaders
RequireJS is a powerful module and build system which Tone.js uses internally. By only including the modules that your application needs, your build can be much smaller and your code much more modular.

If you use RequireJS (or any other UMD module loader), but build-size is less of a concern, you can simply include the entire Tone.js build.

Take a look at the source to see how.