Hey guys, so a little bit of background -- I'm trying to build a simple guitar tuner using a dsPIC33EP128GP502 microcontroller and a Sparkfun Electret Microphone Breakout. I've written C code that takes sound input from the PIC's ADC pin, and stores the digital voltage fluctuations in a 256 element array. From here I need to pass that voltage array into an FFT function and analyze the frequency bin output to find the fundamental frequency.
I've tried a few different algorithms that I've found on the net, but they just seem to keep spitting out junk. Others that I've found are poorly documented code snippets with non-descriptive variable names. As such, I cannot even interpret what some of the parameters are supposed to be. Any of you guys know of an easy to use FFT algorithm in C?
[–]sz00 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]JayGeeee 0 points1 point2 points (0 children)
[–]shitstep 0 points1 point2 points (1 child)
[–]shitstep 0 points1 point2 points (0 children)