Hi all,

The Faust Web Audio library provides a high level Javascript API over the Faust 
compiler. The interface is designed to be used with TypeScript, but describes 
and documents the API for pure Javascript as well. It is now available here: 
https://www.npmjs.com/package/@grame/libfaust

Note that this is a complete rewrite of the Javascript and TypeScript code we 
have developed over the years, starting in 2014 with the initial Faust to 
asm.js backend (https://en.wikipedia.org/wiki/Asm.js) Since then, everything 
has been gradually moved to the WebAssembly model (https://webassembly.org).

The new code makes it possible to generate instances from Faust dsp code using 
the libfaust compiler running in WebAssembly, as well as from pre-compiled 
WebAssembly modules. It will finally be used in the faust2wasm and 
faust2webaudiowasm scripts that create Javascript/wasm code or complete static 
HTML pages, but this has not been done yet. We will also have to use this new 
package in our Web tools: Faust Editor (https://fausteditor.grame.fr), 
FaustPlayground (https://faustplayground.grame.fr) and Faust Web IDE 
(https://faustide.grame.fr). The package will also be the new base for the Web 
Audio Plugin (= WAP: https://github.com/micbuffa/WebAudioPlugins) project that 
we are pursing with Michel Buffa. 

We consider the code and API as beta. Fell free to test and report possible 
issues or improvement suggestions.

Stéphane and Dominique 

_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to