Browse Source

Fix typo in velocity mode for MIDI-Trig

tags/v0.6.1
Andrew Belt 6 years ago
parent
commit
417b00d3c4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Core/MIDITriggerToCVInterface.cpp

+ 1
- 1
src/Core/MIDITriggerToCVInterface.cpp View File

@@ -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]) {


Loading…
Cancel
Save