Issue with the SimpleFFTExample project


#1

Hello to the ROLI team !

There is an issue in the SimpleFFTExample project source code. In the function "drawNextLineOfSpectrogram()", there is the following instruction :

const float skewedProportionY = 1.0f - std::exp (std::log (y / (float) imageHeight) * 0.2f);

I think it should be something like this instead :

const float skewedProportionY = (y == 0 ? 1.0f : 1.0f - std::exp (std::log (y / (float) imageHeight) * 0.2f));

#2

Thanks - it should really just start the loop from 1 instead of 0 - I'll tidy that up.