Tone.js/examples
2019-12-15 10:22:17 -07:00
..
audio updated examples with new interfaces 2019-01-08 20:21:29 -05:00
js adding PitchShift example 2019-10-28 13:13:01 +01:00
amSynth.html adding AMSynth example 2019-01-09 23:25:30 -05:00
analysis.html fix waveform docs link in the description 2019-09-28 13:35:54 +02:00
animationSync.html updated examples with new interfaces 2019-01-08 20:21:29 -05:00
bembe.html updated examples with new interfaces 2019-01-08 20:21:29 -05: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 adding PitchShift example 2019-10-28 13:13:01 +01:00
player.html updated examples with new interfaces 2019-01-08 20:21:29 -05:00
polySynth.html updated examples with new interfaces 2019-01-08 20:21:29 -05: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)