Tone.js/examples
2019-09-04 12:00:15 -04:00
..
audio updated examples with new interfaces 2019-01-08 20:21:29 -05:00
js latest ui 2019-01-10 13:48:02 -05:00
amSynth.html adding AMSynth example 2019-01-09 23:25:30 -05:00
analysis.html updated examples with new interfaces 2019-01-08 20:21:29 -05:00
animationSync.html updated examples with new interfaces 2019-01-08 20:21:29 -05:00
bembe.html updating bell part to new MetalSynth api 2019-09-03 20:35:32 -04:00
buses.html updated examples with new interfaces 2019-01-08 20:21:29 -05:00
daw.html updated examples with new interfaces 2019-01-08 20:21:29 -05:00
envelope.html updated examples with new interfaces 2019-01-08 20:21:29 -05:00
events.html updated examples with new interfaces 2019-01-08 20:21:29 -05:00
favicon.png updated examples with new interfaces 2019-01-08 20:21:29 -05:00
fmSynth.html updated examples with new interfaces 2019-01-08 20:21:29 -05:00
funkyShape.html updated examples with new interfaces 2019-01-08 20:21:29 -05:00
grainPlayer.html updated examples with new interfaces 2019-01-08 20:21:29 -05:00
index.html updated examples with new interfaces 2019-01-08 20:21:29 -05:00
jump.html updating link 2019-08-26 11:04:36 -07:00
lfoEffects.html updated examples with new interfaces 2019-01-08 20:21:29 -05:00
meter.html updated examples with new interfaces 2019-01-08 20:21:29 -05:00
mic.html updated examples with new interfaces 2019-01-08 20:21:29 -05:00
mixer.html updated examples with new interfaces 2019-01-08 20:21:29 -05:00
monoSynth.html updated examples with new interfaces 2019-01-08 20:21:29 -05:00
noises.html updated examples with new interfaces 2019-01-08 20:21:29 -05:00
offline.html examples - fix url for Tone.Offline (#492) 2019-06-10 15:43:17 -04:00
oscillator.html updated examples with new interfaces 2019-01-08 20:21:29 -05:00
pianoPhase.html updated examples with new interfaces 2019-01-08 20:21:29 -05:00
pingPongDelay.html updated examples with new interfaces 2019-01-08 20:21:29 -05:00
player.html updated examples with new interfaces 2019-01-08 20:21:29 -05:00
polySynth.html updating to new polysynth API 2019-09-04 12:00:15 -04:00
quantization.html updated examples with new interfaces 2019-01-08 20:21:29 -05:00
rampTo.html updated examples with new interfaces 2019-01-08 20:21:29 -05:00
README.md README for examples 2019-04-11 15:41:28 -04:00
reverb.html fixing typo in example 2019-01-10 11:43:51 -05:00
sampler.html updated examples with new interfaces 2019-01-08 20:21:29 -05:00
shiny.html updated examples with new interfaces 2019-01-08 20:21:29 -05:00
signal.html updated examples with new interfaces 2019-01-08 20:21:29 -05:00
simpleHtml.html Added simple HTML5 example to examples folder (#465) 2019-04-01 23:33:07 -04:00
simpleSynth.html updated examples with new interfaces 2019-01-08 20:21:29 -05:00
spatialPanner.html updated examples with new interfaces 2019-01-08 20:21:29 -05:00
stepSequencer.html removing duplicate import 2019-01-08 22:06:19 -05:00

These examples use web components (e.g. <tone-example>) which are defined in the Tonejs/ui repository.

Running examples locally

Check out the repository, and from the root run:

$ npm install
...
$ npm run build

Once this is done, you can start a local server with Python:

$ python -m SimpleHTTPServer 8000

Then, from a browser visit http://localhost:8000/examples. (See also: installation instructions on the wiki)

Adding examples

To contribute examples, please follow the current style of the examples. Add your example's title and file name to js/ExampleList.json file for it to appear in the examples list on the index page. (cf. CONTRIBUTING.md)