commit 9e849540421125ed7f9f9bb25e59e445608757dd
parent ab33edb8398ce0b286ed709cf8dd820729378ee2
Author: Matt Demanett <matt@demanett.net>
Date: Mon, 12 Apr 2021 00:35:56 -0400
CVD: add units to time knob param, and add documentation on using CVD for latency correction.
Diffstat:
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/README-prerelease.md b/README-prerelease.md
@@ -1239,9 +1239,11 @@ _Polyphony:_ <a href="#polyphony">Polyphonic</a>, with polyphony defined by the
#### <a name="cvd"></a> CVD
-A simple delay designed for use with CV (though it works fine with audio). Use it to delay triggers or gates, create a flip-flop that resets itself after a time, make a sequence run for a while then stop, to double up an envelope, or what have you.
+A simple delay designed for use with CV (though it works fine with audio). Use it to delay triggers or gates, create a flip-flop that resets itself after a time, make a sequence run for a while then stop, double up an envelope, or what have you.
-The large TIME knob sets the delay time, as scaled by the small knob (up to 0.1, 1 or 10 seconds); TIME takes a 0-10V CV, attenuated by the knob. Reducing time truncates the internal delay buffer. The DRY/WET knob sets the mix of the original and delayed signals at the output, with a +/-5V CV input.
+The large TIME knob sets the delay time, in seconds, as scaled by the small knob (up to 0.1, 1 or 10 seconds); TIME takes a 0-10V CV, attenuated by the knob. Reducing time truncates the internal delay buffer. The DRY/WET knob sets the mix of the original and delayed signals at the output, with a +/-5V CV input.
+
+CVD may be used for lag/latency correction; using parameter entry (by right-clicking the TIME knob) is handy here, to set a precise delay. You can get sample-accurate delays by dividing the desired number of delay samples by Rack's current sample rate, and setting TIME to that number (leave the time scale knob at 1).
_Polyphony:_ <a href="#polyphony">Polyphonic</a>, with polyphony defined by the IN input.
diff --git a/src/CVD.hpp b/src/CVD.hpp
@@ -41,7 +41,7 @@ struct CVD : BGModule {
CVD() {
config(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS);
- configParam(TIME_PARAM, 0.0f, 1.0f, 0.5f, "Time base");
+ configParam(TIME_PARAM, 0.0f, 1.0f, 0.5f, "Time base", " s");
configParam(TIME_SCALE_PARAM, 0.0f, 2.0f, 1.0f, "Time scale", "", 10.0f, 0.1f);
configParam(MIX_PARAM, -1.0f, 1.0f, 0.0f, "Dry wet mix", "%", 0.0f, 100.0f);
}