audio-worker-compiler
v1.1.0
Published
compiler for audio-worker-shim
Downloads
1
Readme
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