0.0.15 • Published 1 year ago

@shren/faust2wam v0.0.15

Weekly downloads
-
License
LGPL-3.0
Repository
github
Last release
1 year ago

Faust2Wam

Statically/Dynamically generate WebAudioModule from a Faust DSP code.

Usage

Please use a stable version of Node.js 16+ to work with this project.

Use the command line interface

Clone and get into this project:

git clone https://github.com/fr0stbyter/faust2wam
cd faust2wam

Generate static WAM files from a Faust DSP

For example:

rm -rf test/out # make sure you are under the faust2wam directory.
node faust2wam.js test/rev.dsp test/out

or

rm -rf test/out # make sure you are under the faust2wam directory.
node faust2wam.js test/poly.dsp test/out -poly

or

rm -rf test/out # make sure you are under the faust2wam directory.
node faust2wam.js test/fft-denoise.dsp test/out -fft

Dynamically generate WAMs from a Faust DSP code in a browser

// Load the WAM
const { default: generate } = await import("./dist/index.js");
// Load the DSP file
const dspResp = await fetch("./test/rev.dsp");
// Generate the WAM
const WAM = await generate(await dspResp.text(), "Reverb");
0.0.12

1 year ago

0.0.13

1 year ago

0.0.15

1 year ago

0.0.10

1 year ago

0.0.11

1 year ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.6

2 years ago

0.0.3

2 years ago