node-macaudio
The interface is an AudioUnit(Mac) which can generate audio directly using JavaScript.
Requirements
- Mac OS X (AudioUnit)
- node.js v0.6.x
Install
node-macaudio
is available through npm:
$ npm install macaudio
Usage
var macaudio = ; var bufferSize = 1024; // 512, 1024, 2048 or 4096var node = bufferSize; console;console;console; var phase = 0;var phaseStep = 880 / nodesampleRate; node { var L = e; var R = e; for var i = 0; i < ebufferSize; i++ Li = Ri = Math; phase += phaseStep; }; nodestart;;