日本語のREADMEはこちらです: README.ja.md
Tone.js is a Web Audio framework for creating interactive music in the browser.
- Common DAW (digital audio workstation) features like a global transport for synchronizing and scheduling events
- Prebuilt synths and effects
- High-performance building blocks to create your own synthesizers, effects, and complex control signals
Tone.js can be installed locally into a project using npm:
npm install tone # Install the latest stable version
npm install tone@next # Or, alternatively, use the 'next' versionIt can also be added directly within an HTML document:
<script src="http://unpkg.com/tone"></script>
<script src="myScript.js"></script>// create a synth and connect it to the main output
const synth = new Tone.Synth().toDestination();
// play a middle 'C' for the duration of an 8th note
synth.triggerAttackRelease("C4", "8n");Tone.js is released under the MIT License.
