CPC G06F 3/165 (2013.01) [G10L 21/034 (2013.01)] | 16 Claims |
1. A method for muting and unmuting a microphone signal, comprising:
providing a processor;
receiving an input microphone signal in a frequency domain;
measuring the input microphone signal for a loudness level at a sampling rate by taking a root-mean-square of the input microphone signal multiplied by a magnitude scaling factor, wherein the magnitude scaling factor is an inverse of a square root of a function of the sampling rate and frame size;
calculating a mute threshold level;
checking if the loudness level is higher than or equal to the mute threshold level, and
resetting a mute delay timer upon determining that the loudness level is higher than or equal to the mute threshold level and obtaining the input microphone signal, or checking if the mute delay timer is running upon determining that the loudness level is not higher than or equal to the mute threshold level and attenuating the input microphone signal if the mute delay timer is not running or obtaining the input microphone signal if the mute delay timer is still running; and
writing the input microphone signal or attenuated input microphone signal to an output buffer.
|