×

Audio encoding method and apparatus

  • US 10,347,267 B2
  • Filed: 08/21/2017
  • Issued: 07/09/2019
  • Est. Priority Date: 06/24/2014
  • Status: Active Grant
First Claim
Patent Images

1. An audio encoding method, comprising:

  • dividing an energy spectrum of each of N audio frames into P fast Fourier transform (FFT) energy spectrum coefficients, wherein P and N are positive integers, and the N audio frames comprise a current audio frame;

    determining a general sparseness parameter according to energy of the P FFT energy spectrum coefficients of each of the N audio frames by determining an average value of minimum bandwidths of distribution on spectrums of a first preset proportion of energy of the N audio frames according to the energy of the P FFT energy spectrum coefficients of each of the N audio frames, wherein the general sparseness parameter comprises a first minimum bandwidth, wherein the average value of the minimum bandwidths of the distribution on spectrums of the first preset proportion of the energy of the N audio frames is used as the first minimum bandwidth, and wherein the general sparseness parameter indicates sparseness of distribution in energy spectrums of the N audio frames; and

    determining, based on the sparseness of distribution, whether to use a first encoding method or a second encoding method to encode the current audio frame, wherein the first encoding method is based on time-frequency transform and transform coefficient quantization, and the second encoding method is a linear-predication-based encoding method, andwherein the first encoding method is determined to be used to encode the current audio frame based on a condition that the first minimum bandwidth is less than a first preset value, or the second encoding method is determined to be used to encode the current audio frame based on a condition that the first minimum bandwidth is greater than the first preset value.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×