Re: Conducting FFT on a WAV file



"Ken " <ken.brown@xxxxxxx> wrote in message <fqgous$r5
$1@xxxxxxxxxxxxxxxxxx>...
I am new to Matlab and wish to perform an fft on a wav
file. The file info is Fs = 11025, bits=16 and size=83200.

Can anyone provide some simple steps so that I can plot
the
fft output.

Thanks


Not knowing what you are trying to achieve, I might be well
off beam. However according to your figures, your WAV file
is over 7 seconds long, and while there is nothing wrong in
principle in doing what has been suggested, you should
consider the nature of your data. If for example it is a
sound track (e.g. speech or music) the data will have
continuously varying frequency components, and the FFT of
the complete waveform might well generate data that is next
to meaningless. It might make sense to consider breaking
down your waveform into much shorter sub arrays, and
applying an FFT to those, so you can track the frequency
domain modification as the wav file progresses.

If on the other hand You know exactly what you are doing -
then sorry for sticking my nose in.

Regards

Dave Robinson
.



Relevant Pages

  • Re: FFT of non-integer waveform
    ... Say that I have identified a single cycle of a waveform and wish to ... You have "identified a single cycle of the waveform".... ... FFT the padded sequence. ... the spectrum will be interpolated by a factor of 10. ...
    (comp.dsp)
  • Re: Detect fundamental Frequency
    ... I have got a square waveform. ... Lets say the partial harmonics are greater than the ... fundamental component, So the peak fft bin is not related to the ...
    (comp.dsp)
  • Re: FFT of non-integer waveform
    ... Sounds to me like you're talking about (from the frequency domain point ... of view) a sine wave with a frequency that does not lie on the center ... this kind of signal after taking the FFT. ... Say that I have identified a single cycle of a waveform and wish to ...
    (comp.dsp)
  • Re: Detect fundamental Frequency
    ... I have got a square waveform. ... Lets say the partial harmonics are greater than the ... So the peak fft bin is not related to the ...
    (comp.dsp)