From 31eb1973b852619eda2d9f9eb38f74cb2743e519 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Mon, 10 Jun 2024 19:42:37 -0400 Subject: [PATCH] VCF: Fix gain example in comments. --- src/VCF.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/VCF.cpp b/src/VCF.cpp index accbc7c..022a77d 100644 --- a/src/VCF.cpp +++ b/src/VCF.cpp @@ -108,9 +108,9 @@ struct VCF : Module { configParam(RES_CV_PARAM, -1.f, 1.f, 0.f, "Resonance CV", "%", 0.f, 100.f); configParam(FREQ_CV_PARAM, -1.f, 1.f, 0.f, "Cutoff frequency CV", "%", 0.f, 100.f); // gain(drive) = (1 + drive)^5 - // gain(0) = 1 // gain(-1) = 0 - // gain(1) = 5 + // gain(0) = 1 + // gain(1) = 32 configParam(DRIVE_PARAM, -1.f, 1.f, 0.f, "Drive", "%", 0, 100, 100); configParam(DRIVE_CV_PARAM, -1.f, 1.f, 0.f, "Drive CV", "%", 0, 100);