update: here’s how to produce a sine wave: https://reactivemusic.net/?p=6574
General consensus: scriptProcessing is not robust enough to process multiple signal chains.
Other links
- Creating sound waves with JavaScript: http://js.do/blog/sound-waves-with-javascript/
- Nick Thompson’s Blog: http://ncthompson.com
- riffwave.js – HTML5 sound synthesis via PCM encoding: http://codebase.es/riffwave/