LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Audio Graph

I need to graph the audio wave of whatever is playing on my soundcard.  Any ideas?
 
Ideally LabVIEW will graph the soundwave as it is being played.
 
Thanks,
 
Felipe
0 Kudos
Message 1 of 3
(3,263 Views)
Read in the sound file, Start the sound file playing, also pass the 8 or 16 bit array and the rate to build a waveform graph, in a timed loop update every second or so, graph the current second of the waveform.  This is not completely synchronous but is a start.  I also remember an example in the past of using a sound card as an audio analyzer.
 
Paul
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 2 of 3
(3,238 Views)
Hello Felipe,

I'm not sure which version of LabVIEW you're running.  But have a look in the Example Finder under "Sound".

I was just playing with the Simultaneous Sound IO and a little program called Audacity.  While I was able to generate a graph in LabVIEW, I don't think my PC was very happy.  There was some odd background noise and Audacity wouldn't stop playing the file until LabVIEW stopped recording it.  However this was running the example unchanged.

There are also a number of other examples listed under "sound" that may be useful to you.

Good luck.

---------------------
Patrick Allen: FunctionalityUnlimited.ca
0 Kudos
Message 3 of 3
(3,229 Views)