01-15-2018 08:08 AM
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
01-15-2018 09:07 AM
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...
01-15-2018 10:01 AM - edited 01-15-2018 10:03 AM
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 jack.
Most important of all,I have a sense of accomplishment when I solve the problem in my life using software.
01-16-2018 10:53 AM
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.
01-17-2018 02:32 AM
luoi wrote:Most important of all,I have a sense of accomplishment when I solve the problem in my life using software.
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...