LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Play multiple sound files simultaneously to different outputs

Hi!

 

I want to play multiple sound files simultaneously to different channels using an external sound card. I have no problem accessing the sound card, but I can't figure out how to make the four stereo tracks play at the same time. Is this even possible in LabView?

0 Kudos
Message 1 of 4
(2,949 Views)

Hi Kjetil,

 

as the context help explains you should be using an array of waveforms...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(2,938 Views)

I know how to generate sound, but what I can't figure out is how to make LabVIEW play four stereo tracks at the same time to four different outputs.

0 Kudos
Message 3 of 4
(2,919 Views)

Hi Kjetil,

 

did I understand you correctly? Using one soundcard which provides 8 channels?

 

Playing an array of 8 waveforms should do the trick.

If it doesn't work: does LabVIEW "understands" how to play more than two channels on this soundcard? Does the card provide a "standard" OS driver? Does it need special software to play sound on those 3 other stereo channels?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(2,916 Views)