From e55f23600d8daf463794fc7bcbb46ad451ab2205 Mon Sep 17 00:00:00 2001 From: probonopd Date: Wed, 23 Apr 2025 21:06:24 +0200 Subject: [PATCH] Do not comment out Sostenuto and Hold2 --- src/mididevice.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mididevice.cpp b/src/mididevice.cpp index 55d51bc..55743b1 100644 --- a/src/mididevice.cpp +++ b/src/mididevice.cpp @@ -523,19 +523,19 @@ void CMIDIDevice::MIDIMessageHandler (const u8 *pMessage, size_t nLength, unsign case MIDI_CC_BANK_SUSTAIN: m_pSynthesizer->setSustain (pMessage[2] >= 64, nTG); break; - /* + case MIDI_CC_SOSTENUTO: m_pSynthesizer->setSostenuto (pMessage[2] >= 64, nTG); break; - */ + case MIDI_CC_PORTAMENTO: m_pSynthesizer->setPortamentoMode (pMessage[2] >= 64, nTG); break; - /* + case MIDI_CC_HOLD2: m_pSynthesizer->setHoldMode (pMessage[2] >= 64, nTG); break; - */ + case MIDI_CC_RESONANCE: m_pSynthesizer->SetResonance (maplong (pMessage[2], 0, 127, 0, 99), nTG); break;