diff --git a/inputsource.cpp b/inputsource.cpp index e05cab6..b5f2721 100644 --- a/inputsource.cpp +++ b/inputsource.cpp @@ -89,7 +89,7 @@ public: std::transform(&s[start], &s[start + length], dest, [](const std::complex& v) -> std::complex { const float k = 1.0f / 128.0f; - return { v.real() * k - 1.0f, v.imag() * k - 1.0f }; + return { (v.real() - 127.4f) * k, (v.imag() - 127.4f) * k }; } ); }