diff options
author | Vitaly Novichkov <admin@wohlnet.ru> | 2018-06-22 23:25:13 +0300 |
---|---|---|
committer | Vitaly Novichkov <admin@wohlnet.ru> | 2018-06-22 23:25:13 +0300 |
commit | 159bb5b202cd088db920ccc073d952122dea85ba (patch) | |
tree | 4c178ec2f6f33b94a3f699ab0a20cf582264fd79 /src/adlmidi_private.hpp | |
parent | 2f30eb0596d3fc9788ffe99b72a09ceca596b792 (diff) | |
download | libADLMIDI-159bb5b202cd088db920ccc073d952122dea85ba.tar.gz libADLMIDI-159bb5b202cd088db920ccc073d952122dea85ba.tar.bz2 libADLMIDI-159bb5b202cd088db920ccc073d952122dea85ba.zip |
Added support for synthesizer mode
- in GS mode, RPN XG-related vibrato depth events will be ignored (GS does using NRPN values are stored separately and are NOT handled)
- in GS mode ignore LSB value of the bank number
Diffstat (limited to 'src/adlmidi_private.hpp')
-rw-r--r-- | src/adlmidi_private.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/adlmidi_private.hpp b/src/adlmidi_private.hpp index 71f0068..ec194c6 100644 --- a/src/adlmidi_private.hpp +++ b/src/adlmidi_private.hpp @@ -726,6 +726,15 @@ public: uint8_t m_masterVolume; uint8_t m_sysExDeviceId; + enum SynthMode + { + Mode_GM = 0x00, + Mode_GS = 0x01, + Mode_XG = 0x02, + Mode_GM2 = 0x04, + }; + uint32_t m_synthMode; + MIDIEventHooks hooks; private: |