LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Displaying a *.wav file's frequencies in real time

We are trying to display the different frequencies of a *.wav file. What we can do so far is play the file and display a final graph. What we want to happen is to be able to display the graph as the song plays. In other words as the song plays the graph is being drawn in real time. Attached is our VI (waze player.vi) and on the next posting is the library some of our sub VI's came from. The wave file to wave form.vi is the sub vi we think we need to alter. Some one suggested that we could have another vi right after that one to take a sample from the wave file to wave form.vi so many times a second and display the graph from the samples but we are still new to this program and don't know how to do that. Any help or suggestions would be greatly appreciated.

Thanks,
Thomas Martin
0 Kudos
Message 1 of 6
(3,849 Views)
On this posting I attached the library some of our sub VI's came from since it will only let you attach one file to a posting.
0 Kudos
Message 2 of 6
(3,842 Views)
On this posting I attached the library some of our sub VI's came from since it will only let you attach one file to a posting.
0 Kudos
Message 3 of 6
(3,840 Views)
If you save your VIs into a library you can attach all relevant files under one 'roof' so to speak

when you save the VI, click 'New VI Library' bottom right of the dialogue box, then follow the dialogue boxes to name and save the library and save the current VI in the newly created library

Message Edited by Michael Burgess on 03-21-2005 07:59 PM

0 Kudos
Message 4 of 6
(3,831 Views)
Hi there,

I would recommend you to start by looking at the shipping example called "Continuous Sound Output.vi". This VI plays sounds continuously. To split your wave file into small pieces to play back (instead of the generated waveform from the shipping example), please take a look at the attached "SplitWave.vi" that I created for you. By default if splits the wave into pieces of 2205 elements (22050/10 or 44100/20), but you can specify smaller or bigger pieces to analyze at a time.

Have fun!
- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
Message 5 of 6
(3,807 Views)
Hi
See attached vis to star up prcessing wav files in chunks.

Alipio
---------------------------------------------------------
"Qod natura non dat, Salmantica non praestat"
---------------------------------------------------------
0 Kudos
Message 6 of 6
(3,792 Views)