CN-122018847-A - Method and system for switching wireless audio connection during call
Abstract
The present disclosure relates to methods and systems for switching wireless audio connections during a call. A method performed by a first electronic device communicatively coupled to a wireless headset, the method comprising communicating with the wireless headset via a two-way wireless audio connection while participating in a call with a second electronic device, determining that a joint media playback session has been initiated in which the first electronic device and the second electronic device will independently stream media content for individual playback by the first electronic device and the second electronic device while participating in the call, and switching to communicating with the wireless headset via a one-way wireless audio connection based on the determination of one or more capabilities of the wireless headset, wherein 1) a signal or signals associated with the call and 2) a mixed content of audio signals of the media content are transmitted to the wireless headset via the one-way wireless audio connection.
Inventors
- A. KAMAL
- WILLIAMS JAMES MICHAEL
- D. Dalamalingam
- T.G. Carrigan
Assignees
- 苹果公司
Dates
- Publication Date
- 20260512
- Application Date
- 20220513
- Priority Date
- 20210515
Claims (20)
- 1.A method, comprising: During a call between a first electronic device and a second electronic device, communicating with the first electronic device via a unidirectional audio connection at the wireless headset; Detecting speech of a user of the wireless headset at the wireless headset, and At the wireless headset, in response to detecting the voice, communicating with the first electronic device via the bi-directional audio connection by transmitting the voice of the user and receiving sound via the bi-directional audio connection, wherein the sound includes telephony content of the call and audio content of a joint media playback session between the first electronic device and the second electronic device.
- 2. The method of claim 1, further comprising: Receiving accelerometer signals from an accelerometer of a wireless headset, and A Voice Activation Detection (VAD) signal is generated based on the accelerometer signal, Wherein detecting voice of the user of the wireless headset includes determining that the VAD signal is greater than a threshold.
- 3. The method of claim 1, wherein communicating with the first electronic device via the bi-directional audio connection comprises switching from communicating with the first electronic device over the unidirectional audio connection to communicating with the first electronic device over the bi-directional audio connection.
- 4. The method of claim 1, further comprising activating a microphone of the wireless headset to capture speech as a microphone signal in response to communicating with the first electronic device via the bi-directional audio connection, wherein transmitting the speech of the user comprises transmitting the microphone signal via the bi-directional audio connection.
- 5. The method of claim 4, further comprising at least one of: Performing echo cancellation operations to cancel linear echoes from microphone signals, or Noise reduction is applied to the microphone signal.
- 6. The method according to claim 1, Wherein communicating via the unidirectional audio connection comprises transmitting speech of the user captured by the microphone at a first sample rate, Wherein communicating via the bi-directional audio connection includes exchanging speech and sound at a second sampling rate that is lower than the first sampling rate.
- 7. The method of claim 1, wherein the unidirectional audio connection comprises an advanced audio distribution profile (A2 DP) connection and the bidirectional audio connection comprises a hands free mode (HFP) connection or a headset mode (HSP) connection.
- 8. A wireless headset, comprising: at least one processor, and A memory storing instructions that, when executed by the at least one processor, cause the wireless headset to: During a call between a first electronic device and a second electronic device, communicating with the first electronic device via a unidirectional audio connection; Detecting speech of a user of the wireless headset, and In response to detecting the voice, communicating with the first electronic device via the bi-directional audio connection by transmitting the user's voice and receiving sound via the bi-directional audio connection, wherein the sound includes telephony content of the call and audio content of a joint media playback session between the first electronic device and the second electronic device.
- 9. The wireless headset of claim 8, further comprising an accelerometer, wherein the memory comprises further instructions to: Receiving accelerometer signals from an accelerometer of a wireless headset, and A Voice Activation Detection (VAD) signal is generated based on the accelerometer signal, Wherein speech of a user of the wireless headset is detected based on determining that the VAD signal is greater than a threshold.
- 10. The wireless headset of claim 8, wherein the instructions for communicating with the first electronic device via the bi-directional audio connection comprise instructions for switching from communicating with the first electronic device over the unidirectional audio connection to communicating with the first electronic device over the bi-directional audio connection.
- 11. The wireless headset of claim 8, wherein the memory includes further instructions to activate a microphone of the wireless headset to capture speech as a microphone signal in response to communicating with the first electronic device via the bi-directional audio connection, wherein the speech of the user is transmitted by transmitting the microphone signal via the bi-directional audio connection.
- 12. The wireless headset of claim 11, wherein the memory comprises further instructions to perform at least one of: Performing echo cancellation operations to cancel linear echoes from microphone signals, or Noise reduction is applied to the microphone signal.
- 13. The wireless headset of claim 8, Wherein the instructions for communicating via the unidirectional audio connection comprise instructions for transmitting speech of the user captured by the microphone at a first sample rate, Wherein the instructions for communicating via the bi-directional audio connection comprise instructions for exchanging speech and sound at a second sampling rate that is lower than the first sampling rate.
- 14. The wireless headset of claim 13, wherein the second sampling rate is 24kHz.
- 15. A non-transitory machine readable medium having instructions that, when executed by at least one processor of a wireless headset, cause the wireless headset to: During a call between a first electronic device and a second electronic device, communicating with the first electronic device via a unidirectional audio connection; Detecting speech of a user of the wireless headset, and In response to detecting the voice, communicating with the first electronic device via the bi-directional audio connection by transmitting the user's voice and receiving sound via the bi-directional audio connection, wherein the sound includes telephony content of the call and audio content of a joint media playback session between the first electronic device and the second electronic device.
- 16. The non-transitory machine readable medium of claim 15, further comprising instructions to: Receiving accelerometer signals from an accelerometer of a wireless headset, and A Voice Activation Detection (VAD) signal is generated based on the accelerometer signal, Wherein speech of a user of the wireless headset is detected based on determining that the VAD signal is greater than a threshold.
- 17. The non-transitory machine readable medium of claim 15, wherein the instructions for communicating with the first electronic device via the bi-directional audio connection comprise instructions for switching from communicating with the first electronic device over the unidirectional audio connection to communicating with the first electronic device over the bi-directional audio connection.
- 18. The non-transitory machine readable medium of claim 15, comprising further instructions to activate a microphone of the wireless headset to capture speech as a microphone signal in response to communicating with the first electronic device via the bi-directional audio connection, wherein the speech of the user is transmitted by transmitting the microphone signal via the bi-directional audio connection.
- 19. The non-transitory machine readable medium of claim 18, comprising further instructions to perform at least one of: Performing echo cancellation operations to cancel linear echoes from microphone signals, or Noise reduction is applied to the microphone signal.
- 20. The non-transitory machine-readable medium of claim 15, Wherein the instructions for communicating via the unidirectional audio connection comprise instructions for transmitting speech of the user captured by the microphone at a first sample rate, Wherein the instructions for communicating via the bi-directional audio connection comprise instructions for exchanging speech and sound at a second sampling rate that is lower than the first sampling rate.
Description
Method and system for switching wireless audio connection during call The application is a divisional application of the application patent application with the application number 202210521389.9 and the application date 2022, 5 and 13, and the application name of a method and a system for switching wireless audio connection during a call. Technical Field One aspect of the present disclosure relates to an audio system that switches between wireless audio connections during a call based on certain criteria. Other aspects are also described. Background Many devices today, such as smartphones, are capable of various types of telecommunications with other devices. For example, a smartphone may make a phone call to another device. In this case, when a phone number is dialed, the smartphone is connected to the cellular network, which may then connect the smartphone with another device (e.g., another smartphone or landline). In addition, the smartphone is also capable of video teleconferencing in which video data and audio data are exchanged with another device. Disclosure of Invention One aspect of the present disclosure is a method performed by a first electronic device (e.g., a local device) communicatively coupled to an audio output device (e.g., a wireless headset). When engaged in a call with a second electronic device (e.g., a remote device), the local device communicates with the wireless headset via a two-way wireless audio connection (e.g., where audio data may be exchanged between the two devices). The local device determines that a joint media playback session has been initiated in which the local device and the remote device will independently stream the media content for separate playback by the two devices while engaged in the call. Based on the determination of one or more capabilities of the wireless headset, the local device switches to communicate with the wireless headset via a unidirectional wireless audio connection (e.g., where audio data can only be transmitted from the local device to the wireless headset), where 1) one or more signals associated with the call and 2) a mixed content of audio signals of the media content is transmitted from the local device to the wireless headset over the unidirectional wireless audio connection. In one aspect, the determination of one or more capabilities of the wireless headset includes determining whether the wireless headset supports exchanging audio signals with the local device via the bi-directional wireless audio connection at a sampling rate of at least a threshold sampling rate (e.g., 24 kHz). In some aspects, the local device transmits a signal to mute a microphone of the wireless headset and activates the microphone of the local device to capture user speech. In one aspect, the local device displays a pop-up notification on the display screen indicating that the microphone of the wireless headset is muted and requesting user authentication to activate the microphone of the local device, wherein the microphone of the local device is activated in response to receiving user input at the local device. In one aspect, the local device may receive sensor data from at least one sensor that indicates whether the object is within a threshold distance of the local device and switch to communication with the wireless headset via the two-way wireless audio connection in response to the object being within the threshold distance. In another aspect, the local device determines a signal strength of the unidirectional wireless audio connection and switches to communicate with the wireless headset via the bidirectional audio connection in response to the determination that the signal strength is below a threshold. In some aspects, the local device may receive a control signal from the wireless headset indicating that user speech is detected and switch to communicate with the wireless headset via the bi-directional wireless audio connection in response to the control signal. In one aspect, the control signal is a first control signal and switches back to communication with the wireless headset via the unidirectional wireless audio connection in response to receiving a second control signal indicating that user speech is no longer detected. In one aspect, the local device applies scalar gain to the mixed content for at least a period of time after switching to communication with the wireless headset via the unidirectional wireless audio connection. In another aspect, the local device applies noise reduction to one or more signals associated with the call while communicating with the wireless headset via the bi-directional wireless audio connection. In another aspect, the local device may cease applying noise reduction to one or more signals associated with the call in response to switching to communicating with the wireless headset via the unidirectional wireless audio connection. In some aspects, when the local device communicates with the wireless headset via a u