[Portaudio] Cannot find a ease hello world FFT or what ever frequency finder.

Phil Burk philburk at mobileer.com
Mon Mar 14 21:26:52 EDT 2016


Bjorn,

Nice! But I think the '<' character in your for loops caused the line to
get truncated.

   for( int j=0; j

Phil

On Mon, Mar 14, 2016 at 8:06 AM, Bjorn Roche <bjorn at shimmeo.com> wrote:

> Robert is correct that Goertzel's algorithm is probably better if you are
> just looking for one or two known pitches.
>
> That said, I've seen this question so often on stack overflow that I wrote
> a blog post (with code) about this some time ago. The concept is simple,
> but the devil's in the details, so having it explained with working code
> should help.
>
>
> http://blog.bjornroche.com/2012/07/frequency-detection-using-fft-aka-pitch.html
>
> On Mon, Mar 14, 2016 at 10:45 AM, Robert Bielik <Robert.Bielik at dirac.se>
> wrote:
>
>> As long as you only need to detect specific frequencies, the Goertzel
>> algo should be ok:
>> http://stackoverflow.com/questions/11579367/implementation-of-goertzel-algorithm-in-c
>>
>>
>>
>> Applying the algo to the correct portions of wav file is left as an
>> exercise for the reader ;)
>>
>>
>>
>> Regards
>>
>> /R
>>
>>
>>
>> *From:* portaudio-bounces at lists.columbia.edu [mailto:
>> portaudio-bounces at lists.columbia.edu] *On Behalf Of *keghn at netscape.net
>> *Sent:* den 14 mars 2016 15:36
>> *To:* portaudio at lists.columbia.edu
>> *Subject:* [Portaudio] Cannot find a ease hello world FFT or what ever
>> frequency finder.
>>
>>
>>
>> Is there a c/c++ software that looks for a certain frequency in a wav
>> file? For example, like a c/c++ function that will return the strength
>> 440Hz frequency between 10 seconds and 12 seconds in a 60 second wav file.
>>
>> _______________________________________________
>> Portaudio mailing list
>> Portaudio at lists.columbia.edu
>> https://lists.columbia.edu/mailman/listinfo/portaudio
>>
>
>
>
> --
> Bjorn Roche
> @shimmeoapp
>
> _______________________________________________
> Portaudio mailing list
> Portaudio at lists.columbia.edu
> https://lists.columbia.edu/mailman/listinfo/portaudio
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.columbia.edu/pipermail/portaudio/attachments/20160314/71aeb678/attachment.html>


More information about the Portaudio mailing list