How to split-output sounds to speaker and earphone? [closed] - audio

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
OS: win xp
motherboard: ASUS A8N-E (with sound card built-in)
I have a speaker and an earphone.
When using mp3 player and media player at the same time, all of the sounds
will output to all sound output devices(speaker and earphone).
Is it possible to let the mp3 only output in speaker while
the media player only output in earphone?

Which operating system?
If you're running Windows and your PC has an HDAudio solution, then the speakers and headphones may appear as two separate output devices (it depends - for instance, on my laptop the headphones and speakers appear as the same output device and there's an electrical switch that switches between the two when the headphones are plugged in).
If the headphones and speakers appear as separate audio devices, then hopefully your media player has configuration options that allow you to select the output device it uses.
If you're running an AC'97 audio solution (and I suspect you are because your audio solution appears to support hardware loopback), you are likely to be out of luck - it all depends on how the manufacturer of your audio solution wired it up.
If you're running Windows 7, if you launch the audio Playback controls control panel (mmsys.cpl), select "Properties" for the device the where the MP3 player is plugged in and navigate to the "Listen" tab, you can ask Windows to play the contents of any input onto any output device.

No, not without a second sound card

Related

Using Arduino Lily Pad together with HC-6 bluetooth device [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am thinking of doing a project with wearable electronics.
First off I was wondering if you can connect the HC-6 Bluetooth device to the Lilly Pad, to send data to a computer via Bluetooth? or do I absolutely have to buy the "expensive" Bluetooth Mate?
Second, if the above is not possible, what is the smartest and cheapest solution for sending data from a Lily Pad to a computer?
I don't see why not. First off, this tutorial shows you how to attach the HC-06 to an Arduino Uno: http://www.instructables.com/id/Add-bluetooth-to-your-Arduino-project-ArduinoHC-06/?ALLSTEPS
Even though you are using a Lilypad, the pins are the same. Here is a pinout diagram for the Lilypad: http://figures.oreilly.com/tagoreillycom20090710oreillybooks308088I_book_d1e1/figs/I_mediaobject5_d1e21363-web.png
This does a decent job of explaining Bluetooth serial communication for Macs: https://decyborg.wordpress.com/2013/09/08/bluetooth-serial-communication-with-arduino-jy-mcu-bluetooth-and-macbook-pro/
Or you could check this out for Windows: https://www.microsoft.com/en-us/store/apps/bluetooth-serial-terminal/9wzdncrdfst8
Hope this helps.

Raspberry PI USB Webcam - Logitech Quickcam 9000 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I have been trying to stream my webcam over http with a raspberry pi 2 using mjpg-streamer. It works to stream the webcam and also some of the image controls, like brightness, focus, etc...
What I cannot seem to get to work is the zoom controls on the logitech's QuickCam Pro 9000. On a windows PC with the logitech software, I am able to zoom in and out. Yet, using mjpg-streamer, I am unable to replicate this control.
I have looked at a lot of links include:
http://www.slblabs.com/2012/09/26/rpi-webcam-stream/
http://sourceforge.net/projects/mjpg-streamer/
http://blog.philippklaus.de/2010/03/logitech-quickcam-pro-9000/
http://sourceforge.net/p/mjpg-streamer/code/HEAD/tree/
https://www.raspberrypi.org/forums/viewtopic.php?t=10496&p=124750
https://github.com/jacksonliam/mjpg-streamer/tree/master/mjpg-streamer-experimental
http://blog.cudmore.io/post/2015/03/15/Installing-mjpg-streamer-on-a-raspberry-pi/
http://www.slblabs.com/2012/09/26/rpi-webcam-stream/
Yet, I have not been able to figure out the zoom control for the webcam. Anyone have any idea how to get the zoom controls working with mjpg-streamer or another video streamer for USB webcam for the raspberry pi?
It turns out that there are no zoom controls after all for the webcam. The windows software simply does a digital zoom on the video feed from the webcam.
If you would like this feature for mjpeg-streamer, then it may be an idea to use a javascript script to add some sort digital zoom controls for the video feed from the webcam in the browser.

Arduino Uno Bluetooth Communication with Mac [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm trying to create an Arduino bluetooth remote that can connect with my Mac (and potentially other devices) and basically transmit a few distinct signals back and forth at the push of a button (or Arduino pushbutton). I want to create a remote to control a web app I've built, basically a controller for a game.
I have an Arduino Uno Rev3 starter kit, an RN-42 bluetooth module & a 1sheeld from Google Play, and a Macbook Pro.
Could anyone suggest good guides or online tutorials that can help me set up the communication from Arduino to my computer? Or does anyone have experience with this and would be able to give me some tips?
It's relatively straightforward.
bind the arduino bluetooth to your mac bluetooth.
use Serial.* print commands. Normally these go to your computer via USB, but if you have the Bluetooth connected it will go over the Bluetooth connection.
the default baud rate of most bluetooth devices is 9600 baud.
So, develop your code the same way as if you were connected via Serial over USB, and it will work without change when you attach the Bluetooth.
Note: Typically USB and Bluetooth will use the same pins, so you can only use one or the other, not both at the same time.

how to determine which codecs a bluetooth device supports over A2DP [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
The community reviewed whether to reopen this question 2 months ago and left it closed:
Original close reason(s) were not resolved
Improve this question
I have a bluetooth device (headphones) that supports playing audio over A2DP.
I've been pairing them with both an iPhone and an Android, and I get only extremely poor audio quality with both sources.
My suspicion is that the device only supports the SBC codec, but not Mp3. Or if it does MP3, only an abysmally low bitrate.
The manufacturer only states A2DP is supported, but not which codecs.
How can I determine which codecs are supported? Is there a kind of protocol sniffer I could use on my phone or my computer and interrogate the device to get a definitive answer on what it supports?
You can actually see used A2DP codec in iOS device's console.
Step-by-step guide:
Connect your iOS device to your Mac, answer Trust on the iOS device if you haven't done this before.
Open Console.app.
Select your iOS device on the left sidebar.
Type bluetooth in the top-right search bar, press Enter and select Subsystem instead of All:
Now, start playing to your bluetooth headphones on the iOS device (codec activates only when you output sound).
Press Cmd+F and search for Starting a2dp send thread in your console messages:
You'll see used codec in codec: field. Values are the same as specified in Bluetooth specs (example). Basically 0 = SBC, 2 = AAC.
Was very surprised, though, that a pair of headphones I just bought from very adored and award-winning manufacturer (not Sennheiser) does not have AAC codec in them, despite having that in specifications (will not name them here, contacting their tech support for clarification).

Bluetooth LE GUI Tool for Linux [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm currently developing on a Bluetooth LE embedded project.
For discovering my BLE peripherals, I currently use some apps for Android 4.3 (e.g. Nordic nRF Toolbox and nRF Master Control Panel) and iOS (LightBlue).
On my desktop PC (running kubuntu 12.04), I currently use hcitool and gatttool from commandline e.g. for viewing and changing the characteristics values of my BLE peripherals.
Did anybody know, if there was a gui tool available for linux, with similar features like the Nordic nRF Android Apps or like LightBlue for iOS?
I want to use the linux GUI tool for:
explore my advertising BLE peripherals
connect them
discover their provided services & characteristics
view & change the characteristics values
Linux currently does not have any GUI based BLE tools. The LightBlue referred to in user1990's answer is actually an old outdated program that does not implement BLE.
Anything short of command-line BlueZ using gatttool, or hcitool to do what you want, you will not find.
This site has a good tutorial for device, characteristic, and service discovery.
LightBlue is avaiable on linux and mac os X. LightBlue
I realize this is an old thread, but maybe it can be helpful to someone anyway.
The company I work for has just released a prerelease version of a new Bluetooth Smart tool. It's available for Linux, OSX and Windows. Note that it requires a development kit from Nordic Semiconductor to operate.

Resources