Install
sudo apt-get install -y faust
Emacs
https://melpa.org/#/faust-mode
MELPA:
M-x package-install faust-mode
Debian/Ubuntu prerequisites
apt-get install libasound2-dev
Hello Faust
Create osc440.dsp:
--------------------------------------------------------------------------------
import("stdfaust.lib");
process = os.osc(440); // the "hello world" of computer music
--------------------------------------------------------------------------------
Compile and wrap the generated code into an architecture file:
faust -a alsa-gtk.cpp osc440.dsp -o osc440.cpp
g++ -lpthread -lasound `pkg-config --cflags --libs gtk+-2.0` osc440.cpp -o osc440