Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Voltage samples to RIFF file (*.wav)

I am using a DAQCard-6024E to sample two analogue audio signals (two channels simultaneously).

When sampling the signals, I get a two dimensional array of doubles ( double[,] ) containing the samples from both channels. No problems here.

I am sampling with 44k in 12 bits (on each channel).

My questions are:

- Since I want to store the data in the well-known RIFF file format, how do I get this array of samples converted into RIFF file format? (Create a .wav file from the samples)
- Do I need to convert from 12 to 16 bit? How?
- Does anyone know of examples covering this subject?


Thanks a lot 😉
0 Kudos
Message 1 of 4
(3,599 Views)
Hi,

Following link will explain how to do this, if you are programming in LabVIEW?

http://digital.ni.com/public.nsf/websearch/3CF14E200E8DB3CB86256C840028C5D2?OpenDocument

Regards.

Anders M.
Field Applications Engineer
National Instruments DK
0 Kudos
Message 2 of 4
(3,586 Views)
I’m using measurement studio / c#. After having giving it a good long thought I figured out a way to do it. Thanks anyway 😉
0 Kudos
Message 3 of 4
(3,583 Views)
If you don't mind, could you post your solution to the forum? It might help other folks trying to do the same thing.
0 Kudos
Message 4 of 4
(3,578 Views)