×

PULSE ENCODING AND DECODING METHOD AND PULSE CODEC

  • US 20180190304A1
  • Filed: 12/22/2017
  • Published: 07/05/2018
  • Est. Priority Date: 06/24/2010
  • Status: Active Grant
First Claim
Patent Images

1. An audio signal encoder comprising a processor and a non-transitory computer readable medium storing instructions for execution by the processor, wherein when the instructions are executed by the processor, the processor is configured to:

  • obtain an audio signal;

    determine number of pulses on each of T tracks of the audio signal, wherein T is an integer greater than or equal to 2;

    collect statistics of pulses on multiple positions on each track, wherein the statistics of pulses on a tth track, 0≤

    t≤

    T−

    1, include;

    (a) number of positions Nt that have pulses, (b) distribution of the Nt positions on the tth track, (c) number of pulses on each of the Nt positions, and (d) symbols of the pulses on each of the Nt positions;

    determine, for each track, a first index I1t, wherein I1t is a value determined according to the number of the positions Nt and wherein all possible distributions of the Nt positions on the tth track correspond to the first index I1t, where 0≤

    t≤

    T−

    1;

    determine, for each track, a second index I2t, wherein the second index I2t indicates, among the all the possible distributions of the Nt positions, a current distribution of the Nt positions on the tth track, where 0≤

    t≤

    T−

    1;

    determine, for each track, a third index I3t by mapping distributions in which the Nt positions have custom-character pulses to distributions that the Nt positions have custom-character

    Nt pulses, where 0≤

    t≤

    T−

    1, wherein (a) Nt represents a total number of pulses on the tth track, (b) all possible distributions of the custom-character

    Nt pulses on the Nt positions are arrayed according to a set order, and (c) an arrayed serial number obtained by the above arraying process is used as the third index I3t indicating the number of pulses on a position that has a pulse;

    generate a symbol index Ist according to the symbols of the pulses on each of the Nt positions;

    generate, for each track, a joint index using information of the first, the second, the third, and the fourth indexes of the track;

    compare the joint index with an adjustment threshold (THR), wherein THR≤

    2Bmax

    Imax(T), Imax(T) represents an upper limit of the joint index, and Bmax represents an upper limit of the number of bits used for encoding the joint index; and

    when the joint index is smaller than the THR, encode the joint index by using a first number of code bits and transmit the encoded joint index;

    orwhen the joint index is greater than or equal to the THR, encode the joint index plus an offset value (THR0) by using a second number of code bits and transmit the encoded joint index plus the THR0, wherein (a) THR≤

    THR0

    2Bmax

    Imax(T), (b) the first number of coding bits is smaller than the second number of coding bits, (c) the second number of coding bits is smaller than or equal to Bmax, and (d) the first number of coding bits and the second number of coding bits are both positive integers.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×