Method and device for pulse encoding, method and device for pulse decoding
First Claim
1. A audio signal encoding method, comprising:
- with an audio signal encoder,receiving an input audio signal;
extracting information of pulses on a track of the audio signal, wherein the information of the pulses comprises;
number of the pulses, positions of the pulses on the track, and symbols of the pulses;
determining an index value corresponding to the information of the pulses;
determining an initial number of bits for encoding the index value;
comparing the index value with an adjustment threshold value;
when the index value is smaller than the adjustment threshold value, encoding the index value using a reduced number of bits, orwhen the index value is not smaller than the adjustment threshold value, encoding the index value plus an offset value using the initial number of bits; and
transmitting the encoded index value to a decoding side,wherein the reduced number of bits is smaller than the initial number of bits, and the initial number of bits and the reduced number of bits are both positive integers,and wherein the offset value is greater than or equal to the adjustment threshold value.
1 Assignment
0 Petitions
Accused Products
Abstract
The present application discloses a pulse encoding method for use by a voice encoder. An initial number of coding bits is determined according to number of pulses in an input signal. An index value is calculated according to information of the pulses in the input signal. The index value is compared with an adjustment threshold value. If the index value is smaller than the adjustment threshold value, the index value is encoded using a reduced number of encoding bits. If the index value is not smaller than the adjustment threshold value, the index value plus an offset value is encoded using the initial number of encoding bits. The reduced number of encoding bits is smaller than the initial number of encoding bits, and the offset value is greater than or equal to the adjustment threshold value.
-
Citations
6 Claims
-
1. A audio signal encoding method, comprising:
with an audio signal encoder, receiving an input audio signal; extracting information of pulses on a track of the audio signal, wherein the information of the pulses comprises;
number of the pulses, positions of the pulses on the track, and symbols of the pulses;determining an index value corresponding to the information of the pulses; determining an initial number of bits for encoding the index value; comparing the index value with an adjustment threshold value; when the index value is smaller than the adjustment threshold value, encoding the index value using a reduced number of bits, or when the index value is not smaller than the adjustment threshold value, encoding the index value plus an offset value using the initial number of bits; and transmitting the encoded index value to a decoding side, wherein the reduced number of bits is smaller than the initial number of bits, and the initial number of bits and the reduced number of bits are both positive integers, and wherein the offset value is greater than or equal to the adjustment threshold value. - View Dependent Claims (2, 3)
-
4. A non-transitory computer readable medium having computer executable program codes stored thereon for use by an audio signal encoder, wherein the program codes comprise instructions for:
-
receiving an input audio signal; extracting information of pulses on a track of the audio signal, wherein the information of the pulses comprises;
number of the pulses, positions of the pulses on the track, and symbols of the pulses;determining an index value corresponding to the information of the pulses; determining an initial number of bits for encoding the index value; comparing the index value with an adjustment threshold value; when the index value is smaller than the adjustment threshold value, encoding the index value using a reduced number of bits, or when the index value is not smaller than the adjustment threshold value, encoding the index value plus an offset value using the initial number of bits; and transmitting the encoded index value to a decoding side, wherein the reduced number of bits is smaller than the initial number of bits, and the initial number of bits and the reduced number of bits are both positive integers, and wherein the offset value is greater than or equal to the adjustment threshold value. - View Dependent Claims (5, 6)
-
Specification