Tone.js/examples
2020-01-19 23:08:37 -05:00
..
audio updated examples with new interfaces 2019-01-08 20:21:29 -05:00
js Merge branch 'dev' into typescript 2019-11-15 11:40:47 -05:00
amSynth.html adding AMSynth example 2019-01-09 23:25:30 -05:00
analysis.html Merge branch 'dev' into typescript 2019-11-15 11:40:47 -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
pitchShift.html Merge branch 'dev' into typescript 2019-11-15 11:40:47 -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 minor typo: columne => column 2019-12-15 10:22:17 -07: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)