05-31-2007 01:43 PM
I have two sound cards in my computer and I want to use them both to output sound at the same time independent of each other. My problem is that I am only hearing audio out on the sound card that is selected in Windows XP as the default sound output. The other sound card is silent. If I change the default sound device to the previously silent card it now becomes audible and the other one goes silent. Labview 7.1 does recognized that there are two sound cards, one on Device 0 and the other on Device 1 but no matter which one I pick the windows default sound card outputs the sound. I do not get any errors and the program thinks it is doing what it is supposed to.
I thought this may be an operation system problem and not a Labview problem but others applications can use the two sound cards independently just fine. Windows Media player will output sound on whatever card I tell it to and the same with Winamp. I can even output different wave files on the two sound cards at the same time. So I know it can be done but why not in Labview?
Thanks to anyone who can help.
I would forget about the second sound card if I could control in real time the mixing of two or more wave files with independent volume control of the left and right channels of each wave file. What is the best way to do that?
06-01-2007 11:24 AM
06-01-2007 11:47 AM
Thanks, I already figured out the problem and it was like you said. The Snd Play Wave File.vi will not work with anything but the Windows default sound card. The problem is that it does not say that anywhere. Must be a bug. The SO Write and SO Play VI's work fine with whatever sound card you pick.