03-27-2013 07:10 PM
Hello,
I am trying to build a system that will use a USB 6211 to record sounds from multiple electret microphones and then save the data as a .wav file or other sound file. I have already built my mics and hooked the mics up to the USB 6211; the DAQ device seems to do an adequate job recording the signal - I've recorded from 3 mics at a time at 11,025 Hz, although I don't know how good the signals are since I can't save them for playback after the fact, and they aren't going through my sound card. Ultimately, I would like to save the data as a multichannel audio file which I could then open in a program such as Audacity for further editing and analysis. Since Audacity can import a variety of sound files, my file format doesn't need to be .wav if another format would work better.
Any advice would be appreciated.
Thanks, Eric
03-28-2013 12:54 PM
03-28-2013 01:20 PM - edited 03-28-2013 01:23 PM
The USB-6211 should work fine if the mics are providing a decent signal. Have you tried the Sound File Write.vi? It takes waveforms and a file ref and stores the data in WAV format. Post your code if you can't get it working...
EDIT: BTW, the Sound Output Write.vi should also allow you to monitor your mics through the PC's soundcard.
03-28-2013 01:25 PM - edited 03-28-2013 01:29 PM
If you are sampling all three simultaneously, your highest frequency recordable will be (11,025/2)/3, so about 1800Hz and that will pretty coarse (traditionally digital sound recording is at 44Ks/s at the low end). As to converting to a .wav, there are functions on the "Graphics and Sound" palette for saving waveforms to a .wav file.