Tools for working with the SuperCollider music language environment
Node.js tools for working with the SuperCollider language and synthesis server.
SuperCollider is an environment and programming language for real time audio synthesis and algorithmic composition. It provides an interpreted object-oriented language which functions as a network client to a state of the art, realtime sound synthesis server.
This library provides functionality for working with:
Start SuperCollider language interpreters (sclang)
Start SuperCollider synthesis servers (scsynth)
Send and receive OSC messages to scsynth
Call async commands on scsynth and receive results
Comprehensive library for calling all commands the server understands
Server state and synth/group tracking
Dryadic: declarative DSL for managing component trees. Documentation coming in 0.11.0
var sc = require'supercolliderjs';scserverbootthen// raw send messageserversendmsg'/g_new' 1 0 0;// using sc.msg to format themserversendmsgscmsggroupNew1;// call async messages with callAndResponse// and receive replies with a PromiseservercallAndResponsescmsgstatusthenconsole.logreply;;;
Works on Node 4+
Source code is written in ES2015 and transpiled with babel.
The project is licensed under the MIT license.