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.
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-200507:59 PM
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.
Hi See attached vis to star up prcessing wav files in chunks.
Alipio
--------------------------------------------------------- "Qod natura non dat, Salmantica non praestat" ---------------------------------------------------------