2014-11-26, 14:07
(2014-11-25, 20:57)da-anda Wrote: guys, i noticed that the waveform viz on all GLES devices is way off (like 200% amplitudes) - might this be related to the issue mentioned in here? On Windows the amplitudes are way lower and max out within visible screen, while on GLES they go out of screen. Noticed on my PI but it's also on Android.
Looks like the scale factors for "bar_height" parameter is different between directx and opengl versions of spectrum.
Bit that's a minor issue. The frequency sweep sample I linked should produce a single peak in the FFT that moves from left to right.
You can't see that at all in the spectrum visualisation. Feels like the output of the fft is mostly garbage.