Possible Duplicate:
How to get Frequency from FFT result
I have one problem. I need to know at which frequencies the signal passes normally. To solve this problem, I am applying to the microphone sound of a particular frequency(for example 1000Hz), and buffer from microphone, and above buffer spend DFT(AForge.Math.FourierTransform.DFT). Sampling frequency = 20480Hz. On exit I have complex(AForge.Math.Complex) array with 2048 elements. What I need to do to find the volume level at a given frequency? If I have the wrong approach, tell me the right one.