摘要 |
A method for detecting a voice in an electronic device and an apparatus therefor are provided to improve the performance of detecting voice signals in various conditions by using the threshold value which is dynamically changed according to the voice signal inputted in the electronic device. A signal is inputted(301). The energy and spectrum of the inputted signal frame are measured(303). It is determined whether the inputted signal is a signal frame following the predetermined number of initial frames(305). An SNR(Signal to Noise Ratio) is measured(307). The measured SNR is compared with the preset minimum SNR value(309). The spectrum difference is calculated(315). The calculated spectrum difference is compared with the threshold value of a set corresponding frame(317). If the calculated spectrum difference is identical or smaller to or than the threshold value of the corresponding frame, the corresponding frame is determined as a silent interval(327). |