This project has moved and is read-only. For the latest updates, please go here.

Amplitude/Frequency of wav/mp3 file

Dec 25, 2013 at 6:56 PM
This question might have been asked but may not be exactly as I'm asking. What I want is frequency/amplitude of audio file to perform effects such as Doppler, transmission losses, etc. This is basically requirement of acoustic application. As time passes such effects will continuously be applied and both frequency/amplitude will change and spectrum too accordingly on the run-time but I cant find how to get frequency/amplitude.
Dec 31, 2013 at 6:52 PM
normally to perform any DSP, you'll want to work individually on samples. To get frequencies at different amplitudes, the FFT is what you want to look into. Neither of these are beginner topics though, so you'll need to know a fair bit of DSP theory and understand audio sampling in order to do this successfully.
Jan 3, 2014 at 6:57 PM
Thanks a lot for your reply. I'm aware that these tasks can be accomplished with FFT and related concepts of DSP. I have also read on many NAudio discussions that FFT is already computed. I just want to know how can I get all these values as these are already calculated. Can u please give some samples as how to get these values. I need to display freq/ampl when mouse is moved/hovered.
Jan 3, 2014 at 7:13 PM
well even with an FFT, you need to understand how to interpret the results. They are complex numbers, contained in "bins". The most in-depth explanation I've given of this is in this article:
Jan 3, 2014 at 8:49 PM
Ok thanks again. I'll study it n if again I have any issue I'll post here