LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to read the output of sound card(speaker not micphone)

Background: The headphone jack of my laptop is broken,and I want to use headphone to listen instead of the self-contained speaker.So I want to read the sound of the speaker, and send to cellphone.Then I can listen from cellphone with headphone.

Difficulty: It's easy to read micphohe, but how to use LabVIEW to read the speaker? 

Something may be helpful:Loopback Recording

0 Kudos
Message 1 of 5
(3,010 Views)

So when capturing the speaker output, how are you going to send it to (another) speaker output? Seems to me it's easier to directly send it to the other output. For instance, I'd try to set the cell phone as a Bluetooth audio device, and then select that as laptop output.

 

Or buy a USB sound output (google "usb audio adapter"). First one I found is €8,-...

 

For me (working at commercial rate) it would be probably even be cheaper to buy a new laptop that to start programming this (for hours if not days). It only makes sense if you want to do this for fun...

0 Kudos
Message 2 of 5
(2,989 Views)

wiebe@CARYA 已写:

So when capturing the speaker output, how are you going to send it to (another) speaker output? Seems to me it's easier to directly send it to the other output. For instance, I'd try to set the cell phone as a Bluetooth audio device, and then select that as laptop output.

 

Or buy a USB sound output (google "usb audio adapter"). First one I found is €8,-...

 

For me (working at commercial rate) it would be probably even be cheaper to buy a new laptop that to start programming this (for hours if not days). It only makes sense if you want to do this for fun...



I want to use the headphone when I'm watching videos on laptop.My plan is using udp to send sound data to cellphone with a application on cellphone receiving sound data and playing.

In fact I've bought a usb sound adapter,but it can't work well on my laptop when it's good on other computer. I think maybe there's also something wrong with my usb jackSmiley Sad.

Most important of all,I have a sense of accomplishment when I solve the problem in my life using softwareSmiley Very Happy.

0 Kudos
Message 3 of 5
(2,978 Views)

You can't use LabVIEW to "read the speaker", because a speaker is an audio OUTPUT device. 

 

You need an audio INPUT like a microphone or other analog DAQ device.

 

If  you just want to redirect the Windows sounds then just use a Bluetooth adaptor and BT headphones.

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 4 of 5
(2,939 Views)

luoi wrote:
Most important of all,I have a sense of accomplishment when I solve the problem in my life using softwareSmiley Very Happy.

Guess that qualifies as "doing it just for fun".

 

RTSLVU wrote:

You can't use LabVIEW to "read the speaker", because a speaker is an audio OUTPUT device. 

I just glanced at the .net reference, but I agree with luoi that it suggests it is possible to read the output. With .net, so also with LabVIEW. Possible, but it could be very difficult. Or very easy, .net surprises me sometimes (like a complete http server with only 2-5 .net nodes). Only one way to find out...

 

 

0 Kudos
Message 5 of 5
(2,918 Views)