Comments on some "m_pTG[nTG]->ControllersRefresh();" when changing the range or target of controllers, due to problems.

pull/565/head
Holger Wirtz 6 months ago
parent 6cf87bdbe4
commit d81b242095
  1. 16
      src/minidexed.cpp

@ -1312,7 +1312,7 @@ void CMiniDexed::setModWheelRange(uint8_t range, uint8_t nTG)
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]->ControllersRefresh();
//m_pTG[nTG]->ControllersRefresh();
m_UI.ParameterChanged ();
}
@ -1324,7 +1324,7 @@ void CMiniDexed::setModWheelTarget(uint8_t target, uint8_t nTG)
m_nModulationWheelTarget[nTG] = target;
m_pTG[nTG]->setModWheelTarget(constrain(target, 0, 7));
m_pTG[nTG]->ControllersRefresh();
//m_pTG[nTG]->ControllersRefresh();
m_UI.ParameterChanged ();
}
@ -1337,7 +1337,7 @@ void CMiniDexed::setFootControllerRange(uint8_t range, uint8_t nTG)
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]->ControllersRefresh();
//m_pTG[nTG]->ControllersRefresh();
m_UI.ParameterChanged ();
}
@ -1349,7 +1349,7 @@ void CMiniDexed::setFootControllerTarget(uint8_t target, uint8_t nTG)
m_nFootControlTarget[nTG] = target;
m_pTG[nTG]->setFootControllerTarget(constrain(target, 0, 7));
m_pTG[nTG]->ControllersRefresh();
//m_pTG[nTG]->ControllersRefresh();
m_UI.ParameterChanged ();
}
@ -1362,7 +1362,7 @@ void CMiniDexed::setBreathControllerRange(uint8_t range, uint8_t nTG)
m_pTG[nTG]->setBCController(range, m_pTG[nTG]->getBreathControllerTarget(), 0);
//m_pTG[nTG]->setBreathControllerRange(constrain(range, 0, 99));
m_pTG[nTG]->ControllersRefresh();
//m_pTG[nTG]->ControllersRefresh();
m_UI.ParameterChanged ();
}
@ -1374,7 +1374,7 @@ void CMiniDexed::setBreathControllerTarget(uint8_t target, uint8_t nTG)
m_nBreathControlTarget[nTG]=target;
m_pTG[nTG]->setBreathControllerTarget(constrain(target, 0, 7));
m_pTG[nTG]->ControllersRefresh();
//m_pTG[nTG]->ControllersRefresh();
m_UI.ParameterChanged ();
}
@ -1387,7 +1387,7 @@ void CMiniDexed::setAftertouchRange(uint8_t range, uint8_t nTG)
m_pTG[nTG]->setATController(range, m_pTG[nTG]->getAftertouchTarget(), 0);
// m_pTG[nTG]->setAftertouchRange(constrain(range, 0, 99));
m_pTG[nTG]->ControllersRefresh();
//m_pTG[nTG]->ControllersRefresh();
m_UI.ParameterChanged ();
}
@ -1399,7 +1399,7 @@ void CMiniDexed::setAftertouchTarget(uint8_t target, uint8_t nTG)
m_nAftertouchTarget[nTG]=target;
m_pTG[nTG]->setAftertouchTarget(constrain(target, 0, 7));
m_pTG[nTG]->ControllersRefresh();
//m_pTG[nTG]->ControllersRefresh();
m_UI.ParameterChanged ();
}

Loading…
Cancel
Save