|
|
@ -37,9 +37,6 @@ CMiniDexed::CMiniDexed (CConfig *pConfig, CInterruptSystem *pInterrupt, |
|
|
|
CMultiCoreSupport (CMemorySystem::Get ()), |
|
|
|
CMultiCoreSupport (CMemorySystem::Get ()), |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
m_pConfig (pConfig), |
|
|
|
m_pConfig (pConfig), |
|
|
|
m_bSavePerformanceNewFile (false), |
|
|
|
|
|
|
|
m_bSetNewPerformance (false), |
|
|
|
|
|
|
|
m_bDeletePerformance (false), |
|
|
|
|
|
|
|
m_UI (this, pGPIOManager, pI2CMaster, pConfig), |
|
|
|
m_UI (this, pGPIOManager, pI2CMaster, pConfig), |
|
|
|
m_PerformanceConfig (pFileSystem), |
|
|
|
m_PerformanceConfig (pFileSystem), |
|
|
|
m_PCKeyboard (this, pConfig, &m_UI), |
|
|
|
m_PCKeyboard (this, pConfig, &m_UI), |
|
|
@ -54,6 +51,9 @@ CMiniDexed::CMiniDexed (CConfig *pConfig, CInterruptSystem *pInterrupt, |
|
|
|
1000000U * pConfig->GetChunkSize ()/2 / pConfig->GetSampleRate ()), |
|
|
|
1000000U * pConfig->GetChunkSize ()/2 / pConfig->GetSampleRate ()), |
|
|
|
m_bProfileEnabled (m_pConfig->GetProfileEnabled ()), |
|
|
|
m_bProfileEnabled (m_pConfig->GetProfileEnabled ()), |
|
|
|
m_bSavePerformance (false), |
|
|
|
m_bSavePerformance (false), |
|
|
|
|
|
|
|
m_bSavePerformanceNewFile (false), |
|
|
|
|
|
|
|
m_bSetNewPerformance (false), |
|
|
|
|
|
|
|
m_bDeletePerformance (false), |
|
|
|
m_bLoadPerformanceBusy(false), |
|
|
|
m_bLoadPerformanceBusy(false), |
|
|
|
m_bSaveAsDefault(false) |
|
|
|
m_bSaveAsDefault(false) |
|
|
|
{ |
|
|
|
{ |
|
|
@ -159,11 +159,13 @@ CMiniDexed::CMiniDexed (CConfig *pConfig, CInterruptSystem *pInterrupt, |
|
|
|
|
|
|
|
|
|
|
|
SetParameter (ParameterCompressorEnable, 1); |
|
|
|
SetParameter (ParameterCompressorEnable, 1); |
|
|
|
|
|
|
|
|
|
|
|
// BEGIN Unison
|
|
|
|
#ifdef ARM_ALLOW_MULTI_CORE |
|
|
|
|
|
|
|
/* Unison START */ |
|
|
|
SetParameter (ParameterUnisonEnable, 0); |
|
|
|
SetParameter (ParameterUnisonEnable, 0); |
|
|
|
SetParameter (ParameterUnisonPanSpread, 60); |
|
|
|
SetParameter (ParameterUnisonPanSpread, 60); |
|
|
|
SetParameter (ParameterUnisonDetuneSpread, 12); |
|
|
|
SetParameter (ParameterUnisonDetuneSpread, 12); |
|
|
|
// END Unison
|
|
|
|
/* Unison END */ |
|
|
|
|
|
|
|
#endif |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
bool CMiniDexed::Initialize (void) |
|
|
|
bool CMiniDexed::Initialize (void) |
|
|
|