Ending audio playback based on a trigger word
In aspects of ending audio playback based on a trigger word, a mobile device implements an audio playback manager that detects a headset in communication with a mobile device, the headset causing active noise cancellation (ANC) and outputting audio playback communicated from the mobile device. The audio playback manager detects a trigger word that is audible in an environment of the mobile device. In response to detecting the trigger word, the audio playback manager ends the audio playback and adjusts the ANC of the headset.
1 . A mobile device, comprising:
at least one processor coupled with a memory; and
an audio playback manager configured to cause the mobile device to:
detect a headset in communication with the mobile device, the headset causing active noise cancellation (ANC) and outputting audio communicated from the mobile device;
detect a trigger word that is audible in an environment of the mobile device;
pause the audio and simultaneously cause the headset to adjust the ANC in response to detecting the trigger word;
detect dialog after the trigger word; and
resume the audio and cause the headset to further adjust the ANC in response to detecting an end to the dialog.
2 . The mobile device of claim 1 , wherein the trigger word is a name of a user of the mobile device.
3 . The mobile device of claim 1 , wherein the audio playback manager is configured to determine the trigger word using a machine learning model.
4 . The mobile device of claim 3 , wherein the machine learning model is trained on user interactions with the mobile device.
5 . The mobile device of claim 1 , wherein the audio playback manager is configured to detect a location of the mobile device in the environment, and the trigger word is associated with the location.
6 . The mobile device of claim 5 , wherein the audio playback manager is configured to pause the audio and simultaneously cause the headset to adjust the ANC in response to determining the mobile device is located at the location associated with the trigger word.
7 . The mobile device of claim 1 , wherein the trigger word is one of multiple trigger words associated with a user of the mobile device.
8 . The mobile device of claim 1 , wherein the audio playback manager is configured to detect the trigger word using a microphone associated with the mobile device or the headset.
9 . A method, comprising:
detecting a headset in communication with a mobile device, the headset causing active noise cancellation (ANC) and outputting audio communicated from the mobile device;
detecting a trigger word that is audible in an environment of the mobile device;
pausing the audio and simultaneously causing the headset to adjust the ANC in response to detecting the trigger word;
detecting dialog after the trigger word; and
resuming the audio and causing the headset to further adjust the ANC in response to detecting an end to the dialog.
10 . The method of claim 9 , wherein the trigger word is a name of a user of the mobile device.
11 . The method of claim 9 , further comprising determining the trigger word using a machine learning model.
12 . The method of claim 11 , wherein the machine learning model is trained on user interactions with the mobile device.
13 . The method of claim 9 , further comprising detecting a location of the mobile device in the environment, and the trigger word is associated with the location.
14 . The method of claim 13 , further comprising pausing the audio and simultaneously causing the headset to adjust the ANC in response to determining the mobile device is located at the location associated with the trigger word.
15 . The method of claim 9 , wherein the trigger word is one of multiple trigger words associated with a user of the mobile device.
16 . A system, comprising:
a headset having active noise cancellation (ANC); and
a processor configured to implement an audio playback manager to:
detect the headset in communication with a mobile device, the headset playing back audio communicated from the mobile device;
detect, using a microphone associated with the mobile device, a trigger word that is audible in an environment of the mobile device;
pause the audio and simultaneously cause the headset to adjust the ANC in response to detecting the trigger word;
detect dialog after the trigger word; and
resume the audio and cause the headset to further adjust the ANC in response to detecting an end to the dialog.
17 . The system of claim 16 , wherein the trigger word is a name of a user of the mobile device.
18 . The system of claim 16 , wherein the audio playback manager is configured to detect a location of the mobile device in the environment, and the trigger word is associated with the location.
19 . The system of claim 18 , wherein the audio playback manager is configured to end the audio and simultaneously cause the headset to adjust the ANC in response to determining the mobile device is located at the location associated with the trigger word.
20 . The mobile device of claim 1 , wherein the audio playback manager is configured to monitor for the dialog for a predetermined amount of time after detection of the trigger word.