Patent ID: 8392203

Claim:
A method for encoding audio signals to L-bit code streams implemented by an encoding system, the encoding system comprising a sampling unit, a computing unit, a comparing unit, a quantifying unit, and an encoding unit, the method comprising: the sampling unit obtaining first sample data of a current sampling point and second sample data of a previous sampling point of the audio signals; the computing unit computing a data difference between the first sample data of the current sampling point and the second sample data of the previous sampling point, the data difference comprising a numeral and a sign; the comparing unit determining whether the data difference is equal to or more than 0; the quantifying unit quantifying the numeral of the data difference; and the encoding unit encoding the numeral of the data difference with or without the sign according to a determining result as to whether the data difference is equal to or more than 0; wherein if the data difference is equal to or more than 0, the quantifying unit associates the numeral of the data difference to one of M quantitative levels, wherein 2 L-1 <M<2 L , and the encoding unit encodes the numeral of the data difference to one of M L-bit numerical codes based on the quantitative level of the numeral of the data difference.