×

Audio coding method and related apparatus

  • US 10,056,089 B2
  • Filed: 01/18/2017
  • Issued: 08/21/2018
  • Est. Priority Date: 07/28/2014
  • Status: Active Grant
First Claim
Patent Images

1. A method for encoding an audio signal, performed by an audio signal encoder which comprises a processor and a memory storing program instructions for execution by the processor, the method comprising:

  • performing, by the encoder, a time-frequency transformation on a current frame of a time-domain audio signal, to obtain spectral coefficients of the current frame;

    obtaining, by the encoder, one or more reference coding parameters of the current frame;

    determining, by the encoder, whether the reference coding parameters satisfy any one of a set of parameter conditions;

    (1) when any one of the parameter conditions is satisfied, encoding the audio signal comprising;

    quantizing, by the encoder, the spectral coefficients of the current frame using a transform coded excitation (TCX) algorithm; and

    writing the quantized spectral coefficients into a bitstream for storing or transmitting;

    or(2) when none of the parameter conditions is satisfied, encoding the audio signal comprising;

    quantizing, by the encoder, the spectral coefficients of the current frame using a high quality transform coding (HQ) algorithm; and

    writing the quantized spectral coefficients into a bitstream for storing or transmitting;

    wherein the current frame comprises a subband z, and two subbands i and j;

    wherein the subband z and the subbands i and j are such that;

    a highest frequency bin of the subband z is higher than a critical frequency bin F1, and F1 is in a range of 6.4 kHz to 12 kHz; and

    a highest frequency bin of the subband i is lower than a highest frequency bin of the subband j, the highest frequency bin of the subband j is higher than a critical frequency bin F2, and F2 is in a range of 4.8 kHz to 8 kHz;

    wherein the obtained reference coding parameters comprise;

    a peak value of spectral coefficients that are located within the subband z, and an average value of spectral coefficients that are located within the subband z; and

    an average energy of spectral coefficients that are located within the subband and an average energy of spectral coefficients that are located within the subband j;

    and wherein the parameter conditions comprise a parameter condition as following;

    the peak value of the spectral coefficients that are located within the subband z is greater than the average value of the spectral coefficients that are located within the subband z multiplied by a threshold T2; and

    the average energy of the spectral coefficients that are located within the subband j is greater than a product of the average energy of the spectral coefficients that are located within the subband i multiplied by a threshold T4.

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