diff --git a/examples/SimpleFFTExample/Source/SpectrogramComponent.h b/examples/SimpleFFTExample/Source/SpectrogramComponent.h index 6a3b9d48b9..6d62e7c528 100644 --- a/examples/SimpleFFTExample/Source/SpectrogramComponent.h +++ b/examples/SimpleFFTExample/Source/SpectrogramComponent.h @@ -103,7 +103,7 @@ public: // show up the detail clearly Range maxLevel = FloatVectorOperations::findMinAndMax (fftData, fftSize / 2); - for (int y = 0; y < imageHeight; ++y) + for (int y = 1; y < imageHeight; ++y) { const float skewedProportionY = 1.0f - std::exp (std::log (y / (float) imageHeight) * 0.2f); const int fftDataIndex = jlimit (0, fftSize / 2, (int) (skewedProportionY * fftSize / 2));