From 1f61adc404058c9b402f764f16246516ffeb1d42 Mon Sep 17 00:00:00 2001 From: arsamus Date: Mon, 16 May 2022 00:56:38 -0300 Subject: [PATCH] Update performanceconfig.h --- src/performanceconfig.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/performanceconfig.h b/src/performanceconfig.h index bf7617a..44057d4 100644 --- a/src/performanceconfig.h +++ b/src/performanceconfig.h @@ -26,6 +26,7 @@ #include "config.h" #include #include +#define NUM_VOICE_PARAM 156 class CPerformanceConfig // Performance configuration { @@ -73,7 +74,9 @@ public: void SetPortamentoMode (unsigned nValue, unsigned nTG); void SetPortamentoGlissando (unsigned nValue, unsigned nTG); void SetPortamentoTime (unsigned nValue, unsigned nTG); - + void SetVoiceDataToTxt (const uint8_t *pData, unsigned nTG); + uint8_t *GetVoiceDataFromTxt (unsigned nTG); + // Effects bool GetCompressorEnable (void) const; bool GetReverbEnable (void) const; @@ -113,7 +116,8 @@ private: unsigned m_nPortamentoMode[CConfig::ToneGenerators]; unsigned m_nPortamentoGlissando[CConfig::ToneGenerators]; unsigned m_nPortamentoTime[CConfig::ToneGenerators]; - + std::string m_nVoiceDataTxt[CConfig::ToneGenerators]; + bool m_bCompressorEnable; bool m_bReverbEnable; unsigned m_nReverbSize;