|
|
|
@ -46,6 +46,7 @@ LOGMODULE ("mididevice"); |
|
|
|
|
#define MIDI_CC_BANK_SELECT_LSB 32 |
|
|
|
|
#define MIDI_CC_BANK_SUSTAIN 64 |
|
|
|
|
#define MIDI_CC_PORTAMENTO 65 |
|
|
|
|
#define MIDI_CC_SOSTENUTO 66 |
|
|
|
|
#define MIDI_CC_RESONANCE 71 |
|
|
|
|
#define MIDI_CC_FREQUENCY_CUTOFF 74 |
|
|
|
|
#define MIDI_CC_REVERB_LEVEL 91 |
|
|
|
@ -416,6 +417,10 @@ void CMIDIDevice::MIDIMessageHandler (const u8 *pMessage, size_t nLength, unsign |
|
|
|
|
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; |
|
|
|
|