diff --git a/src/sfizz/Voice.cpp b/src/sfizz/Voice.cpp index 0b1ee1aa..dbeb6405 100644 --- a/src/sfizz/Voice.cpp +++ b/src/sfizz/Voice.cpp @@ -710,11 +710,6 @@ void sfz::Voice::fillWithData(AudioSpan buffer) noexcept // Crossfade Out // -> fade out signal nearing the loop end { - // compute crossfade coeffs - for (unsigned i = 0; i < ptSize; ++i) { - float pos = ptIndices[i] + ptCoeffs[i]; - xfCoeff[i] = (pos - loopXfOutStart) / loopXfadeSize; - } // compute out curve const Curve& xfOut = resources.curves.getCurve(6); absl::Span xfCurve = xfadeTemp[1]->first(ptSize);