Arduino fft windowing. Now it works both on Arduino and C proj