Libraries
Tone.js
tone@15.0.4
Web Audio synthesis & scheduling.
- Version
- 15.0.4
- License
- MIT
- Size
- 81 KB
Add it
Declare it in prototir.json at the root of your ZIP. Prototir checks the
version at upload and adds it to the page's import map.
prototir.json
{
"modules": [
"tone@15.0.4"
]
}Then import it by name, from 'tone', as you would from npm.
Reference
Prototir serves the library unchanged, so its own documentation applies.
Tone.js documentationVersions
Every version stays available, so a prototype keeps working exactly as published. Declare the one you tested with.
tone@15.0.4
As JSON: /modules/tone.json. Source: npm:tone (esbuild-bundled — package ships UMD only under 'unpkg'; its 'module' entry is real ESM but has un-inlined tslib/standardized-audio-context deps, so it still needs bundling; see tools/bundle-vendor.mjs).