Perform fft on stm32f411
I am trying to make a music visualizer with led matrix and stm32f411 usb audio function
previously , i tried to use stm32f103 blue pill but the usb audio stuck and i can't find the reason
so i purchased the black pill to do it
but now the problem is the fft result is always drifted and seems not accurate
my usb audio sample rate is 48k Hz
i have tried kissfft and the fft in arm_math.h , they have similar result
for example ,when i play a 5k Hz sound on my pc , would result in peak at around 2.5kHz
and some similar peak at around 20kHz
i know that some fft result will have symmetric form at with start and end of the output buffer
but i think it is not the case
the video show i do some simple math to display the fft on led matrix from 0-20000Hz
the high frequency is at left , low frequency is at right
and you can see it kind of like being symmetric but not exactly ,especially the high frequency side is low at start
i am thinking of maybe the audio data have some problem
but i don't know how to verify
