LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to convert *.wav to *.txt via Labwindows/Cvi

Do someone know how to do it?
 
Thank you
0 Kudos
Message 1 of 3
(4,953 Views)

Howdy 500909c-910,

LabWindow/CVI does not contain any built-in libraries that allow .wav to .txt conversion. 

WAV files contain binary data with a header that defines how this binary data is to be read in. There is an example posted on our website called Reading a WAV File in LabWindows/CVI that demonstrates reading the data in. 

There are third-party programs out there that you can purchase that convert from .wav to .txt.

For some information on the WAV format that may be of use to you, I would check out the website, Microsoft WAVE soundfile format.  Also, here is a link to a college homework solution in ANSI C that supposedly converts from .wav to .txt and .txt to .wav . I haven't tested this out so I don't know if it works but it may give you insight into creating your own converter. 

I also recommend submitting a product suggestion to our R&D team to let them know of your feature request.

Hope this helps!

Best Regards,

Jonathan N.
National Instruments
0 Kudos
Message 2 of 3
(4,943 Views)

Microsoft "invented" the WAV format.  The MSDN website has a bunch of information on the WAV file format and the Windows API has functions and structures to deal with the WAV file as audio data, but not to do speech recognition.  Speech recognition typically involves DSP techniques and is not trivial.

MSDN link: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_waveform_audio....

Google search for speech recognition libraries: http://www.google.com/search?hl=en&lr=&q="speech+recognition"+.wav+library

0 Kudos
Message 3 of 3
(4,938 Views)