use lerp for ringmod

master
Zithia Satazaki 2022-03-29 00:43:22 -04:00
parent f969aa0d2e
commit 25b12be6ea
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ void RingMod::process() {
AudioFrame fm = (*m)[f];
if (am) fm = {std::abs(fm.l), std::abs(fm.r)};
(*out)[f] = (fc*fm * mix) + (fc * (1.0-mix));
(*out)[f] = AudioFrame::lerp(fc, fc*fm, mix);
}
}