I’m getting terrible feedback with this change…
void setTargetValue (FloatType newValue) noexcept
{
// if (approximatelyEqual (newValue, this->target)) // <<<< These were removed
// return;
if (stepsToTarget <= 0)
{
this->setCurrentAndTargetValue (newValue);
return;
}
// Multiplicative smoothed values cannot ever reach 0!
jassert (! (std::is_same_v<SmoothingType, ValueSmoothingTypes::Multiplicative>
&& approximatelyEqual (newValue, (FloatType) 0)));
this->target = newValue;
this->countdown = stepsToTarget;
setStepSize();
}
Standalone plugin (synth) even if I just click on the TEST button in the Audio setup dialog.
Rail