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 tools for working with:

  • scsynth (the synthesis server)
  • sclang (supercollider language interpreter)

  • Spawn headless SuperCollider language interpreters (sclang)
  • Execute SuperCollider code from node js and get results or errors returned as JSON
  • Spawn SuperCollider synthesis servers (scsynth)
  • Send and receive OSC messages to scsynth
  • Call API endpoints in SuperCollider from a browser using JavaScript and a websocket/OSC bridge
  • Communicate with sclang running in (SC IDE) using OSC
var scjs = require('supercolliderjs');
  .then(function(sclang) {
      .then(function(result) {
        // result is a native javascript array 
        console.log('' + result);
      }, function(error) {
        // syntax or runtime errors 
        // are returned as javascript objects 

Works on Node 0.10.x, 0.11.x, 0.12.x and iojs 2.3

Note that the testing framework (jest) does not work on anything except Node 0.10.x, so travis is currently not set to test any other versions.

  • Issue Tracker:
  • Source Code:

The project is licensed under the MIT license.