Techniques for power savings, improved security, and enhanced user perceptual audio
A technique for operating a device is disclosed. The technique includes attempting to detect presence of a user based on emitted and reflected audio signals; and controlling power state of the device based on the attempting.
1 . A method for operating a device, the method comprising:
setting a time threshold and correlation amplitude threshold for user detection based on a security sensitivity that indicates a level of security of a surrounding environment;
emitting audio from a speaker of the device and receiving, with a microphone of the device, audio signals reflected based on the emitted audio from one or more objects in an environment of the device;
analyzing for presence of a user based on the reflected audio signals, the analyzing comprising determining whether a time of threshold correlation between the audio emitted from the speaker and the audio signals reflected from the one or more objects in the environment is below the time threshold, wherein the time of threshold correlation comprises a time at which the audio emitted from the speaker and the audio signals reflected from the one or more objects is above the correlation amplitude threshold; and
controlling power state of the device based on the analyzing.
2 . The method of claim 1 , further comprising:
adjusting the security sensitivity for the device based on one or both of ambient noise and reflected sound,
wherein controlling the power state is based on the security sensitivity.
3 . The method of claim 2 , wherein adjusting the security sensitivity based on the reflected sound comprises determining reverberation characteristics for a set of emitted sounds emitted with varying direction.
4 . The method of claim 1 , wherein analyzing for presence of the user comprises determining that a user is present in response to the time of threshold correlation being below the time threshold.
5 . The method of claim 1 , wherein analyzing for presence of the user comprises determining that a user is not present in response to the time of threshold correlation being above the time threshold.
6 . The method of claim 1 , wherein controlling the power states includes powering down the device in response to detecting absence of a user or powering up the device in response to detecting presence of a user.
7 . The method of claim 1 , further comprising adjusting equalizer settings based on reverberation characteristics of an environment.
8 . A device comprising:
a microphone;
a speaker; and
a sound processing controller, configured to:
set a time threshold and correlation amplitude threshold for user detection based on a security sensitivity that indicates a level of security of a surrounding environment;
emit audio from the speaker and receiving, with the microphone, audio signals reflected based on the emitted audio from one or more objects in an environment of the device;
analyze for presence of a user based on the reflected audio signals, the analyzing comprising determining whether a time of threshold correlation between the audio emitted from the speaker and the audio signals reflected from the one or more objects in the environment is below the time threshold, wherein the time of threshold correlation comprises a time at which the audio emitted from the speaker and the audio signals reflected from the one or more objects is above the correlation amplitude threshold; and
control power state of the device based on the analyzing.
9 . The device of claim 8 , wherein the sound processing controller is further configured to adjust the security sensitivity for the device based on one or both of ambient noise and reflected sound, wherein controlling the power state is based on the security sensitivity.
10 . The device of claim 9 , wherein adjusting the security sensitivity based on the reflected sound comprises determining reverberation characteristics for a set of emitted sounds emitted with varying direction.
11 . The device of claim 8 , wherein analyzing for presence of the user comprises determining that a user is present in response to the time of threshold correlation being below the time threshold.
12 . The device of claim 8 , wherein analyzing for presence of the user comprises determining that a user is not present in response to the time of threshold correlation being above the time threshold.
13 . The device ystem of claim 8 , wherein controlling the power states includes powering down the device in response to detecting absence of a user or powering up the device in response to detecting presence of a user.
14 . The device of claim 8 , wherein the sound processing controller is further configured to adjust equalizer settings based on reverberation characteristics of an environment.
15 . A non-transitory computer-readable medium storing instructions that, when executed by a processor, cause the processor to perform operations comprising:
setting a time threshold and correlation amplitude threshold for user detection based on a security sensitivity that indicates a level of security of a surrounding environment;
emitting audio from a speaker of the device and receiving, with a microphone of the device, audio signals reflected based on the emitted audio from one or more objects in an environment of the device;
analyzing for presence of a user based on the reflected audio signals, the analyzing comprising determining whether a time of threshold correlation between the audio emitted from the speaker and the audio signals reflected from the one or more objects in the environment is below the time threshold, wherein the time of threshold correlation comprises a time at which the audio emitted from the speaker and the audio signals reflected from the one or more objects is above the correlation amplitude threshold; and
control power state of the device based on the analyzing.
16 . The non-transitory computer-readable medium of claim 15 , wherein the operations further comprise adjusting the security sensitivity for the device based on one or both of ambient noise and reflected sound, wherein controlling the power state is based on the security sensitivity.
17 . The non-transitory computer-readable medium of claim 16 , wherein adjusting the security sensitivity based on the reflected sound comprises determining reverberation characteristics for a set of emitted sounds emitted with varying direction.
18 . The non-transitory computer-readable medium of claim 15 , wherein analyzing for presence of the user comprises determining that a user is present in response to the time of peak correlation being below the time threshold.
19 . The non-transitory computer-readable medium of claim 15 , wherein analyzing for presence of the user comprises determining that a user is not present in response to the time of peak correlation being above the time threshold.
20 . The non-transitory computer-readable medium of claim 15 , wherein controlling the power states includes powering down the device in response to detecting absence of a user or powering up the device in response to detecting presence of a user.