Frequency analysis source code?

Audio software developers forum.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Post Reply
lemd
Posts: 2
Joined: Fri Nov 04, 2011 2:57 pm
Operating System: Please select

Frequency analysis source code?

Post by lemd » Fri Nov 04, 2011 3:06 pm

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

steve
Site Admin
Posts: 81609
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Frequency analysis source code?

Post by steve » Fri Nov 04, 2011 3:33 pm

Audacity does not do real time processing.
You can browse the Audacity source code here: http://code.google.com/p/audacity/sourc ... -src/trunk
or download it here: http://audacity.googlecode.com/files/au ... ta.tar.bz2
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

lemd
Posts: 2
Joined: Fri Nov 04, 2011 2:57 pm
Operating System: Please select

Re: Frequency analysis source code?

Post by lemd » Fri Nov 04, 2011 5:50 pm

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

edgar-rft
Posts: 347
Joined: Sun Jan 20, 2008 12:03 am
Operating System: Please select

Re: Frequency analysis source code?

Post by edgar-rft » Tue Nov 08, 2011 6:17 am

lemd wrote:Could you specify which file contains frequency analysis?
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?
lemd wrote:Or is there any document to help me write spectrum analysis functions like those?
The Scientist and Engineer's Guide to Digital Signal Processing --> The Book by Chapters <-- chapters downloadable as PDFs

HTH

- edgar

Post Reply