The application discloses a speech
compression method and
system based on feature-weighted residual
vector quantization, and belongs to the technical field of speech compression. The method comprises the following steps: encoding a speech
signal to obtain an encoded feature; calculating a feature weight of the encoded feature; performing multi-stage quantization on the encoded feature, introducing the feature weight of the encoded feature in each quantization process, calculating a weighted
Euclidean distance between an input vector of each stage and a candidate
code word, selecting the candidate
code word with the minimum weighted
Euclidean distance as a quantized vector of each stage to obtain a quantized feature; wherein the input vector of the first stage quantization is the encoded feature, and the input vectors of the remaining stage quantizations are all residuals of the encoded feature and all the quantized vectors of the previous stages; and determining a synthesized speech
signal according to the quantized feature. The
speech synthesis quality is ensured, and the technical problem that the
speech synthesis quality is limited by the current method is solved.