Browse Source

Unnecessary to filter MIDI channel (line 262)

... MIDI Channel is already filtered in midi.cpp line 162 (...just realized this while working on my modules...)
pull/1073/head
dllmusic GitHub 6 years ago
parent
commit
bc5836dfc6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/Core/QuadMIDIToCVInterface.cpp

+ 2
- 2
src/Core/QuadMIDIToCVInterface.cpp View File

@@ -258,8 +258,8 @@ struct QuadMIDIToCVInterface : Module {


void processMessage(MidiMessage msg) { void processMessage(MidiMessage msg) {
// filter MIDI channel // filter MIDI channel
if ((midiInput.channel > -1) && (midiInput.channel != msg.channel()))
return;
// if ((midiInput.channel > -1) && (midiInput.channel != msg.channel()))
// return;


switch (msg.status()) { switch (msg.status()) {
// note off // note off


Loading…
Cancel
Save