There is provided a method of updating a noise state of a voice activity
detector (VAD) for indicating an active voice mode and an inactive voice
mode. The method comprises receiving an input signal having a plurality
of frames, determining an elapsed time since the last update of the noise
state, updating the noise state of the VAD if the elapsed time exceeds a
predetermined time, determining an average minimum energy based on two or
more of the plurality of frames, determining a current minimum energy
based on a current frame of the plurality of frames, updating the noise
state of the VAD if the average minimum energy is less than the current
minimum energy, and updating the noise state of the VAD if the average
minimum energy is greater than the current minimum energy plus a first
predetermined value.