Tone.js
by Tonejs
Tone.js is a JavaScript framework for making music and sound in a web browser. It provides ready-made synthesisers, effects and a timing system so developers can build interactive audio features into websites and apps.
- Stars
- 14.9k +8 a day
- Licence
- MIT
- Runs on
- A browser
- Setup
- Moderate
- Language
- TypeScript
- Age
- 4620 days
What you can do with it
- Build browser-based synthesisers, drum machines or music toys using the included instruments and effects
- Schedule looping notes and patterns in time with a tempo using the built-in transport
- Load and play audio samples in a web page, for example for games, learning tools or interactive sites
Make money with it
A freelance web developer could offer interactive audio features, such as sound-enabled landing pages or music learning widgets, as a paid service.
An idea, not financial advice. Check the licence before charging for anything built on it.
Ways a business could use it
- Add interactive sound or music features to a client's website or web app without paying for a proprietary audio engine
- Build simple browser-based music tools or teaching aids for a small education or creative business
Can you use it commercially?
Free to use, change and sell, including in paid products. Keep the copyright notice.
Not legal advice. Read the project's licence file before building a product on it.
Getting it running
Install it into a JavaScript project with "npm install tone", or add it to an HTML page with a script tag from unpkg.
Follow the official instructions in the project README.
Things to check
- Requires JavaScript programming knowledge; it is a library, not a finished app
- Browsers only play audio after a user action such as a click
Checked 03 Nov 2026. Summary drafted by AI from the project's README.