nymph/examples/lpf.dsp
Christopher Arndt 521fefc531 feat: add faustlpf example
Shows how to use DSP code in C generated from FAUST code

Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2024-09-29 13:47:26 +02:00

13 lines
378 B
Plaintext

declare name "FaustLPF";
declare author "Christopher Arndt";
declare copyright "Christopher Arndt, 2024";
declare license "MIT";
declare version "0.1.0";
import("stdfaust.lib");
cutoff = hslider("[1] Cutoff [symbol:cutoff] [unit:Hz] [scale:log] [style:knob] [tooltip:Low-pass filter cutoff frequency]",
15000, 16, 15000, 0.1) : si.smoo;
process = fi.lowpass(2, cutoff);