LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Independently control two audio channel volumes

I am trying to independently control the volume two channels of audio output. I have specified that I want two channels using SoundOutputConfigure.vi and I am giving SoundOutputSetVolume.vi an array of two volumes. Unfortunately, this results in the volume for both channels being set to the value of the first element in the array. What am I doing wrong? I am running LabView 2012 64 bit on 64 bit Windows 7. 

Download All
0 Kudos
Message 1 of 2
(2,675 Views)

Hi Adam,

 

Have you seen the examples for using sound VIs? You can find them by going to Help >> Find Examples. Then within the Example Finder, go to Hardware Input and Output >> Sound. A good example to look at would be the Generate Sound.vi. Take a look at this example and other examples within the Sound folder. These are good references to compare to your current code. Good luck!

Thanks,

Rita Prather
Software Product Manager
rita.prather@ni.com
National Instruments
0 Kudos
Message 2 of 2
(2,620 Views)