From 7a5d71a32623f9c233ebd2a6c1a332a504c8fd11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Letz?= Date: Wed, 5 Feb 2025 22:18:13 +0100 Subject: [PATCH] Add looper example(2). --- docs/examples/misc/exfaust10/exfaust10.dsp | 33 +++ docs/examples/misc/exfaust10/exfaust10.svg | 258 +++++++++++++++++++++ 2 files changed, 291 insertions(+) create mode 100644 docs/examples/misc/exfaust10/exfaust10.dsp create mode 100644 docs/examples/misc/exfaust10/exfaust10.svg diff --git a/docs/examples/misc/exfaust10/exfaust10.dsp b/docs/examples/misc/exfaust10/exfaust10.dsp new file mode 100644 index 0000000000..4397afb215 --- /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 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +