From 417b00d3c4b01eba632d6d07a9d579eb5dfdd022 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Wed, 30 May 2018 22:54:52 -0400 Subject: [PATCH] Fix typo in velocity mode for MIDI-Trig --- src/Core/MIDITriggerToCVInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/MIDITriggerToCVInterface.cpp b/src/Core/MIDITriggerToCVInterface.cpp index 5d708127..9cbf510d 100644 --- a/src/Core/MIDITriggerToCVInterface.cpp +++ b/src/Core/MIDITriggerToCVInterface.cpp @@ -73,7 +73,7 @@ struct MIDITriggerToCVInterface : Module { for (int i = 0; i < 16; i++) { if (gateTimes[i] > 0.f) { - outputs[TRIG_OUTPUT + i].value = velocities ? rescale(velocities[i], 0, 127, 0.f, 10.f) : 10.f; + outputs[TRIG_OUTPUT + i].value = velocity ? rescale(velocities[i], 0, 127, 0.f, 10.f) : 10.f; // If the gate is off, wait 1 ms before turning the pulse off. // This avoids drum controllers sending a pulse with 0 ms duration. if (!gates[i]) {