diff --git a/docs/examples/misc/exfaust10/exfaust10.dsp b/docs/examples/misc/exfaust10/exfaust10.dsp new file mode 100644 index 000000000..4397afb21 --- /dev/null +++ b/docs/examples/misc/exfaust10/exfaust10.dsp @@ -0,0 +1,33 @@ + +declare name "tester2"; +declare version "1.0"; +declare author "Grame"; +declare license "BSD"; +declare copyright "(c)GRAME 2014"; + +//----------------------------------------------- +// Stereo Audio Tester : send a test signal (sine, +// noise, pink) on a stereo channel +//----------------------------------------------- + +import("stdfaust.lib"); + +pink = f : (+ ~ g) with { + f(x) = 0.04957526213389*x - 0.06305581334498*x' + 0.01483220320740*x''; + g(x) = 1.80116083982126*x - 0.80257737639225*x'; +}; + +// User interface +//---------------- +transition(n) = \(old,new).(ba.if(old + + + + + + + + + +testsignal + + + + + + + +vol + + + + +* + + + + + + + + + + +dest + + + + +1 + + + +& + + + + + + + +0 + + + + + + +SAFE + + +!= + + + + + + + + + + +transition(4410) + + + + + + +* + + + + + + + + + + +dest + + + + +2 + + + +& + + + + + + + +0 + + + + + + +SAFE + + +!= + + + + + + + + + + +transition(4410) + + + + + + +* + + + + + + + + + + +vgroup(Stereo Audio Tester) + + + + + +process + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +