LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to access primary sound buffer?

Hi all,

 

This is what I am currently doing:

 

Playing a sound through the audio line out and feeding it back into the microphone's audio line in (picture an audio "null-modem"); which, then is read by a VI that filters the signal, displaying the output on a graph. I should note the sound is separate to the VI being used to filter the audio line in, e.g. it's originates from a media player running in the background.

 

This is what I am attempting to achieve:

 

Removing the need for the "null modem" and use the primary sound buffer's input, i.e. the audio line's output, as input to the VI that filters the signal.  

 

My question is:

 

  How can I access the primary sound buffer using Labview? Moreover, can I use the primary sound buffer's contents as input to a VI?

 

There seems to be a number of sound VIs but they focus on .wav files and the VI needs to be supplied with the signal directly in order for them to work. I suppose my idea is to access the output and copy it to a buffer that I can use.

 

If any one would shed some insight on my problem I'd appreciate it.

 

Regards,

 

Frazer

 

 

0 Kudos
Message 1 of 1
(2,200 Views)