diff --git a/src/minidexed.h b/src/minidexed.h index 1292e53..62bbbf5 100644 --- a/src/minidexed.h +++ b/src/minidexed.h @@ -71,6 +71,11 @@ public: void SetCutoff (int nCutoff, unsigned nTG); // 0 .. 99 void SetResonance (int nResonance, unsigned nTG); // 0 .. 99 void SetMIDIChannel (uint8_t uchChannel, unsigned nTG); + void SetPitchBenderRange (uint8_t nValue, unsigned nTG); + void SetPitchBenderStep (uint8_t nValue, unsigned nTG); + void SetPortamentoMode (uint8_t nValue, unsigned nTG); + void SetPortamentoGlissando (uint8_t nValue, unsigned nTG); + void SetPortamentoTime (uint8_t nValuel, unsigned nTG); void keyup (int16_t pitch, unsigned nTG); void keydown (int16_t pitch, uint8_t velocity, unsigned nTG); @@ -111,6 +116,11 @@ public: TGParameterResonance, TGParameterMIDIChannel, TGParameterReverbSend, + TGParameterPitchBenderRange, + TGParameterPitchBenderStep, + TGParameterPortamentoMode, + TGParameterPortamentoGlissando, + TGParameterPortamentoTime, TGParameterUnknown }; @@ -158,6 +168,11 @@ private: int m_nCutoff[CConfig::ToneGenerators]; int m_nResonance[CConfig::ToneGenerators]; unsigned m_nMIDIChannel[CConfig::ToneGenerators]; + unsigned m_nPitchBenderRange[CConfig::ToneGenerators]; + unsigned m_nPitchBenderStepRange[CConfig::ToneGenerators]; + unsigned m_nPortamentoMode[CConfig::ToneGenerators]; + unsigned m_nPortamentoGlissando[CConfig::ToneGenerators]; + unsigned m_nPortamentoTime[CConfig::ToneGenerators]; unsigned m_nNoteLimitLow[CConfig::ToneGenerators]; unsigned m_nNoteLimitHigh[CConfig::ToneGenerators];