commit d40ea2b033e414294f947711edf5e132c1b7dcec
parent ff8706e3ddcc57323fa3263e795e8601d3806da8
Author: Matt Demanett <matt@demanett.net>
Date: Wed, 19 Aug 2020 08:08:07 -0400
RANALYZER: quick fixes for test signal output amplitude, and module docs.
Diffstat:
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/README-prerelease.md b/README-prerelease.md
@@ -872,7 +872,9 @@ RANALYZER is a frequency response analyzer: it passes a test signal to another m
By default, will produce a one-shot test signal, emitted at SEND, upon receipt of a trigger (manual or CV) at the TRIG inputs. The duration of the test signal is always 16384 samples; thus the duration in time will depend on Rack's current sample rate. The same number of samples is collected from RETURN, if it is patched. Both signals are converted to the frequency domain, and a third "analysis" signal is generated by dividing the spectrum of the response signal by the spectrum of the test signal.
-By default, the module displays all three spectral signals; a context menu option sets it to display only the analysis signal.
+By default, the module displays all three spectral signals (test in green, response in magenta, analysis in orange); a context menu option sets it to display only the analysis signal.
+
+Note that the amplitude of the analysis signal plot is basically arbitrary, without any real relation to the amplitudes of the test and response signals.
The test signal is a swept sine wave (or "chirp", see <a href="#chirp">CHIRP</a>), with an exponential (if the EXP toggle is on) or linear sweep. The start and end frequencies for sine sweep are set by the FREQ1 and FREQ2 knobs, each with a range in hertz from 1 to the Nyquist rate (half the sampling rate); if FREQ1 is less than FREQ2 the sweep is upwards in frequency, downwards otherwise.
diff --git a/src/Ranalyzer.cpp b/src/Ranalyzer.cpp
@@ -87,7 +87,7 @@ void Ranalyzer::processAll(const ProcessArgs& args) {
out = inputs[TEST_INPUT].getVoltage();
}
else {
- out = _chirp.next() * 10.0f;
+ out = _chirp.next() * 5.0f;
}
_inputBuffer.push(out);
if (_bufferCount > 0) {