LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

record audio with labview and audio dataplugin

The thing I would like to do, is write waveforms to WAV/wma/mp3 files.

The way to do this, is probably with the help of the audio data plugin.
However, it is far from clear how to configure and use this plugin with LabView. There is documentation available for DIAdem, but what good is that to me, as a simple LabView user?
There is also an example for reading dataPlugin data with LabView, but this example is:
A) not working, e.g. it cannot open a simple WAV file, when using "uspAudio" as DataPlugin Name
B) not documented
C) not handeling errors
D) only reading, not writing, which is slightly more complicated.

So, tips for writing waveform to audio files and/or
tips for working with dataPlugins in LabView would be welcome...
0 Kudos
Message 1 of 2
(3,954 Views)

Ok, so, now I can read a WAV/WMA/mp3 file, see attached VI Smiley Happy

There's still one problem: writing data to a WAV/WMA/mp3 file. In my "DataPlugin Write Audio File.vi" I try to read from / listen to a microphone connected to a AD card. On the Waveform graph, I see my signal correctly, but in the WAV file, there is only a flat line (zero's).

Perhaps it is needed to add properties to the group, but I don't know which properties to add...

All advice is appreciated...

Message Edited by bram@tno on 08-08-2007 07:00 AM

Download All
0 Kudos
Message 2 of 2
(3,933 Views)