METHOD AND DEVICE FOR ACUTE SOUND DETECTION AND REPRODUCTION
A method can include measuring an external ambient sound level (xASL), monitoring a change in the xASL for detecting an acute sound, estimating a proximity of the acute sound, and upon detecting the acute sound and its proximity, reproducing the acute sound within an ear canal, where the ear canal is at least partially occluded by an earpiece. Other embodiments are disclosed.
1 . A device comprising:
a microphone, wherein the microphone generates a microphone signal;
a speaker configured to play an audio signal;
a memory that stores instructions; and
a processor that is configured to execute the instructions to perform operations, wherein the processor is coupled to the microphone, wherein the speaker is coupled to the processor, and the operations comprising:
receiving the microphone signal from the microphone;
generating a modified microphone signal by filtering the microphone signal;
receiving an audio signal;
receiving a first audio gain;
generating a frequency sub band amplitude from the modified microphone signal;
detecting an acute signal if the frequency sub band amplitude is greater than a threshold;
analyzing the modified microphone signal if the acute signal is detected to detect a voice;
if the voice is detected then generating a second audio gain by reducing the first audio gain;
generating a new modified audio signal by combining the audio signal with the second audio gain; and
sending the new modified audio signal to the speaker.
2 . The device according to claim 1 , wherein the filtering includes applying a Hamming shaped window.
3 . The device according to claim 1 , wherein the filtering includes applying a Hanning shaped window.
4 . The device according to claim 1 , wherein the device further includes a second microphone that generates a second microphone signal.
5 . The device according to claim 4 , wherein the operations further comprise:
receiving the second microphone signal; and
analyzing the microphone signal and the second microphone signal to detect the direction of the acute signal.
6 . The device according to claim 5 , wherein the direction is detected by analyzing the peak cross correlation of the microphone signal and second microphone signal and the associated time lag of the peak.
7 . The device according to claim 1 , wherein the operations further comprise:
evaluating the sound level of the new modified audio signal to determine if the level exceeds a safe level.