摘要 |
<p>In a method and device for quantizing a spectrum vector, supplied at recurrent time intervals, to produce a spectrum index, a spectrum-vector quantization codebook including a first voice-signal quantization codebook portion and a second non-voice signal quantization codebook portion is used. Whether the spectrum vector represents a voice signal or a non-voice signal is detected. When the spectrum vector represents a voice signal, the first codebook portion is searched for quantizing the spectrum vector and producing the spectrum index. The second codebook portion is searched for quantizing the spectrum vector and producing the spectrum index when the spectrum vector represents a non-voice signal. According to a first alternative, the first and second codebook portions are searched by measuring a weighted distance between the spectrum vector and the entries of these two codebook portions, and the spectrum vector is considered as representing a non-voice signal when the smallest weighted distance is the weighted distance measured between the spectrum vector and one entry of the second codebook portion. According to a second alternative, a weighted distance is measured between the spectrum vector and the entries of the second codebook portion, and the spectrum vector is considered as representing a non-voice signal when the weighted distance measured between the spectrum vector and one entry of the second codebook portion is smaller than a predetermined threshold.</p> |