Skip to content

grame-cncm/faustplayground

Repository files navigation

Faust Playground

Faust playground is a Web platform designed to enable children to learn basic audio programming in a simple and graphic way. In particular, it allows them to develop musical instruments for Android smartphones.

Useful links

Development

Notes

This project uses Vite for development mode and builds and FaustWasm for compiling Faust in the browser.

Setup

Clone and enter the repository, then run:

npm install

Run in development mode (automatic reloading)

npm run dev

Then press o to open in a browser.

Build

npm run build

Generates output in dist/. To view locally, run

cd dist
python -m http.server

To create examples (in public/json/)

  • create a patch in the platform
  • possibly rename it using the the "Edit" button
  • save it (regular or precompiled version) using the "Save" button
  • rename it with a .json file extension

To add new Faust modules

In public/faust-modules/, add your .dsp files to effects/ or generators/. Then update index.json to include the paths to your new modules.