Method of coding an audio signal by using an orthogonal transformation

Abstract: A method of coding an audio signal by using an adaptive orthgonal transformation comprises a step (ST1, ST2) of calculating the sum total of a power of an input audio signal in a time duration of an orthogonal transform length or over the length; a step (ST3) of adaptively controlling the minimum audible level as a threshold level corresponding to the power level on a frequency axis after the orthogonal transformation or on a time axis before them orthogonal transformation; a step (ST4) of excepting samples having a power level under the threshold level from orthogonally transformed samples; and a step (ST5) of quantizing remaining samples. By the method, the threshold level of the minimum audible level is adaptively controlled corresponding to an observed level of an input audio signal. The method has an effect that even if the input audio signal has various power levels, it is possible to usually set the adaptively audible value (the threshold level), thereby effectively reducing a coding amount.

Description: The present invention relates to a method of coding an audio signal by using orthogonal transform by using an adaptive transformation such as a discrete cosine transformation (DCT), a discrete Fourier transformation (DFT) and the like, and more particularly to a method in which a minimum audible acoustic level is set to a predetermined value adaptive to a power level in order to reduce the coding rate. When an audio signal is compressed and coded, a conventional system excepts "an unnecessary component" of the signal component as being inaudible for effectively reducing the coding rate. A multiprocressor implementation of such a conventional audio coder based upon adaptive transform coding is disclosed in an article by B. Bochow and B. Czyrnik in the Proceedings of the 1989 International Conference on Acoustics, Speech and Signal Processing 23-26 May 1989 at pages 1981-1984. This article describes a cosine-tapered rectangular window for defining blocks of samples which are transformed into the frequency domain via a discrete cosine transform and then adaptively quantized before multiplexing with quantized spectrally interpolated information. A person having normal hearing ability can generally hear sounds within the area enclosed by two lines representing the maximum and minimum audible levels, respectively. This audible area is illustrated in FIG. 1 as an area with hatching. Accordingly, signals representing sounds under the minimum audible level can be ignored. A signal on the time axis is transformed on a frequency axis by the orthogonal transformation and this resultant coefficient may distribute from a full scale value (if 16 bit data, it is 2¹⁵) to an operational accuracy value. In the conventional method, the full scale value is set to the maximum audible level (120 dB Sound Pressure Level -S.P.L.-) and the minimum audible level (about 0 dB S.P.L. at 1kHz) is determined according to the maximum level, as shown in FIG. 1, and samples (coefficient) under the minimum audible level are omitted. However, it is very rare for actual music signals to hit an upper value of the full scale. Accordingly, when a signal source having an average of a signal level at about 60 dB is set to 80 dB S.P.L. of an average at reproduction, as shown in FIG. 2(a), an oblique lined portion omitted in coding as inaudible sample, is as shown in FIG. 2(b) at an actual reproduction, so that a part of the actual audible portion is lost. In this case, the minimum audible level (hereinafter the level is called a threshold level) needs to be set to be lowered by 20 dB. In contrast, when the signal of 80 dB of an average level is reproduced by 80 dB S.P.L. under the threshold level, is set before, as shown in FIGS. 3(a) and 3(b), there remains signals which cannot be actually audible. As described above, a conventional method has problems that too many signals are lost when the level of reproduction is set higher, and in contrast, unnecessary signals are left when the level of reproduction is set lower. An object of the present invention is to provide a method of coding an audio signal, capable of effectively coding the audio signal by adaptively or variably controlling a threshold level as a set value of the minimum audible level corresponding to an actual signal level previously observed. The present invention provides a method of coding an audio signal by using an orthogonal transformation, comprising a step (ST1, ST2) of calculating a sum total of a power of an input audio signal before or after the orthogonal transformation for a period equal to the orthogonal transform length or in excess of said duration; a step (ST3) of adaptively controlling the minimum audible level on a frequency axis after the orthogonal transformation as a threshold level corresponding to said sum total of the power; a step (ST4) of excepting samples having a power level under the threshold level from orthogonally transformed samples; and a step (ST5) of quantizing remaining samples. The threshold level of the minimum audible level is thus adaptively controlled corresponding to an observed level of an input audio signal. As is apparent from the above-mentioned, the present invention has the effect that even if the input audio signal has various power levels, it is possible to usually set the adaptive audible value (the threshold level), thereby effectively reducing the coding amount. Furthermore, it is a feature that the coding amount is smoothed at the same time as coding by means of keeping a substantially fixed dynamic range of each interval (the orthogonal transformation length). BRIEF DESCRIPTION OF THE DRAWINGS In the accompanying drawings: FIG. 1 is a characteristic diagram showing the typical audible range of a person having normal hearing ability; FIGS. 2(a) and 2(b) are diagrams showing how a signal being inaudible at coding results in a signal being audible at reproduction; FIGS. 3(a) and 3(b) are diagrams showing how a signal being audible at coding results in a signal being inaudible at reproduction; FIG. 4 is a block diagram showing a coding unit for utilizing a coding method of the present invention; FIG. 5 is a flow chart showing a method of coding an audio signal by using an adaptive orthogonal transformation according to a example of the present invention; FIG. 6 is a characteristic diagram showing the concept for processing according to the present invetion; and FIG. 7 is a polygonal line graph showing a threshold power level as a function of frequency. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS There will now be described in detail a method of coding an audible signal by using an orthogonal transformation according to an embodiment of the present invention with reference to the attached drawings. FIG. 4 is a block diagram showing a coding unit for utilizing a coding method of this invention, and FIG. 5 is a flow chart showing an operational procedure of the coding method of this invention. [Configuration of the Coding Unit] The coding unit for utilizing this invention comprises, as shown in FIG. 4, a window circuit 1 for dividing an input audio signal into successive blocks having a predetermined length, an orthogonal transformation circuit 2 such as the discrete cosine transformation (DCT) or the discrete Fourier transformation (DFT), a power calculation circuit 3 for calculating a power level of the input audio signal, an acoustic characteristic data memory 4 for storing acoustic characteristic data, a cut-off circuit 5 for cutting off a signal component under a threshold level, a quantization circuit 6 for quantizing a remaining component without the cut-off component, and a coding circuit 7 for coding the remaining component. [Procedure of the Coding Method] The coding method is performed by following steps as shown in FIG. 5. In the window circuit 1, the input audio signal is divided into successive blocks having a predetermined length for orthogonal transformation and supplied to both the orthogonal transformation circuit 2 (DCT or DFT) and the power calculation circuit 3 each connected to the window cirucit 1 (refer to step ST1). Each block so divided is orthogonally transformed in the transformation circuit 2 and supplied to the cut-off circuit 5. The power calculation circuit 3 calculates the power level of the input audio signal for a predetermined period equal to one block length (orthogonal transformation length) or more (refer to step ST2). The power level calculated above is supplied to the cut-off circuit 5 with the data output from the acoustic data memory 4. The minimum audible level (a threshold level) is adaptively controlled on a frequency axis after the orthogonal transformation (refer to step ST3). As will be described later, the cut-off circuit 5 controls the threshold levels A and B corresponding to the input power level A and B , respectively, as shown in FIG. 6. Samples (transformed coefficients) having a power under the threshold level are omitted as ineffective data (refer to step ST4). As a result, only samples having a power level over the threshold level are quantized in the circuit 6 and coded by the coding circuit 7, thereby outputting a coded signal (refer to step ST5). The method can prevent the tone quality from deteriorating by cutting off the signal too much, and the code from increasing by remaining unnecessary signals, thereby adaptively processing the signals by cutting off the samples having values under the threshold level, whether or not the level of signals are. Furthermore, as a dynamic range in the processed duration is usually kept at the substantially fixed level, it is possible to reduce the variation of the coding rate in each duration. [Calculation of power of Input Signal] The signal power is calculated for a period equal to one block length or more. If the period is lengthened, the coding is late for steep changes of the signal power, so that it is desirable to adopt the method in which the orthogonal transformation length is used as it is. The calculation of the signal power may be performed on the frequency axis after the orthogonal transformation or on the corresponding time axis before the orthogonal transformation. In former case of the frequency axis, when a point number of the orthogonal transformation denotes as N, the duration power P i is obtained by an equation (1) as follows: where a ij is represented by a coefficient value corresponding to one of the order j in the duration i. It is unnecessary to define the threshold level at each frequency. An example in which the threshold level is defined by three straight lines approximating a curve defining the threshold level in the duration from 20 Hz to 20 kHz, is shown in FIG. 7. In FIG. 7, when frequencies of nodes b and c are respectively set 4 kHz and 14 kHz, obliques of a-b, b-c and c-d are respectively determined as -6.5 db/oct, 5 db/oct and 100 db/oct. [Determination of the Threshold Level] The threshold level at 1 kHz is defined as follow: (Th) 1kHz = 10 log ₁₀ P i - D [dB] thereby setting the entire threshold level corresponding thereto. Where D is determined experimentally. Next, each power of samples in the respective durations are compared with the threshold level determined above. If the sample power is on or under the threshold level, the power under the threshold is omitted. [The Feature of this Method] The feature of the present invention will be explained with reference to FIGS. 2(a), 2(b), 3(a) and 3(b). As is apparent from these figures, it is suitable to select 80 dB as "D" at 1 kHz. However, a power P i in a predetermined duration is actually distributed above and below the average level of the figure, and the threshold level rises and falls in each duration unit according thereto. As considered, the influence of samples so omitted is approximated with the condition shown in FIG. 3(a) when the power is under the average level, and with the condition shown in FIG. 3(b) when the power is over the average level. In the former case, the tone quality of the reproduced sound does not deteriorate, and in the latter case, as the total power is sufficiently large in actual, a fine signal is masked so that the quality does not deteriorate. Furthermore, the code rate decreases because an unnecessary signal samples are omitted in the former case. However, it can be improved by setting a suitable under limit value in the manner that the threshold level does not fall under a predetermined value. In general, there is no great adverse influence on the rise and fall of the threshold level of each duration. As the result of the estimation of various sound source, the concrete value of D[db] of the equation (2) is set to "D = 80 to 70 [dB]" in an ordinary hearing level, thereby achieving an obbject of this invention, namely, the quality of reproduced sound does not deteriorate. Furthermore, the limit value of the threshold level may be set to "10 log₁₀a² = -40 to -50" at the frequency of 1 kHz.

Claims: A method of coding an audio signal by using an orthogonal transformation, comprising a step (ST1, ST2) of calculating a sum total of a power of an input audio signal before or after the orthogonal transformation for a period equal to the duration of an orthogonal transform length or in excess of said duration; a step (ST3) of adaptively controlling the minimum audible level on a frequency axis after the orthogonal transformation as a threshold level corresponding to said sum total of the power; a step (ST4) of excepting samples having a power level under the threshold level from orthogonally transformed samples; and a step (ST5) of quantizing remaining samples. A coding unit for coding an input audio signal by using an orthogonal transformation, comprising window means (1) for dividing said input audio signal into blocks having a predetermined length for an orthogonal transformation; orthogonal transformation means (2) for transforming said audio signal from said window means (1) by using the orthogonal transformation; cut-off means (5) for excepting a signal component under a minimum audible level and outputting a remaining signal component; quantization means (6) for quantizing said remaining signal component output from said cut-off means (5) and coding means (7) for coding said audio signal after quantizing said audio signal component and for outputting a coded signal to a decoding unit, characterised in that there is provided a power calculation means (3) for calculating the sum total of a power level of said audio signal divided by said window means (1); and memory means (4) for storing acoustic characteristic data; the cut off means (5) being arranged to have the minimum audible level adaptively determined by said sum total of the power from said power calculation means (3) and said acoustic characteristic data from said memory means (4).

Inventors: FUCHIGAMI TOKUHIKO A- VICTOR T, KONISHI MASAYA, YAMADA YASUHIRO, YASURA SADAHIRO, FUCHIGAMI, TOKUHIKO, A-203, VICTOR TACHIBANADAI, KONISHI, MASAYA, YAMADA, YASUHIRO, YASURA, SADAHIRO
Applicants: VICTOR COMPANY OF JAPAN, VICTOR COMPANY OF JAPAN, LTD.
Application year: 1990
Main classification: H04B1
IPC codes: H03M7, H04B1, G10L11