I've been asked by my professor to create a VI that takes a .wav file and performs short-time Fourier transform on it.
Here is the link to the VI.
http://puu.sh/l8jLp/4cd3dcddb5.png
http://puu.sh/l8kc7/14634e764e.png
One issue is that I have two power spectrums because there is no power spectrum displayed from the Auto Power Spectrum VI (I do not know what went wrong there) so I created Power Spectrum 2, which did display the power spectrum.
The next task for me is to perform some spectral analysis using the power spectrum and the spectrogram. Since the power spectrum displays sharp amplitude peaks, the professor wants me to create a histogram with frequency bins to hopefully create a smoother curve to actually see at which frequencies those peaks occur (for example, he told me to sum up all the amplitudes for a range of let's say 0-10 Hz, and then for 10-20 Hz, etc). Would you have any suggestion on how I can sum up the amplitude values on LabVIEW for a certain range?
For the spectrogram, the professor mentioned that it is actually a 3D representation of the sound file, with color measuring the amplitude of the signal. However, the spectrogram on the front panel is only displayed in 2D with frequency and time as the axes. How can I extract let's say the amplitude values for a certain frequency in that spectrogram? Can LabVIEW do this?
Thanks all!
Here is an example of the .wav file. Notice that when it's run, nothing displays on the Power Spectrum even though the VI has no errors.
Normal vesicular.wav