DSP Circuit Compiler
DSP circuit compiler for WebAudio/
wani. is a program which can read an arithmetic expressions and prints a JavaScript code which creates a WebAudio DSP circuit which works as same as expressions do.
How to use?
Just copy and paste the generated code into your code ;)
Note
Currently, WebAudio API doesn't have AudioParam node constructor, so some of this compiler's function are depends on wani's audioParam emulator (sorry not yet documented. please see code.)
Is it really works?
You can see how the code in above box (at page was loaded) is working when use
SimpleTremoro at
wani's demo page. Also can see it's source code
here.
Is it faster than scriptNode?
I believe so, but not yet benchmarked :P Now looking for good way to calculate and compare the circuit's speed.