audio-worker-compiler

1.1.0 • Public • Published

AudioWorkerCompiler

Build Status NPM Version License

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

Readme

Keywords

Package Sidebar

Install

npm i audio-worker-compiler

Weekly Downloads

2

Version

1.1.0

License

MIT

Last publish

Collaborators

  • mohayonao