1.1.0 • Published 7 years ago
audio-worker-compiler v1.1.0
AudioWorkerCompiler
Installation
$ npm install audio-worker-compiler
Command Line
You may also use this from the command line:
audio-worker-compiler bitcrusher.js > bitcrusher-compiled.js
API
AudioWorkerCompiler
compile(code: string): string
Example
onaudioprocess = function(e) {
e.outputs[0][0].set(e.inputs[0][0]);
};
compiled
self.onaudioprocess = function(e) {
e.outputs[0][0].set(e.inputs[0][0]);
};
License
MIT