david234589
New Member
Hi,
I'm making something where I need to take the input from a microphone, fourier transform, pick out the largest peak in the fourier transform, and output a voltage proportional to that frequency.
In other words, if someone hums a Middle C into the microphone, the fourier transform will have many peaks and harmonics in but the strongest peak should be 278 Hz or so (which corresponds to Middle C), and the output should be some constant voltage V1. If the person then starts humming a C one octave higher, the strongest peak in the fourier transform should be at 2*278 Hz = 556 Hz, and the output should be some constant voltage V2 = 2*V1
Any ideas? I wasn't sure how to do it using analog electronics so was just about to try to do a digital version using an Arduino, but then realized that's probably overkill.
I'm not too experienced yet with designing electronics so the more details the better..
Thanks,
I'm making something where I need to take the input from a microphone, fourier transform, pick out the largest peak in the fourier transform, and output a voltage proportional to that frequency.
In other words, if someone hums a Middle C into the microphone, the fourier transform will have many peaks and harmonics in but the strongest peak should be 278 Hz or so (which corresponds to Middle C), and the output should be some constant voltage V1. If the person then starts humming a C one octave higher, the strongest peak in the fourier transform should be at 2*278 Hz = 556 Hz, and the output should be some constant voltage V2 = 2*V1
Any ideas? I wasn't sure how to do it using analog electronics so was just about to try to do a digital version using an Arduino, but then realized that's probably overkill.
I'm not too experienced yet with designing electronics so the more details the better..
Thanks,