From 0be8c873300d620d19dd68837a3e69d3aec542ae Mon Sep 17 00:00:00 2001 From: Stephane Letz Date: Thu, 19 Nov 2020 09:20:27 +0100 Subject: [PATCH] Correct organ.dsp example and documentation. --- Faust.md | 2 ++ examples/organ.dsp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Faust.md b/Faust.md index 2388335..e874cae 100644 --- a/Faust.md +++ b/Faust.md @@ -29,6 +29,8 @@ Other metadata: The [rack.lib](https://github.com/VCVRack/VCV-Prototype/blob/faust/res/faust/rack.lib) Faust library contains usefull functions to convert CV signals, and can be enriched if needed. +Note that **only monophonic DSP programs** can be described. + ## DSP examples Here is a simple example showing how oscillators can be controlled by GUI items, associated with metadata in the DSP code: diff --git a/examples/organ.dsp b/examples/organ.dsp index acb2a88..8ab9c71 100644 --- a/examples/organ.dsp +++ b/examples/organ.dsp @@ -1,7 +1,7 @@ import("stdfaust.lib"); import("rack.lib"); -vol = hslider("vol [knob:1]", 0.3, 0, 10, 0.01); +vol = hslider("vol [knob:1]", 0.3, -70, 5, 0.01) : ba.db2linear; pan = hslider("pan [knob:2]", 0.5, 0, 1, 0.01); attack = hslider("attack", 0.01, 0, 1, 0.001);