Faust audio DSP language in the Web

Abstract : With the advent of both HTML5 and the Web Audio API (a high-level JavaScript API for audio process- ing and synthesis) interesting audio applications can now be developed for the Web. The Web Audio API offers a set of fast predefined audio nodes as well as customizable ScriptProcessor node, allowing developers to add their own javascript audio processing code. Several projects are developing abstractions on top of the Web Audio API to extend its capabilities, and offer more complex unit generators, DSP effects libraries, or adapted syntax. This paper brings an- other approach based on the use of the Faust audio DSP language to develop additional nodes to be used as basic audio DSP blocks in the Web Audio graph. Different methods have been explored: going from an experimental version that embeds the complete Faust native compilation chain (based on libfaust + LLVM) in the browser, to more portable solutions using JavaScript or the much more efficient asm.js version. Embedding the Faust compiler it- self as a pure JavaScript library (produced using Emscripten) will also be described.The advantages and issues of each approach will be discussed and some benchmarks will be given.
Document type :
Conference papers
Complete list of metadatas

Cited literature [13 references]  Display  Hide  Download

https://hal.archives-ouvertes.fr/hal-02159002
Contributor : Dominique Fober <>
Submitted on : Tuesday, June 18, 2019 - 2:29:24 PM
Last modification on : Wednesday, June 19, 2019 - 11:24:28 AM

File

Faust-web-lac.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : hal-02159002, version 1

Citation

Stéphane Letz, Sarah Denoux, Yann Orlarey, Dominique Fober. Faust audio DSP language in the Web. Linux Audio Conference, 2015, Mainz, Germany. pp.29-36. ⟨hal-02159002⟩

Share

Metrics

Record views

10

Files downloads

51