Showing results for 
Search instead for 
Did you mean: 

How can I record what the sound card is outputting?

I have an app. that I need to be able to capture what the sound card is outputting.  That is I want to record anything that plays from the sound card.  I don't want to have to route the speaker out to the mic in.  Is there a way to "capture" the sound as it is being played?



0 Kudos
Message 1 of 27

Look for this sample file.

C:\Program Files\National Instruments\LabVIEW 7.0\examples\sound\sndExample.llb\Record Wave

0 Kudos
Message 2 of 27
Won't that example require routing the speaker out to the mic in?
I've used programs before that do this kind of thing, but most of them work by inserting a special capture driver between the operating system and the sound card driver.  Total Recorder (  ) comes to mind.

Message Edited by kehander on 08-29-2006 10:37 AM

0 Kudos
Message 3 of 27

Yes, that is what I tried and yes you have to route speaker out to mic in.  I really don't want to have to do that.  Using an external program may be a thought but, I would like to be able to control it from LabVIEW.

Thank you for your help, if anyone can come up with an idea it would be a great help to me.





0 Kudos
Message 4 of 27

I really can't see how you would do it without using an external program.  There's probably something out there that is similar but can still be controlled through ActiveX or the System Exec VI if that's an issue.

Alternatives I have heard of include , , and .

0 Kudos
Message 5 of 27
All you have to do is go into your advanced properties for sound devices in control panel. Click the recording button and select "what u hear". I just recorded an mp3 that was playing with the labview example file.
Message 6 of 27
As I understand you would like to record the sound (wave, midi, others...) generated by a third party application without a cable loop between soundcard output and any soundcard input (mic, line, aux).
Have you already tried to set the record input on the recording control panel of Windows to stereo mix and to use any standard labview vi (eg: snd read waveform) for recording?
0 Kudos
Message 7 of 27
Interesting.  But iIf I'm not mistaken, these two options might not be available on all sound cards.
0 Kudos
Message 8 of 27
Ok this just might work...
I will do some testing, and get back to you.
Thank you for the ideas!!!
0 Kudos
Message 9 of 27
One further point.  If you do use the loopback cable, it goes from line out to line in, not line out to mic in.  Using the mic input may damage it, since it accepts a much lower level signal than the line out produces.
This account is no longer active. Contact ShadesOfGray for current posts and information.
0 Kudos
Message 10 of 27