9 years, 1 month ago.

Fundamental Frequency Audio Signal

Hello,

I am very new to mbed and c++ programming. I have been given the following task which I require some help with, if this is in the wrong area or has already been answered please point me in the right direction.

I have an audio signal as input and i need the fundamental frequency of that signal. I suppose that a FFT is required..

Any help would be greatly appreciated. Thanks in advance.

Maybe Goertzel Algorithm will be better for your needs?

posted by Nothing Special 25 Oct 2015

1 Answer

9 years, 1 month ago.

Asking for help with the entire project without first making an attempt won't get you much, if nothing else no one knows what level to aim the answer at. e.g. would an equation and a couple of lines of pesudo code be enough or do we need to start with the difference between an int and a float? Generally you'll get far more useful answers if you ask far more specific questions. e.g. post some code (using <<code>> and <</code>>) and ask why it doesn't work giving as much detail as possible as to what is going wrong.

As a starting place your best bet is to search the existing code and questions/answers. The search on the site is useless but google does a good job of it:

https://www.google.co.uk/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=site%3Adeveloper.mbed.org%20audio%20sample

https://www.google.co.uk/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=site%3Adeveloper.mbed.org+FFT