-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate outputting cue voice and main voice to two separate audio devices #100
Comments
I’m thinking this maybe useful : https://www.npmjs.com/package/cordova-plugin-headsetdetection |
I need to do some testing to figure it out... |
NB: Main priority is bluetooth for Main Voice. That is the one that needs amplification more than the cue. |
Found a useful thread. Related to this issue, I will leave it here for reference. |
…#100 1. separate override_to_speaker from speak_utterance 2. reduce call to override_to_speaker (only when its needed). The reason is chaning AVSession is not very efficient for bluetooth connected device. So we minimize call to it. 3. change name of audscan-cordova-plugin to pasco-cordova-plugin
…#100 1. separate override_to_speaker from speak_utterance 2. reduce call to override_to_speaker (only when its needed). The reason is chaning AVSession is not very efficient for bluetooth connected device. So we minimize call to it. 3. change name of audscan-cordova-plugin to pasco-cordova-plugin
…tinspeaker or default), +enhancement edit-config.js contains a new button in cordova-ios for opening audio output volume + route control. Three option for overriding output audio. Each does what it says. None will not override and listen to what user did ask at audio manager...
This is buggy - but I'm not sure its anything we can fix.. Basically in testing this sometimes its losing the bluetooth speaker. It just drops from the audio manager. This may be our bluetooth unit or something on pasco. Needs more testing to clarify |
Wonder if fixed better on android. Hence #84 |
Having discussed with @hosseinamin the not such small task in porting pasco to Droid in Windows its made me think again about this issue. I think we need to focus on this. ScenariosIts worth thinking about this in the way of a user scenario. Scenario 1. Wired & Bluetooth
Scenario 2. Bluetooth & On-device
Scenario 2. Bluetooth & Bluetooth
ProblemSo in each of these setups:
What if we had named devices for Bluetooth devices? Would that help? Just wondering if this needs a good look at again - both for usability and reliability. Maybe useful https://developer.apple.com/documentation/avfaudio/avaudiosession/1616443-overrideoutputaudioport |
We could solve this problem another way. We could make use of the headphone Jack and split audio between left and right channels. Then we use a splitter and if the user wanted Bluetooth for one channel they could use something like a bluetooth transmitter. Messy though - and would need power for that transmitter as their own battery won't last long. We could make some of our own electronics and housing to deal with it I guess. @paulhewett |
Output
Questions to answer:
Output:
Original issues
Having discussed with @hosseinamin the not such small task in porting pasco to Droid in Windows its made me think again about this issue. I think we need to focus on this.
Scenarios
Its worth thinking about this in the way of a user scenario.
Scenario 1. Wired & Bluetooth
Scenario 2. Bluetooth & On-device
Scenario 2. Bluetooth & Bluetooth
Problem
So in each of these setups:
What if we had named devices for Bluetooth devices? Would that help?
Just wondering if this needs a good look at again - both for usability and reliability.
Maybe useful https://developer.apple.com/documentation/avfaudio/avaudiosession/1616443-overrideoutputaudioport
Will need to support Bluetooth as an output for speakers. I imagine this won't be as easy as the detection of a wired headphone being plugged in (there can be numerous bluetooth audio devices attached).
Might need to rethink the settings menu. Maybe a sub-section for Audio management?
This is going to be more and more needed now that Apple has removed the headphone jack :(
The text was updated successfully, but these errors were encountered: