From 0f197cd3618d564909cda10b0b98e5d6b458c2d5 Mon Sep 17 00:00:00 2001 From: arsamus Date: Sun, 15 May 2022 21:02:11 -0300 Subject: [PATCH] Update minidexed.cpp --- src/minidexed.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/minidexed.cpp b/src/minidexed.cpp index 21e79f1..8a3376f 100644 --- a/src/minidexed.cpp +++ b/src/minidexed.cpp @@ -201,7 +201,9 @@ bool CMiniDexed::Initialize (void) m_nNoteLimitLow[nTG] = m_PerformanceConfig.GetNoteLimitLow (nTG); m_nNoteLimitHigh[nTG] = m_PerformanceConfig.GetNoteLimitHigh (nTG); m_nNoteShift[nTG] = m_PerformanceConfig.GetNoteShift (nTG); - + uint8_t* tVoiceData = m_PerformanceConfig.GetVoiceDataFromTxt(nTG); + m_pTG[nTG]->loadVoiceParameters(tVoiceData); + SetReverbSend (m_PerformanceConfig.GetReverbSend (nTG), nTG); } @@ -955,6 +957,8 @@ bool CMiniDexed::SavePerformance (void) m_PerformanceConfig.SetNoteShift (m_nNoteShift[nTG], nTG); m_PerformanceConfig.SetReverbSend (m_nReverbSend[nTG], nTG); + m_pTG[nTG]->getVoiceData(m_nRawVoiceData); + m_PerformanceConfig.SetVoiceDataToTxt (m_nRawVoiceData, nTG); } m_PerformanceConfig.SetCompressorEnable (!!m_nParameter[ParameterCompressorEnable]);