/usr/share/doc/faust/examples/filtering/BPF.dsp is in faust 0.9.95~repack1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | // WARNING: This a "legacy example based on a deprecated library". Check filter.lib
// for more accurate examples of filter functions
declare name "BPF";
import("maxmsp.lib");
G = hslider("Gain [unit:dB]", 0, -10, 10, 0.1);
F = hslider("Freq", 1000, 100, 10000, 1);
Q = hslider("Q", 1, 0.01, 100, 0.01);
process(x) = BPF(x,F,G,Q);
|