This project has moved. For the latest updates, please go here.

How to get the power of specific freq

Jul 15, 2011 at 8:16 AM

Hello Mark.


I have window that display fft of playing audio file.

I need to know when in a specific hz the power pass the power limit.

For example: between 400hz and 600hz the power limit is -10db when the limit passed I want to know that.

How can I get the freq. and the power of each freq. ?


Thank you vey much!

Jul 18, 2011 at 2:05 PM

I would suggest you ask on StackOverflow about how to interpret the results of an FFT. I usually take the "magnitude" of each complex number and then the log base 10 of that, but I'm not sure that necessarily gives the power in dB.

Jul 18, 2011 at 2:45 PM

ok thanks anyway