09-26-2008 02:19 PM
Is there a simple way to play audio through the PC speakers at the same time that it's being recorded as a WAV file via the Sound Input Read VI? I know I can do this through the Windows mixer, but would like to be able to do it through LabView to allow the sound card input to be heard only when the WAV file is being recorded, and muted at other times.
My initial thought is to record to WAV in very small chunks and append a file while playing back each chunk in near real time, but I don't like this approach. Any better ideas?
Thanks in advance,
Andy
09-29-2008 11:34 AM
Hi Andy,
Check out the Simultaneous Sound IO.vi example that ships with LabVIEW. It's at least a good start along the lines of what you are asking for. You can just try to add the file I/O portion. The example is in the Example Finder (Help>>Find Examples...). Look under Hardware Input and Output >> Sound.
Hope it helps!
09-29-2008 11:42 AM
Perfect...I was 90% of the way there, the examples will get me the rest of the way.
Thanks!
Andy