LabVIEW

cancel
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?

Thanks

Bob

0 Kudos
Message 1 of 27
(5,928 Views)

Look for this sample file.

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

0 Kudos
Message 2 of 27
(5,915 Views)
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 (  http://www.highcriteria.com/  ) comes to mind.

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

0 Kudos
Message 3 of 27
(5,914 Views)

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.

Thanks

Bob

 

 

0 Kudos
Message 4 of 27
(5,898 Views)

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 http://www.aonesoft.com/ , http://www.audio-recorder.net/ , and http://audacity.sourceforge.net/ .

0 Kudos
Message 5 of 27
(5,899 Views)
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
(5,881 Views)
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?
 
 
Tomi 
0 Kudos
Message 7 of 27
(5,882 Views)
Interesting.  But iIf I'm not mistaken, these two options might not be available on all sound cards.
0 Kudos
Message 8 of 27
(5,859 Views)
Ok this just might work...
I will do some testing, and get back to you.
Thank you for the ideas!!!
Thanks
Bob
0 Kudos
Message 9 of 27
(5,834 Views)
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.
0 Kudos
Message 10 of 27
(5,824 Views)