Frequency analysis source code?

Hi,

I need frequency analysis source code to detect peak frequencies real time, where can I find it? And any document on how to implement it is great.

Thanks

Audacity does not do real time processing.
You can browse the Audacity source code here: http://code.google.com/p/audacity/source/browse/audacity-src/trunk
or download it here: http://audacity.googlecode.com/files/audacity-fullsrc-1.3.13-beta.tar.bz2

Thank you,

Could you specify which file contains frequency analysis? I need algorithm to implement in my program. Or is there any document to help me write spectrum analysis functions like those? Or is there any way to embedded audacity frequency analysis in my program?

Many thanks

audacity/src/FFT.cpp contains the main part of the analysis code. But I’m seriously asking myself how you want to be capable to understand FFT code if you obviously cannot even find a source file. Ever heard of tools like grep?

The Scientist and Engineer’s Guide to Digital Signal ProcessingThe Book by Chapters ← chapters downloadable as PDFs

HTH

  • edgar