elementary icon indicating copy to clipboard operation
elementary copied to clipboard

A JavaScript runtime for writing native audio applications, as well as a library and framework for composing audio signal processes.

Elementary Audio Logo

Website | Documentation | Discord Chat

Elementary is a JavaScript framework for writing functional, declarative audio applications with a high performance, native audio engine. Elementary aims to lower the barrier to entry into the audio application space, eliminate the gap between prototyping and production, and bring the functional reactive programming model to DSP.

Watch the intro video for the full story.

Installation

To run these examples you'll need to install both the npm dependencies, as shown below, and the Elementary command line binary. Follow the installation instructions here on the docs.

Examples

Here in the examples/ directory you'll find a small set of example projects aiming to provide a brief introduction to various functionality. Each example can be invoked on its own:

$ cd examples/
$ npm install
$ elementary 00_HelloSine/

And of course you can open these example files, poke around, and edit as you like!

Licensing

The example code listed in this repository is available under the terms of the ISC License.

The license for the Elementary framework itself can be found at https://www.elementary.audio/license.