1. A method of quantizing a vector representative of a portion of a speech or audio signal in an encoder, comprising: (a) determining legal candidate codevectors among a set of candidate codevectors based upon one or more illegal space definitions, the candidate codevectors including line spectral frequencies (LSFs), wherein the one or more illegal space definitions define invalid spacing characteristics of LSFs; (b) determining a best legal candidate codevector among the legal candidate codevectors, whereby the best legal candidate codevector corresponds to a quantization of the vector; and (c) transmitting to a decoder a signal representative of the portion of the speech or audio signal based on the best legal candidate codevector.
1. A method of quantizing a vector representative of a portion of a speech or audio signal in an encoder, comprising: (a) determining legal candidate codevectors among a set of candidate codevectors based upon one or more illegal space definitions, the candidate codevectors including line spectral frequencies (LSFs), wherein the one or more illegal space definitions define invalid spacing characteristics of LSFs; (b) determining a best legal candidate codevector among the legal candidate codevectors, whereby the best legal candidate codevector corresponds to a quantization of the vector; and (c) transmitting to a decoder a signal representative of the portion of the speech or audio signal based on the best legal candidate codevector. 2. The method of claim 1 , wherein step (c) comprises: transmitting to the decoder at least one of: the best legal candidate codevector, and an index identifying the best legal candidate codevector.