LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

display multiple .wav files on same graph

Hi, I am using the sound& vibration toolkit for my project. I am stuck perhaps on something very small!!!!
I am trying to open and display multiple .wav files but i haven't been successful with this. There is already an example which shows how to display one .wav file on a graph. My final goal is to run several .wav files and  do fft of each and display all resultant on same graph. Can someone help me out here. All i want is to open and read several .wav files.

I have attached the code that reads one .wav file.  I am using labview 7.0 so please help
0 Kudos
Message 1 of 8
(4,129 Views)

"signal condition" <x@no.email> wrote in message
news:1144123807979-347317@exchange.ni.com...
> Hi, I am using the sound&amp; vibration toolkit for my project. I am stuck
perhaps on something very small!!!!
> I am trying to open and display multiple .wav files but i haven't been
> successful with this. There is already an example which shows how to
> display one .wav file on a graph. My final goal is to run several .wav
> files and&nbsp; do fft of each and display all resultant on same graph.
> Can someone help me out here. All i want is to open and read several
> .wav files.
>
> I have attached the code that reads one .wav file.&nbsp; I am using
labview 7.0 so please help
>
>
> SVXMPL_WAV Power Spectrum.vi:
> http://forums.ni.com/attachments/ni/170/177488/1/SVXMPL_WAV Power
Spectrum.vi

Use the 'film strip' thing to open each file separately. To display more
than one on a graph you can bundle them together.

Tam


0 Kudos
Message 2 of 8
(4,119 Views)
Hi Tam

Are there any examples or something that you have? It wuld be greatley appreciated
0 Kudos
Message 3 of 8
(4,118 Views)
An easy way to do this is to use an auto-indexed for loop in LabVIEW to run for as many files as you specify.  Attached is a very basic example to show the concept.  Using this, you should be able to build on the SVXMPL_WAV Power.vi to acheive the desired functionality.

Have a great day!
0 Kudos
Message 4 of 8
(4,099 Views)
Hey Travis, can you make the same for me but compatible with labview version 6.1?
0 Kudos
Message 5 of 8
(3,910 Views)
Hi,
 
Here is a picture of what the VI looks like. You can just use this as a reference to make your VI in LV 6.1:
 
 
Hope this helps!

Message Edited by Abhinav T on 06-04-2007 01:01 PM

Abhinav T.
Applications Engineering
National Instruments India

LabVIEW Introduction Course - Six Hours
Getting Started with NI-DAQmx
Measurement Fundamentals
0 Kudos
Message 6 of 8
(3,873 Views)
Awesome! Thank you Abhinav, I'll try it out

0 Kudos
Message 7 of 8
(3,853 Views)
Actually, is there a way to take this one step further? After display the wav files on a graph,or actually multiple graphs (one for each wave file) might be better to see the individual FFTs and then take the difference (subtract) of the signals. I'll probably just be doing this for two different signals
0 Kudos
Message 8 of 8
(3,848 Views)