The online Faust Editor can be used to edit, compile and run Faust code from any recent Web Browser with WebAssembly support. It works completely on the client side and it is therefore very convenient for situations with many simultaneous users (workshops, classrooms, etc.). It embeds the latest version of the Faust compiler with an efficient webassembly backend and offers polyphonic MIDI support.
The editor engine is based on CodeMirror. It provides syntax highlighting, auto completion and direct access to the online documentation. The documentation command (ctrl-d) uses the function name at the cursor position to locate to the relevant information.
The recommended browsers are the latest versions of Firefox and Chrome.
- https://fausteditor.grame.fr: the official link on the Faust Editor website.
- https://github.com/grame-cncm/fausteditor: the github repository
We use Vite for development mode and builds. Dependencies include CodeMirror for providing an editor, FaustWasm for compiling Faust client-side, and FaustUI for rendering widgets.
Clone and enter the repository, then run:
npm install
npm run dev
Then press o to open in a browser.
npm run build
Generates output in dist/
. To view locally, run
cd dist
python -m http.server