pull/565/merge
Holger 2 weeks ago committed by GitHub
commit 24999f9d79
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 16
      src/minidexed.cpp
  2. 2
      submod.sh

@ -1584,7 +1584,7 @@ void CMiniDexed::setModWheelRange(uint8_t range, uint8_t nTG)
m_pTG[nTG]->setMWController(range, m_pTG[nTG]->getModWheelTarget(), 0); m_pTG[nTG]->setMWController(range, m_pTG[nTG]->getModWheelTarget(), 0);
// m_pTG[nTG]->setModWheelRange(constrain(range, 0, 99)); replaces with the above due to wrong constrain on dexed_synth module. // m_pTG[nTG]->setModWheelRange(constrain(range, 0, 99)); replaces with the above due to wrong constrain on dexed_synth module.
m_pTG[nTG]->ControllersRefresh(); //m_pTG[nTG]->ControllersRefresh();
m_UI.ParameterChanged (); m_UI.ParameterChanged ();
} }
@ -1598,7 +1598,7 @@ void CMiniDexed::setModWheelTarget(uint8_t target, uint8_t nTG)
m_nModulationWheelTarget[nTG] = target; m_nModulationWheelTarget[nTG] = target;
m_pTG[nTG]->setModWheelTarget(constrain(target, 0, 7)); m_pTG[nTG]->setModWheelTarget(constrain(target, 0, 7));
m_pTG[nTG]->ControllersRefresh(); //m_pTG[nTG]->ControllersRefresh();
m_UI.ParameterChanged (); m_UI.ParameterChanged ();
} }
@ -1613,7 +1613,7 @@ void CMiniDexed::setFootControllerRange(uint8_t range, uint8_t nTG)
m_pTG[nTG]->setFCController(range, m_pTG[nTG]->getFootControllerTarget(), 0); m_pTG[nTG]->setFCController(range, m_pTG[nTG]->getFootControllerTarget(), 0);
// m_pTG[nTG]->setFootControllerRange(constrain(range, 0, 99)); replaces with the above due to wrong constrain on dexed_synth module. // m_pTG[nTG]->setFootControllerRange(constrain(range, 0, 99)); replaces with the above due to wrong constrain on dexed_synth module.
m_pTG[nTG]->ControllersRefresh(); //m_pTG[nTG]->ControllersRefresh();
m_UI.ParameterChanged (); m_UI.ParameterChanged ();
} }
@ -1627,7 +1627,7 @@ void CMiniDexed::setFootControllerTarget(uint8_t target, uint8_t nTG)
m_nFootControlTarget[nTG] = target; m_nFootControlTarget[nTG] = target;
m_pTG[nTG]->setFootControllerTarget(constrain(target, 0, 7)); m_pTG[nTG]->setFootControllerTarget(constrain(target, 0, 7));
m_pTG[nTG]->ControllersRefresh(); //m_pTG[nTG]->ControllersRefresh();
m_UI.ParameterChanged (); m_UI.ParameterChanged ();
} }
@ -1642,7 +1642,7 @@ void CMiniDexed::setBreathControllerRange(uint8_t range, uint8_t nTG)
m_pTG[nTG]->setBCController(range, m_pTG[nTG]->getBreathControllerTarget(), 0); m_pTG[nTG]->setBCController(range, m_pTG[nTG]->getBreathControllerTarget(), 0);
//m_pTG[nTG]->setBreathControllerRange(constrain(range, 0, 99)); //m_pTG[nTG]->setBreathControllerRange(constrain(range, 0, 99));
m_pTG[nTG]->ControllersRefresh(); //m_pTG[nTG]->ControllersRefresh();
m_UI.ParameterChanged (); m_UI.ParameterChanged ();
} }
@ -1656,7 +1656,7 @@ void CMiniDexed::setBreathControllerTarget(uint8_t target, uint8_t nTG)
m_nBreathControlTarget[nTG]=target; m_nBreathControlTarget[nTG]=target;
m_pTG[nTG]->setBreathControllerTarget(constrain(target, 0, 7)); m_pTG[nTG]->setBreathControllerTarget(constrain(target, 0, 7));
m_pTG[nTG]->ControllersRefresh(); //m_pTG[nTG]->ControllersRefresh();
m_UI.ParameterChanged (); m_UI.ParameterChanged ();
} }
@ -1671,7 +1671,7 @@ void CMiniDexed::setAftertouchRange(uint8_t range, uint8_t nTG)
m_pTG[nTG]->setATController(range, m_pTG[nTG]->getAftertouchTarget(), 0); m_pTG[nTG]->setATController(range, m_pTG[nTG]->getAftertouchTarget(), 0);
// m_pTG[nTG]->setAftertouchRange(constrain(range, 0, 99)); // m_pTG[nTG]->setAftertouchRange(constrain(range, 0, 99));
m_pTG[nTG]->ControllersRefresh(); //m_pTG[nTG]->ControllersRefresh();
m_UI.ParameterChanged (); m_UI.ParameterChanged ();
} }
@ -1685,7 +1685,7 @@ void CMiniDexed::setAftertouchTarget(uint8_t target, uint8_t nTG)
m_nAftertouchTarget[nTG]=target; m_nAftertouchTarget[nTG]=target;
m_pTG[nTG]->setAftertouchTarget(constrain(target, 0, 7)); m_pTG[nTG]->setAftertouchTarget(constrain(target, 0, 7));
m_pTG[nTG]->ControllersRefresh(); //m_pTG[nTG]->ControllersRefresh();
m_UI.ParameterChanged (); m_UI.ParameterChanged ();
} }

@ -20,5 +20,5 @@ cd -
# #
# Use fixed master branch of Synth_Dexed # Use fixed master branch of Synth_Dexed
cd Synth_Dexed/ cd Synth_Dexed/
git checkout c9f5274 git checkout af3c7ce
cd - cd -

Loading…
Cancel
Save