From 8f4a5d268197511e834c62f9875254c426573b78 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Sat, 22 Jan 2022 09:03:11 -0500 Subject: [PATCH] Fix MIDI to CV incorrectly setting pitch wheel and mod wheel outputs in MPE mode. --- src/core/MIDI_CV.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/MIDI_CV.cpp b/src/core/MIDI_CV.cpp index a1cd1d0c..256ad9f0 100644 --- a/src/core/MIDI_CV.cpp +++ b/src/core/MIDI_CV.cpp @@ -146,7 +146,7 @@ struct MIDI_CV : Module { else pwFilters[c].out = pw; pwValues[c] = pw; - outputs[PW_OUTPUT].setVoltage(pw * 5.f); + outputs[PW_OUTPUT].setVoltage(pw * 5.f, c); float mod = mods[c] / 127.f; mod = clamp(mod, 0.f, 1.f); @@ -154,7 +154,7 @@ struct MIDI_CV : Module { mod = modFilters[c].process(args.sampleTime, mod); else modFilters[c].out = mod; - outputs[MOD_OUTPUT].setVoltage(mod * 10.f); + outputs[MOD_OUTPUT].setVoltage(mod * 10.f, c); } // Set note outputs