Tone.js – A framework for making interactive music in the browser

Tone.js – A framework for making interactive music in the browser

On the high-level, Tone offers common DAW (digital audio workstation) features like a global transport for scheduling events and prebuilt synths and effects. Execute the above example only after a users invokes on Tone’s context, or simply

Tone.Transport is the master timekeeper, allowing for application-wide synchronization and scheduling of sources, signals and events along a shared timeline. Then start the Transport to hear the loop:

Read about Tone.js’ Event classes and scheduling events with the Transport.

Source: github.com