LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I record by micphone and save it as .wav file in LabWINDOWS

First ,write waveHeader,then write actual data?use OpenFile function?
0 Kudos
Message 1 of 2
(3,222 Views)
Hi Lab,

I would check out this previous discussion forum thread about recording data to .wav files. It provides a link to find the specific header format and data structure as defined by Microsoft. Once you know the formats you can write the binary data directly into a file using fopen and fwrite. Here is a link to an example of doing binary write to files.

Jeremy L.
National Instruments
Jeremy L.
National Instruments
0 Kudos
Message 2 of 2
(3,222 Views)