IL114874A

Method and apparatus for selecting an encoding rate in a variable rate vocoder

Abstract

A method of adding hangover frames to a plurality of frames encoded by a vocoder, the method comprising: detecting that a predefined number of successive frames has been encoded at a first rate; determining that a next successive frame should be encoded at a second rate that is less than the first rate; and selecting a number of successive hangover frames beginning with the next successive frame to encode at the first rate, the numbering dependent upon an estimate of a background noise level.

Term

No projected expiry on record.

  1. Priority
  2. Filed
  3. Published
  4. Today

20 claims: 6 independent, 14 dependent

  1. 1
    11 114S74/2 CLAIMS 1. An apparatus for determining an encoding rate for an 2 input signal in a variable rate vocoder comprising:subband energy computation means for receiving said input signal 4 and determining a plurality of subband energy values in accordance with a predetermined subband energy computation format;6 a plurality of subband rate determination means wherein each of said plurality of subband rate determination means is for receiving a 8 corresponding one of said plurality of subband energy values and determining a subband encoding rate in accordance with said corresponding 10 one of said plurality of subband energy values to provide a plurality of subband encoding rates;and 12 encoding rate selection means for receiving said plurality of said subband encoding rates and for selecting said encoding rate for said input 14 signal in accordance with said plurality of subband encoding rates.
  2. 2
    The apparatus of Claim 1 wherein said subband energy 2 computation means determines each of said plurality of subband energy values in accordance with the equation:4 L-l subband energy = RS(0)-Rhbp(0) +2· ^Rs(i)· Rhbp(i)/ i=l 6 where L is the number taps in the lowpass filter ht(n), 8 where Rs(i) is the autocorrelation function of the input signal, S(n), and where Rhbp is the autocorrelation function of a bandpass filter hbp(n).
  3. 3
    The apparatus of Claim 1 further comprising threshold 2 computation means disposed between said subband energy computation means and said rate determination means for receiving said subband energy 4 values and for determining a set of encoding rate threshold values in accordance with-said plurality of subband energy values.
  4. 4
    The apparatus of Claim 3 wherein said threshold computation 2 means determines a signal to noise ratio value in accordance with said plurality of subband energy values. 12 114874/2
  5. 5
    The apparatus of Claim 4 wherein said threshold computation 2 means determines a scaling value in accordance with said signal to noise ratio value.
  6. 6
    The apparatus of Claim 5 wherein said threshold computation 2 means determines at least one threshold value by multiplying a background noise estimate by said scaling value.
  7. 7
    The apparatus of Claim 1 wherein each of said subband rate 2 determination means compares said corresponding subband energy value with at least one threshold value to 4 determine said subband encoding rate.
  8. 8
    The apparatus of Claim 6 wherein each of said subband rate 2 determination means compares said corresponding subband energy value with said at least one threshold value 4 to determine said subband encoding rate. 9 An apparatus for determining an encoding rate 2 for a variable rate vocoder comprising:signal to noise ratio means for receiving an input signal and generating an estimate of the information signal energy in said input 6 signal and for generating an estimate of the background noise energy in said input signal and for providing a signal to noise ratio in accordance with said 8 estimate of the information signal energy and said estimate of the background noise energy;10 rate determination means for receiving said signal to noise ratio value and determining said encoding rate in accordance with said signal to noise 1 2 ratio value. 13 114874/2
  9. 9
    10. An apparatus for determining an encoding rate 2 for a variable rate vocoder comprising:a signal to noise ratio calculator that receives an input signal and 4 generates an estimate of the information signal energy in said input signal SncL generates an estimate of the background noise energy in said input 6 signal and for providing a signal to noise ratio in accordance with said estimate of the information signal energy and said estimate of the background 8 noise energy ·: ίθ rate selector that receives said signal to noise ratio value and selects said encoding rate in accordance with said signal to noise ratio value.
  10. 10
    11. A method for determining an encoding rate for an 2 inpuLsignal in a variable rate vocoder comprising the steps of:receiving said input signal;4 determining a plurality of subband energy values in accordance with a predetermined subband energy computation format;6 determining a corresponding subband encoding rate for each of said plurality of subband energy values to provide a plurality of subband encoding 8 rates;and selecting said encoding rate for said input signal in accordance with 10 said plurality of subband encoding rates.
  11. 11
    12. The method of Claim π wherein said step of determining a 2 plurality of subband energy values is performed in accordance with the equation:4 L-l subband energy = Rs(0)· Rhfcp(0) +2- £RS(i)'Rhbp(i)' 6 where L is the number taps in the lowpass filter hL(n), 8 where Rs(i) is the autocorrelation function of the input signal, S(n), and where Rhfcp is the autocorrelation function of a bandpass filter hbp(n).
  12. 12
    13. The method of Claim 11 further comprising the step of 2 determining a set of encoding rate threshold values in accordance with said plurality of subband energy values. 14 114874/2 IQCPA1551
  13. 13
    14. The method of Claim 13 wherein said step of determining a set 2 of encoding rate threshold values determines a signal to noise ratio value in accordance with said plurality of subband energy values.
  14. 14
    15. The method of Claim 14 wherein said step of determining a set 2 of encoding rate threshold values determines a scaling value in accordance with said signal to noise ratio value.
  15. 15
    16. The method of Claim wherein said step of determining a set 2 of encoding rate threshold values determines said rate threshold value by multiplying a background noise estimate by said scaling value.
  16. 16
    17. The method of Claim 11 wherein said step of determining said corresponding subband encoding rate compares tke corresponding subband energy value with at least one threshold value to determine said corresponding subband encoding rate.
  17. 17
    18. The method of Claim 16 wherein said step of determining said corresponding subband encoding rate compares the corresponding subband energy value with said at least one threshold value to determine said corresponding subband encoding rate. 19. · A method for determining an encoding rate for a variable rate vocoder comprising the steps of:receiving an input signal;generating an estimate of the information signal energy in said input signal generating an estimate of the background noise energy in said input signal: calculating a signal to noise ratio in accordance with said estimate of the information signal energy and said estimate of the background noise energy: and determining said encoding rate in accordance with said signal to noise ratio value.
  18. 18
    20. The apparatus of Claim 1 wherein said encoding rate selection means selects the highest rate of said plurality of subband encoding rates as said encoding rate. 15
  19. 19
    21. The method of Claim 1 ϊ wherein said step of selecting said encoding 2 rate selects the highest rate of said plurality of subband encoding rates as said encoding rate. 114874/2
  20. 20
    22. A method for determining the presence of music in a variable rate 2 vocoder, comprising the steps of:receiving a frame of an input signal;4 generating linear predictive coding (LPC) coefficients for said frame;generating a normalized autocorrelation value in accordance with said 6 frame and said LPC coefficients;generating a background noise estimate for said frame;8 generating an average normalized autocorrelation value for the consecutive frames in which said background noise estimate has been 10 increasing from a predetermined initial background noise estimate;and determining the presence of music in accordance with said average 12 normalized autocorrelation value and a predetermined threshold value. /GENT JOR THE APPLICANT