Patent ID: 7747433

Claim:
A speech encoding method for encoding a speech according to code-excited linear prediction (CELP) comprising: analyzing the speech to obtain a linear prediction parameter; obtaining a linear prediction parameter code by encoding the linear prediction parameter; obtaining an adaptive code vector concerning an adaptive code from an adaptive codebook; obtaining a gain value corresponding to the adaptive code vector; evaluating a noise level of the speech based on the gain value, wherein the evaluated noise level indicates how close the speech is to unvoiced speech; obtaining a weight based on the evaluated noise level; obtaining an excitation code by comparing a coded speech and the speech, wherein the coded speech is obtained by using the adaptive code vector and an excitation code vector, the excitation code vector being obtained by adding a plurality of time series vectors, wherein at least one of the time series vectors is weighted by the weight; and outputting a speech code including the adaptive code, the linear prediction parameter code and the excitation code.