WEB AUDIO SYNTH MODULEZZZ https://www.npmjs.com/package/drone-e-o-synth
An experiment in using NPM for building modular noise instruments.
Each instrument is an object filled with already-connected and setup audioNodes. The instrument responds to:
From there, writing a module that auto-magically builds UI for each of the nodes shouldn't be too hard.
npm install drone-e-o-synth
var makeSynth = require('drone-e-o-synth')var context = new (window.AudioContext || window.webkitAudioContext)()var synth = makeSynth(context)// synth is an object filled with audio nodes that are already connected together!synth.connect(context.destination)// connect yr synth to the audio context destination, or to other nodessynth.keys() => ['source', 'filter', lowFilter', 'distortion', 'volume']// returns a list of keys to audio nodes, so you can do stuff like synth.source.type = "triangle"var data = synth.export() => exports the current state of the audio nodes to a json objectsynth.import(data) => resets state of audio nodes from JSON object
# install dependenciesnpm install# start watchifynpm run watch# start local serverpython -m SimpleHTTPServer