Update minidexed.cpp

pull/206/head
arsamus 3 years ago committed by GitHub
parent 374bd68664
commit a1cc3e501e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 20
      src/minidexed.cpp

@ -192,11 +192,11 @@ bool CMiniDexed::Initialize (void)
SetMasterTune (m_PerformanceConfig.GetDetune (nTG), nTG); SetMasterTune (m_PerformanceConfig.GetDetune (nTG), nTG);
SetCutoff (m_PerformanceConfig.GetCutoff (nTG), nTG); SetCutoff (m_PerformanceConfig.GetCutoff (nTG), nTG);
SetResonance (m_PerformanceConfig.GetResonance (nTG), nTG); SetResonance (m_PerformanceConfig.GetResonance (nTG), nTG);
SetPitchbendRange (m_PerformanceConfig.GetPitchBendRange (nTG), nTG); setPitchbendRange (m_PerformanceConfig.GetPitchBendRange (nTG), nTG);
SetPitchbendStep (m_PerformanceConfig.GetPitchBendStep (nTG), nTG); setPitchbendStep (m_PerformanceConfig.GetPitchBendStep (nTG), nTG);
SetPortamentoMode (m_PerformanceConfig.GetPortamentoMode (nTG), nTG); setPortamentoMode (m_PerformanceConfig.GetPortamentoMode (nTG), nTG);
SetPortamentoGlissando (m_PerformanceConfig.GetPortamentoGlissando (nTG), nTG); setPortamentoGlissando (m_PerformanceConfig.GetPortamentoGlissando (nTG), nTG);
SetPortamentoTime (m_PerformanceConfig.GetPortamentoTime (nTG), nTG); setPortamentoTime (m_PerformanceConfig.GetPortamentoTime (nTG), nTG);
m_nNoteLimitLow[nTG] = m_PerformanceConfig.GetNoteLimitLow (nTG); m_nNoteLimitLow[nTG] = m_PerformanceConfig.GetNoteLimitLow (nTG);
m_nNoteLimitHigh[nTG] = m_PerformanceConfig.GetNoteLimitHigh (nTG); m_nNoteLimitHigh[nTG] = m_PerformanceConfig.GetNoteLimitHigh (nTG);
@ -664,11 +664,11 @@ void CMiniDexed::SetTGParameter (TTGParameter Parameter, int nValue, unsigned nT
case TGParameterMasterTune: SetMasterTune (nValue, nTG); break; case TGParameterMasterTune: SetMasterTune (nValue, nTG); break;
case TGParameterCutoff: SetCutoff (nValue, nTG); break; case TGParameterCutoff: SetCutoff (nValue, nTG); break;
case TGParameterResonance: SetResonance (nValue, nTG); break; case TGParameterResonance: SetResonance (nValue, nTG); break;
case TGParameterPitchBendRange: SetPitchbendRange (nValue, nTG); break; case TGParameterPitchBendRange: setPitchbendRange (nValue, nTG); break;
case TGParameterPitchBendStep: SetPitchbendStep (nValue, nTG); break; case TGParameterPitchBendStep: setPitchbendStep (nValue, nTG); break;
case TGParameterPortamentoMode: SetPortamentoMode (nValue, nTG); break; case TGParameterPortamentoMode: setPortamentoMode (nValue, nTG); break;
case TGParameterPortamentoGlissando: SetPortamentoGlissando (nValue, nTG); break; case TGParameterPortamentoGlissando: setPortamentoGlissando (nValue, nTG); break;
case TGParameterPortamentoTime: SetPortamentoTime (nValue, nTG); break; case TGParameterPortamentoTime: setPortamentoTime (nValue, nTG); break;
case TGParameterMIDIChannel: case TGParameterMIDIChannel:
assert (0 <= nValue && nValue <= 255); assert (0 <= nValue && nValue <= 255);

Loading…
Cancel
Save