From 850181d5f2a3e536890518583fc083a7a33b4d8f Mon Sep 17 00:00:00 2001 From: felixh Date: Thu, 13 Jun 2024 17:06:10 +0930 Subject: [PATCH] fix neg 5 input --- src/additive.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/additive.cpp b/src/additive.cpp index 08056ce..29ee889 100644 --- a/src/additive.cpp +++ b/src/additive.cpp @@ -79,7 +79,7 @@ struct Additive : Module { } value = inputs[NEG5_INPUT].getVoltage(); if (negfivest and value > 0.f) { - pitch = pitch - 1.f/12; + pitch = pitch - 5.f/12; notecount -= 5; negfivest = false; }