From ac1ecd359266623e4e7aba0b679e253ec942bfad Mon Sep 17 00:00:00 2001 From: arsamus Date: Thu, 5 May 2022 09:24:40 -0300 Subject: [PATCH] Update performanceconfig.h --- src/performanceconfig.h | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/performanceconfig.h b/src/performanceconfig.h index 2d18344..8b5887f 100644 --- a/src/performanceconfig.h +++ b/src/performanceconfig.h @@ -50,7 +50,12 @@ public: unsigned GetNoteLimitHigh (unsigned nTG) const; // 0 .. 127 int GetNoteShift (unsigned nTG) const; // -24 .. 24 unsigned GetReverbSend (unsigned nTG) const; // 0 .. 127 - + unsigned GetPitchBenderRange (unsigned nTG) const; // 0 .. 12 + unsigned GetPitchBenderStep (unsigned nTG) const; // 0 .. 12 + unsigned GetPortamentoMode (unsigned nTG) const; // 0 .. 1 + unsigned GetPortamentoGlissando (unsigned nTG) const; // 0 .. 1 + unsigned GetPortamentoTime (unsigned nTG) const; // 0 .. 99 + void SetBankNumber (unsigned nValue, unsigned nTG); void SetVoiceNumber (unsigned nValue, unsigned nTG); void SetMIDIChannel (unsigned nValue, unsigned nTG); @@ -63,6 +68,11 @@ public: void SetNoteLimitHigh (unsigned nValue, unsigned nTG); void SetNoteShift (int nValue, unsigned nTG); void SetReverbSend (unsigned nValue, unsigned nTG); + void SetPitchBenderRange (unsigned nValue, unsigned nTG); + void SetPitchBenderStep (unsigned nValue, unsigned nTG); + void SetPortamentoMode (unsigned nValue, unsigned nTG); + void SetPortamentoGlissando (unsigned nValue, unsigned nTG); + void SetPortamentoTime (unsigned nValue, unsigned nTG); // Effects bool GetCompressorEnable (void) const; @@ -98,6 +108,11 @@ private: unsigned m_nNoteLimitHigh[CConfig::ToneGenerators]; int m_nNoteShift[CConfig::ToneGenerators]; int m_nReverbSend[CConfig::ToneGenerators]; + unsigned m_nPitchBenderRange[CConfig::ToneGenerators]; + unsigned m_nPitchBenderStep[CConfig::ToneGenerators]; + unsigned m_nPortamentoMode[CConfig::ToneGenerators]; + unsigned m_nPortamentoGlissando[CConfig::ToneGenerators]; + unsigned m_nPortamentoTime[CConfig::ToneGenerators]; bool m_bCompressorEnable; bool m_bReverbEnable;