From b507798c2201255afcba6bd8e94bbaac313b6aad Mon Sep 17 00:00:00 2001 From: Oleksiy Date: Tue, 15 Sep 2026 15:55:27 +0300 Subject: [PATCH] fixed mtof() -> Q16n16_mtof() in manual trigger --- Acid/Acid.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Acid/Acid.ino b/Acid/Acid.ino index a2a3d28..8e6c27e 100644 --- a/Acid/Acid.ino +++ b/Acid/Acid.ino @@ -276,7 +276,7 @@ void updateControl(){ //Set pitch and play notes on trigger if (MIDINoteFaded) { - noteFreq = mtof((float) kMapNote(CVInVal << 2) / pitchSubSteps); + noteFreq = Q16n16_mtof((float) kMapNote(CVInVal << 2) / pitchSubSteps); digitalWrite(LED, !gateInVal); if (gateInVal && !gateIsHigh) { gateIsHigh = true;