Testing the embedded dynamic Faust compiler

This page embeds the Faust compiler as a JavaScript library named libfaust.js (associated with the auxiliary WebAssembly library), and compiled with its WebAssembly generating backend.

You can compile Faust .dsp files by just dropping them on the drop zone. A WebAudio node will be created and connected to audio inputs/outputs and controlled with the displayed HTML/SVG based GUI.

Settings (buffer size, polyphonic mode and voices, ftz mode) can be changed dynamically and the DSP will be recompiled on the fly.

Buffer size

You can change the buffer size (from 256 to 8192 frames).

Polyphonic instrument

Assuming your DSP code is polyphonic ready, you can activate the polyphonic mode, adjust the number of available voices, and test it with a MIDI device or application (usable with Chrome which implements the Web MIDI API).

Be sure to launch the HTML page after your MIDI application(s)/devices(s) to be sure MIDI ports are properly detected.

Float denormals handling

0: means no denormal handling

1: uses fabs and a threshold to detect denormal values (slower)

2: uses a bitmask to detect denormal values (faster)

Save page and DSP control parameters state

Loading JavaScript/WebAssembly ressources...