mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-13 23:37:14 +00:00
.. | ||
js | ||
amSynth.html | ||
analysis.html | ||
animationSync.html | ||
bembe.html | ||
buses.html | ||
daw.html | ||
envelope.html | ||
events.html | ||
favicon.png | ||
fmSynth.html | ||
funkyShape.html | ||
grainPlayer.html | ||
index.html | ||
jump.html | ||
lfoEffects.html | ||
meter.html | ||
mic.html | ||
mixer.html | ||
monoSynth.html | ||
noises.html | ||
offline.html | ||
oscillator.html | ||
pianoPhase.html | ||
pingPongDelay.html | ||
pitchShift.html | ||
player.html | ||
polySynth.html | ||
quantization.html | ||
rampTo.html | ||
README.md | ||
reverb.html | ||
sampler.html | ||
shiny.html | ||
signal.html | ||
simpleHtml.html | ||
simpleSynth.html | ||
spatialPanner.html | ||
stepSequencer.html |
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)