EP1530201B1

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.

EP1530201B1, drawing sheet 1
Sheet 1 of 26

Term

Term ended

Expired 1 August 2015, 11.1 years ago.

  1. Priority
  2. Filed
  3. Granted
  4. Expired
  5. Today

28 claims: 2 independent, 26 dependent

  1. 1
    An apparatus for determining an encoding rate for a variable rate vocoder comprising:subband energy computation means (4,6) for receiving an input signal (S(n)) and determining a plurality of subband energy values in accordance with a predetermined subband energy computation format;threshold computation means (8, 10) for determining a signal energy estimate and a background noise estimate, and for determining a plurality of encoding rate threshold values in each subband, each encoding rate threshold value being based upon a ratio of said signal energy estimate to said background noise estimate: and rate determination means (12,14, 16) for receiving said plurality of subband energy values and said plurality of encoding rate threshold values, and for determining said encoding rate for said input signal (S(n)) with said plurality of subband energy values and said plurality of encoding rate threshold values.
  2. 2
    The apparatus of Claim 1 wherein said subband energy computation means (4,6) is adapted to determine each of said plurality of subband energy values in accordance with the equation:subband energy = R S 0 ⋅ R h bp 0 + 2 ⋅ ∑ i = 1 L - 1 R S i ⋅ R h bp i , where L is the number taps in a bandpass filter hbp(n), where Rs(i) is the autocorrelation function of the input signal, S(n), and where Rhbp is the autocorrelation function of the bandpass filter hbp(n).
  3. 3
    The apparatus of Claim 1 wherein said threshold computation means (8,10) is adapted to determine a scaling value in accordance with said signal to noise ratio value.
  4. 4
    The apparatus of Claim 3 wherein threshold computation means (8,10) is adapted to determine at least one threshold value by multiplying a background noise estimate by said scaling value.
  5. 5
    The apparatus of Claim 1 wherein said rate determination means is adapted to compare at least one of said plurality of subband energy values with at least one threshold value to determine said encoding rate.
  6. 6
    The apparatus of Claim 4 wherein said rate determination means is adapted to compare at least one of said plurality of subband energy values with said at least one threshold value to determine said encoding rate.
  7. 7
    The apparatus of Claim 1 wherein said rate determination means (12,14,16) is adapted to determine a plurality of suggested encoding rates wherein each suggested encoding rate corresponds to each of said plurality of subband energy values and wherein said rate determination means is adapted to determine said encoding rate in accordance with said plurality of suggested encoding rates.
  8. 8
    The apparatus of Claim 1 wherein said subband energy computation means (4,6) comprises a subband energy calculator and wherein said rate determination means (12,14,16) comprises a rate selector that is adapted to receive said plurality of subband energy values and to select said encoding rate in accordance with said plurality of subband energy values.
  9. 9
    The apparatus of Claim 8 wherein said subband energy calculator is adapted to determine each of said plurality of subband energy values in accordance with the equation:subband energy = R S 0 ⋅ R h bp 0 + 2 ⋅ ∑ i = 1 L - 1 R S i ⋅ R h bp i , where L is the number taps in a bandpass filter hbp(n), where RS(i) is the autocorrelation function of the input signal, S(n), and where Rhbp is the autocorrelation function of the bandpass filter hbp(n).
  10. 10
    The apparatus of Claim 8 further comprising a threshold calculator disposed between said subband energy calculator and said rate selector, said threshold calculator being adapted to receive said subband energy values and to determine a set of encoding rate threshold values in accordance with plurality of subband energy values.
  11. 11
    The apparatus of Claim 10 wherein said threshold calculator is adapted to determine a signal to noise ratio value in accordance with said plurality of subband energy values.
  12. 12
    The apparatus of Claim 11 wherein said threshold calculator is adapted to determine a scaling value in accordance with said signal to noise ratio value.
  13. 13
    The apparatus of Claim 12 wherein threshold calculator is adapted to determine at least one threshold value by multiplying a background noise estimate by said scaling value.
  14. 14
    The apparatus of Claim 8 wherein said rate selector is adapted to compare at least one of said plurality of subband energy values with at least one threshold value to determine said encoding rate.
  15. 15
    The apparatus of Claim 13 wherein said rate selector is adapted to compare at least one of said plurality of subband energy values with said at least one threshold value to determine said encoding rate.
  16. 16
    The apparatus of Claim 8 wherein said rate selector is adapted to determine a plurality of suggested encoding rates, wherein each suggested encoding rate corresponds to each of said plurality of subband energy values, and wherein said rate selector is adapted to determine said encoding rate in accordance with said plurality of suggested encoding rates.
  17. 17
    A method for determining an encoding rate for a variable rate vocoder comprising the steps of:receiving an input signal (S(n));determining a plurality of subband energy values in accordance with a predetermined subband energy computation format;determining a signal to noise ratio value based upon a ratio of a signal energy estimate to a background noise estimate;determining a plurality of encoding rate threshold values in each subband based upon said signal to noise ratio value: and determining said encoding rate for said input signal ((S(n)) in accordance with said plurality of subband energy values and said plurality of encoding rate threshold values.
  18. 18
    The method of Claim 17 wherein said step of determining a plurality of subband energy values is performed in accordance with the equation:subband energy = R S 0 ⋅ R h bp 0 + 2 ⋅ ∑ i = 1 L - 1 R S i ⋅ R h bp i , where L is the number taps in a bandpass filter hbp(n), where Rs(i) is the autocorrelation function of the input signal, S(n), and where Rhbp is the autocorrelation function of the bandpass filter hbp(n).
  19. 19
    The method of Claim 17 wherein said step of determining a set of encoding rate threshold values determines a scaling value in accordance with said signal to noise ratio value.
  20. 20
    The method of Claim 19 wherein said step of determining a set of encoding rate threshold values determines said rate threshold value by multiplying a background noise estimate by said scaling value.
  21. 21
    The method of Claim 17 wherein said determining said encoding rate compares at least one of said plurality of subband energy values with at least one threshold value to determine said encoding rate.
  22. 22
    The method of Claim 20 wherein said step of said determining said encoding rate compares at least one cf said plurality of subband energy values with said at least one threshold value to determine said encoding rate.
  23. 23
    The method of Claim 17 further comprising the step of generating a suggested encoding rate in accordance with each of said plurality of subband energy values and wherein said step of determining an encoding rate selects one of said suggested encoding rates.
  24. 25
    The apparatus of Claim 24, wherein the subband filter subsystem comprises a plurality of subband energy computation elements (4,6), and each of the plurality of subband energy computation elements is adapted for determining a frequency subband signal energy.
  25. 26
    The apparatus of Claim 25, wherein the rate selection subsystem comprises a plurality of threshold adaptation elements (8,10), and each of the plurality of threshold adaptation elements is adapted for using the frequency subband signal energy from a corresponding subband energy computation element (4,6) to determine whether an audio signal is present in the frequency subband.
  26. 27
    The apparatus of Claim 26, wherein each threshold adaptation element (8,10) is configured to determine a threshold value based on the signal energy and a noise estimate of the corresponding frequency subband, wherein the threshold value is used to determine whether the audio signal is present in the frequency subband.
  27. 28
    The apparatus of Claim 26, wherein the plurality of threshold adaptation elements (8,10) are configured to determine a threshold value based upon the combined signal energies for each of the frequency subbands of the input signal (S(n)), wherein the threshold value is used to determine whether the audio signal is present in the frequency subband.
Independent claims27