faust-dsp
Installation
SKILL.md
Faust DSP Development
Faust is a functional programming language designed for real-time audio signal processing. A Faust program describes a block diagram of signal processors using five composition operators, and the compiler generates highly optimized C++ (or C, Rust, WebAssembly, etc.) that runs at sample level.
Core Workflow
- Analyze the requirement — identify inputs, outputs, parameters (with ranges), and the signal flow
- Sketch the block diagram — think in terms of the five composition operators
- Write the
.dspfile — import libraries, declare metadata, defineprocess - Add UI elements — sliders, buttons, groups for parameters
- Compile and test — use
faustCLI, Faust Online IDE, orfaust2xxscripts
Language Essentials
Every Faust program must define process — the main signal processor (like main in C). Programs are lists of statements: metadata, imports, definitions, and comments.