An enhancement method for a coarse quantizer in the ATRAC

Abstract: For enhancing a block companding uniform midtread quantizer in the ATRAC (Adaptive Transform Acoustic Coding) , for the quantization of digital audio signals, wherein the audio signal is represented by a plurality of frames of quantized spectral components : the method is modifying all spectral sample values in a defined frequency intervalby a constant factor; finding a scale factor of the frequency intervalfrom a maximum value of the spectral sample; quantizing all the spectral sam ples in the frequency interval with a modified quantizer.

Description: This invention relates to the efficient information coding of digital audio signals for transmission or digital storage media. Compression algorithms for wide band audio signals are finding wide-spread applications in recent years. In the area of consumer electronics, the digital compact cassette (DCC) and the mini-disc system (MD) are two applications of these compression algorithms. While the DCC system uses a compression algorithm that is based on subband coding, the MD system uses an algorithm that is based on a hybrid of subband and transform coding with the transform coding portion forming the backbone of the algorithm. This invention is related to the quantization in the MD coder. The MD system uses the ATRAC compression algorithm that is documented in chapter 10 of the MD system description by Sony in December 1991. The ATRAC algorithm compresses the input audio signals at a bit rate of 705.6 k bit/s/channel to a bit rate of 146.08 k bit/s/channel. Fig. 5 shows the block diagram of the encoding process. The input time signals are first passed through a splitting filter bank, 1, 2, 3, to obtain the signals in three frequency bands. The lower two bands are each at half the bandwidth of the uppermost band. Block size decision, 4, is made for each band to determine the sample size or block mode for the windowing and transform process, 5, 6, 7. One of the two block modes available - short block mode or long block mode, will be selected for each of the bands. The transformed spectral samples are grouped into units and in each unit, a scale factor is derived from the peak values of the samples in the unit, 8. These units are non-uniform frequency intervals with a closer interval in the low frequencies and a wider interval in the higher frequencies. Quantization, 10, is carried out on the samples using the scale factor and bit allocation information from the dynamic bit allocation module, 9. The quantizer used in the prior art is a uniform midtread quantizer. The relationship between the original spectral sample (ASD) and the quantized spectral sample (AS) is given by: AS[m] = Trunc{ ASD[m] SF[n] (2 WL[n]-1 -1) + 0.5} if ASD[m]≧0 AS[m] = Trunc{ ASD[m] SF[n] (2 WL[n]-1 -1) - 0.5} if ASD[m]<0 where m is the sample index, SF[n] is the scale factor value at unit n and WL[n] is the word length or bit allocation at unit n. Trunc{x} means discarding the digits after the decimal point irregardless of the sign of x. The meaning of the "unit" is described as follows. The audio signal is transformed into ,for example , 256 spectral lines by MDCT. The spectral lines are grouped into plural units. In Fig. 4 the 256 spectral lines are grouped into 26 number of units of 0-25. The bit allocation data WL(u) is given by unit as shown in Fig. 5. In the example of Figs.4,5 ,the spectral line numbers 1-8 have the same bit allocation data WL(0) and the spectral line numbers 9-12 have the same bit allocation data WL(1). Fig. 6 shows a diagram of the quantizer with WL[n]=3, that is a 3 bit quantizer. Meanwhile the quantizer in any coding algorithm plays an important role in attaining good audio quality. It is at this stage where the signals are finally compressed or represented in its compressed form. In a midtread quantizer, the number of signal steps that is represented in a bitstream by WL bits is given by 2 WL -1. This represents a loss of one step for every WL number of bits used. This loss is inevitable in order to tap the advantage of the midtread quantizer of approximating low level signals, not exceeding 1 step of the quantizer, to zero instead of some stray values. The maximum quantization error for a block companding type of coder for a frequency interval or unit, n, ε is given by ε = SF[n] 2 WL[n] - 1 In the prior art, the spectral samples are coded using 2 WL -1 codes. However, due to the distribution of levels in the quantizer, the maximum quantization error of the prior art is ε = SF[n] 2 WL[n] - 2 This can be observed from the illustration of the 3 bit quantizer in Fig. 6. Consider the case of a spectral sample which after being normalized by its scale factor lies in the region of 0.17 to 0.5. Its final dequantized value is 0.33 which gives a maximum normalized error of 0.17 or 1/6. Fig. 7 shows a quantizer where there is an even distribution of the levels across the range of the quantizer. If this quantizer is used instead of the one in Fig. 6, the maximum normalized error will be 0.14 or 1/7. While the quantizer in Fig. 5 suffers a 12.5% increase in quantization noise, the quantizer in the prior art suffers a 25% increase, an additional 12.5%. This increase in quantization noise is even greater in effect when WL[n] is equal to 2. In this case up to 25% of quantization noise is generated, or conversely if a constant noise level is to be attained, then 25% more of the channel capacity will be used up. This inefficient use of bits is particularly serious as experience has shown that 2 to 3 bit allocation are the most frequently occurring allocation at this bit rate of operation (146.08 kbit/s). Further, these two types of allocation in general occur more frequently in the units at high frequencies where more spectral samples are grouped. This would further compound the quantizer loss. As an example, units at high frequencies are made up of 20 spectral samples and if 2 bits are allocated to this unit, the number of bits used up by this unit is 40, out of which, only 20 bits are carrying useful information. 10 bits of loss are contributed by the fact that it is a midtread quantizer and the other 10 bits are contributed by the inefficient use of the dynamic range of the quantizer. For quantizations using 4 bits or more, the loss is less significant and diminishes with increasing number of bits of quantizations. Document Patent Abstracts of Japan vol. 16, no. 412 (E-1256) ofJP-A-04 137 822 describes an encoder and decoder for a sound signal. The sound signal is processed in a low frequency encoder section and a high frequency encoder section. Both encoder sections first generate a predictive sound signal. The low frequency encoder section implements a quantization according to a mid tread system and the high frequency encoder according to a mid riser system. Reference EP-A2-O 481 374 relates to an subband excited transform speech encoding system. First, a discrete spectrum of coefficients is calculated. A plurality of quantizers is designated for individual subbands. The number of subbands applied to each quantizer is determined for each window of speech, in order to minimize distortion due to quantization error. The object of this invention is to reduce the loss in the quantizer while at the same time not affecting the original bitstream syntax of the algorithm. For the purpose of achieving the above object, the invention comprises of the means of determining if enhancement is required for the particular interval; the means of modifying all the spectral samples in the interval; the means of finding the scale factor of the interval from the maximum value of the spectral samples and the means of quantizing all the spectral samples in the interval with a modified quantizer which uses the full dynamic range of a midtread quantizer. Through the method described above, the present invention is able to selectively enhance the outputs of the quantizer when necessary so that no additional computational steps are incurred where the effect of the enhancement is almost negligible. Additionally, through the method of modifying the spectral samples and thus the scale factors of the units enhanced, the bitstream syntax is kept to be the same and the effect of the enhancement is independent of the decoder used. Fig. 1 is the flow chart of the present embodiment of the invention. Fig. 2 is the illustration of a 3 bit quantizer using the invention. Fig. 3 is the illustration of spectrum grouped into 26 units. Fig. 4 is the table of the bit allocation data WL. Fig. 5 is the block diagram of the encoding process in the prior art. Fig. 6 is the illustration of a 3 bit quantizer using the quantizer in the prior art. Fig. 7 is the illustration of a 3 bit quantizer using the full range of a midtread quantizer. Fig. 1 shows an embodiment of the invention. The operation of the embodiment is given in the steps below: [1] Check if all the units have been processed (step of numeral 1). If yes, then end. [2] The bit allocation of the unit is checked if it is less than X (step of numeral 2). The value of X can either be selectable from a table or be fixed for example at 4 or 5 as the effect of the enhancement is diminishing with increasing bit allocation, WL as shown in Table 1. WL[n] Improvement in quantization noise control 2 25% 3 12.5% 4 6.25% 5 3.125% 6 1.5625% [3] If WL is not less than X, then all the spectral samples are quantized with the quantizer relation of the prior art (equation 1) (step of numeral 3). [4] If WL is less than X, all the samples in the unit are then scaled by k (step of numeral 4). k is given by k = 2 WL[n] - 2 2 WL[n] - 1 The modified spectral sample is denoted by ASD'[m]. [5] The maximum sample in the unit is then searched and the new scale factor index is computed (step of numeral 5). [6] All the spectral samples in this unit are then quantized, (step of numeral 6), with the modified quantizer having the relation: AS[m] = Trunc{ 2 WL[n] - 1 2 [ ASD'[m] SF[n] + 1]} - 2 WL[n]-1 -1 The steps are then repeated until all the units are done. The invention in effect extends the quantizer dynamic range as in the case of WL = 3 from +/-1 to +/-1.17 (or 7/6) as shown in Fig. 2. Since this syntax is unacceptable in the bitstream, the scale factor has to be reduced by k=1.17 (or 7/6) so that the original bitstream syntax can be maintained. With this reduction of k in the scale factor, the maximum error, ε is given by ε = SF[n] (2 WL[n] - 2)*k While theoretically, an improvement in quantization noise is always obtained, due to the quantization of the scale factor, the effectiveness of this improvement is slightly reduced. However, it can be theoretically proven that even under an extreme circumstance, ε new ≦ ε old , where ε new is the error of the invention and ε old a is the error of the prior art. Meanwhile in the present invention , after judging the necessity of enhancement required in each frequency interval and if necessary the above steps are executed. But even when the enhancement yields a very small improvement as in the case when the word length is large, the present invention is applicable. The invention, while maintaining the bitstream syntax, is able to reduce the quantization noise in the original MD system. Conversely, it can also be said that this enhancement technique allows for a better utilization of the channel resources than the original system. This enhancement technique is particularly effective in coarse quantization i.e. quantization of 3 bits and below, and at high frequencies where the savings are very significant. While this technique incurred some computational steps, its results are good enough to improve the quality of the audio.

Claims: A method of enhancing a mid-tread quantizer for the quantization of digital audio signals, wherein the audio signal is represented by a plurality of frames of quantized spectral components, which comprises the steps of: modifying (4) all spectral sample values in a defined frequency interval by a constant factor (k), finding (5) a scale factor of said frequency interval from a maximum value of the spectral sample, quantizing (6) all the spectral samples in the frequency interval with a modified quantizer. A method according to claim 1, wherein said constant factor (k) is a quotient of a step size of an original quantizer to a step size of the modified quantizer. A method according to claim 1 or 2, wherein said modified quantizer uses full dynamic range of the mid-tread quantizer. A method according to any of claims 1 to 3, wherein the quantizing is such quantizing used in Adaptive Transform Acoustic Coding (ATRAC).

Inventors: DO HUI TEH, DO HUI, TEH
Applicants: MATSUSHITA ELECTRIC IND CO LTD, MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD.
Application year: 1994
Main classification: H04B1
IPC codes: H04B1, H03M7