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 😉