Browse Source

Use the correct byte for channel pressure MIDI messages in MIDI-CV.

tags/v1.0.0
Andrew Belt 5 years ago
parent
commit
2ae4a93c1d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/Core/MIDI_CV.cpp

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

@@ -180,12 +180,12 @@ struct MIDI_CV : Module {
case 0xd: { case 0xd: {
if (polyMode == MPE_MODE) { if (polyMode == MPE_MODE) {
// Set the channel aftertouch // Set the channel aftertouch
aftertouches[msg.getChannel()] = msg.getValue();
aftertouches[msg.getChannel()] = msg.getNote();
} }
else { else {
// Set all aftertouches // Set all aftertouches
for (int c = 0; c < 16; c++) { for (int c = 0; c < 16; c++) {
aftertouches[c] = msg.getValue();
aftertouches[c] = msg.getNote();
} }
} }
} break; } break;


Loading…
Cancel
Save