use lerp for ringmod
parent
f969aa0d2e
commit
25b12be6ea
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue