LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I need to capture streaming audio and save to a wav file

I need to be able to capture an audio stream delivered via ethernet using UDP protocol and then save to a wav file.

I currently can capture the data stream but do not know how to format the data to save it to a file. Our format is 16KS/s, 16bit, PCM, no compression.

 

0 Kudos
Message 1 of 5
(3,542 Views)
Which Labview version do you use? A wav file is composed by a header containing info about sample rate etc. The data will come after this header. Labview has tools for converting a data stream to wav. Go to help in toolbar. Then select find examples. Do a search for sound


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 2 of 5
(3,540 Views)
0 Kudos
Message 3 of 5
(3,529 Views)
I am using v9.0
0 Kudos
Message 4 of 5
(3,506 Views)
Did you do the thing about searching in the example database. Let us use that as base for discussion. Those who put in some effort will be rewarded. Also check out the AU file format http://en.wikipedia.org/wiki/Au_file_format As it is big-endian http://en.wikipedia.org/wiki/Big-endian the numbers can be stored as is in Labview. Must players,matlab, etc can use the AU file format.


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 5 of 5
(3,503 Views)