10-16-2012 07:53 AM
Hi, All.
I am developing a 3D audio system for a flight cockpit in order to perform voice recognition applications. My problem is this: I want to be able to output sound to each speaker in the 7.1 SRS individually. In other words, I need to extrapolate on code that produces sound output to the left or right speaker of a computer. I have developed some LV code that will do that, but when I try to take it to the next level a 7.1 system I get nothing coming from speakers beyound the first two. I have notinced that the channels detected by the "Sound File Info" function is only two, even if I set the "Sound Output Configure" vi to seven. I should also mention that the PC's soundcard is providing the output to the surround sound system through an a/v receiver. Can anyone shed somelight on how I can get the code to see more than two channels and start ouputing sound to each speaker one at a time?? I really would appreciate the help. I am also going to attach the vi I have been working on. Thank you.
Solved! Go to Solution.
10-17-2012 04:47 PM
Hi vehnasa1,
I've looked at your code, and I was able to get a third speaker to give output when using a multi-channel .wav file. I would make sure that you are using a .wav file that has more than two channels in order to get output for speakers past the first two.
10-18-2012 01:11 AM - edited 10-18-2012 01:13 AM
Tried the same with a code posted at
and got the same problem. I build a 7 channel sound waveform, but the LabVIEW sound vis don't seem to bring it right up to the Windows sound API 😞
10-18-2012 05:47 AM
Burrito,
that sounds like a plan. I will download some multi-channel .wav files ASAP. Understanding the big picture is great, but the details are what really getcha.
10-18-2012 03:38 PM
@Henrik_Volkers wrote:
Tried the same with a code posted at
and got the same problem. I build a 7 channel sound waveform, but the LabVIEW sound vis don't seem to bring it right up to the Windows sound API 😞
7.1 surround sound actually has 8 channels instead of 7. Try running your VI with an 8-channel waveform and see if that gives you better results.
10-18-2012 04:57 PM
tried everything from 1 to 8 😞
Actual I had two soundblasters giving me 16 channels and i was able to feed them with different sounds with a winamp, asio and jack combination .... however it wasn't very stable...
10-19-2012 09:29 AM
Hey, everyone, I used both your 4-channel and another 8-channel .wav file and have noticed that the “Sound Output Configure” VI is not recognizing more than two channels, even though I have hardcoded information for eight channels into it. It is simpelely ignoring that setup all together. I am sure that this is also causing it to not recognize the “Sony A/V Receiver” connected to the sound card of the PC. How can I get it, the Sound Output Configure vi, to see the receiver?? The receiver is connected to the sound card via a fiber optic connection or “Opt”. Could you please provide some direction on this matter??
10-22-2012 11:50 AM
According to the help documentation on Sound Output Configure, you should be able to select up to the number of channels that your sound card supports. I would make sure that your sound card can support multi-channel sound, and that it is configured correctly.