Tone.js/examples
FEZfan d44ff079df
typo (#1270)
it's -> its
2024-09-09 11:05:15 -04:00
..
js updating ui components 2020-07-19 11:59:44 -07:00
amSynth.html updating example links (#1246) 2024-05-15 15:24:20 -04:00
analysis.html updating example links (#1246) 2024-05-15 15:24:20 -04:00
animationSync.html renaming synth var 2020-07-19 10:18:45 -07:00
bembe.html updating example links (#1246) 2024-05-15 15:24:20 -04:00
buses.html updating example links (#1246) 2024-05-15 15:24:20 -04:00
daw.html fixing bad link 2020-07-19 13:45:40 -07:00
envelope.html updating example links (#1246) 2024-05-15 15:24:20 -04:00
events.html updating example links (#1246) 2024-05-15 15:24:20 -04:00
favicon.png updated examples with new interfaces 2019-01-08 20:21:29 -05:00
fmSynth.html updating example links (#1246) 2024-05-15 15:24:20 -04:00
funkyShape.html simplifying example by removing FunkyShape class 2020-07-19 10:19:01 -07:00
grainPlayer.html updating example links (#1246) 2024-05-15 15:24:20 -04:00
index.html linting 2020-07-18 17:20:19 -07:00
jump.html updating example links (#1246) 2024-05-15 15:24:20 -04:00
lfoEffects.html updating example links (#1246) 2024-05-15 15:24:20 -04:00
meter.html updating example links (#1246) 2024-05-15 15:24:20 -04:00
mic.html linting 2020-07-18 17:20:19 -07:00
mixer.html updating example links (#1246) 2024-05-15 15:24:20 -04:00
monoSynth.html updating example links (#1246) 2024-05-15 15:24:20 -04:00
noises.html updating example links (#1246) 2024-05-15 15:24:20 -04:00
offline.html updating example links (#1246) 2024-05-15 15:24:20 -04:00
oscillator.html updating example links (#1246) 2024-05-15 15:24:20 -04:00
pianoPhase.html correcting synth type 2020-07-19 10:46:11 -07:00
pingPongDelay.html updating example links (#1246) 2024-05-15 15:24:20 -04:00
pitchShift.html updating example links (#1246) 2024-05-15 15:24:20 -04:00
player.html updating example links (#1246) 2024-05-15 15:24:20 -04:00
polySynth.html updating example links (#1246) 2024-05-15 15:24:20 -04:00
quantization.html ignoring typescript errors 2020-07-19 10:50:20 -07:00
rampTo.html linting 2020-07-18 17:20:19 -07:00
README.md README for examples 2019-04-11 15:41:28 -04:00
reverb.html updating example links (#1246) 2024-05-15 15:24:20 -04:00
sampler.html updating example links (#1246) 2024-05-15 15:24:20 -04:00
shiny.html correcting example 2020-07-19 13:11:58 -07:00
signal.html updating example links (#1246) 2024-05-15 15:24:20 -04:00
simpleHtml.html making link https 2021-07-12 08:31:17 -04:00
simpleSynth.html updating example links (#1246) 2024-05-15 15:24:20 -04:00
spatialPanner.html removing Tone.js deps 2020-07-19 11:40:20 -07:00
stepSequencer.html typo (#1270) 2024-09-09 11:05:15 -04: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)