Title of Invention | A METHOD OF CODING AN INPUT AUDIO SIGNAL |
---|---|
Abstract | In the method of coding the audio signal, the values of first parameters (P1,1), which represent aspects of the audio signal at a first instant (ti), are calcul ated to obtain first calculated values (Al,i). The values of second parameters P2,i), which represent the aspects of the audio signal at a second, later, instant (t2), are calculated to obtain the second calculated values (A2,i). The number of the first parameters (Pl,i) and the number of the second parameters (P2,i) differ. A subset (SUS2,i) of the second parameters (P2,i) is associated with a particular portion (SFRAi) of a frequency range (FR) of the audio signal This frequency range (FR) of the audio signal is preferably selected to cover all the f requencies present in the audio signal. The values (A2,i) of the subset (SUS2,i) of the second parameters (P2,i) are coded based on a difference of this subset (SUS2,i) and a subset (SUS1,i) of the first calculated value(s) (Al,i) associate d with substantially this same particular portion (SFRAi) of the frequency range (FR). Thus the differentially coded values (7) of the second parameters (P2,i) are obtained by coding the difference of the values of second parameters (P2,i and first parameters (P1,i) which are associated with substantially the same frequency subrange (SFRAi). This allows to differential code the parameters (Pl,I P2,i) even if the number of the parameters changes in time. |
Full Text | The invention relates to a method of coding an audio signal, an encoder for coding an audio signal, and an apparatus for supplying an audio signal. Prior solutions in audio coders that have been suggested to reduce the bit rate of stereo program material include intensity stereo and M/S stereo. In the intensity stereo algorithm, high frequencies (typically above 5 kHz) are represented by a single audio signal (i.e., mono) combined with time-varying and frequency-dependent scale factors or intensity factors which allow to recover a decoded audio signal which resembles the original stereo signal for these frequency regions. In the M/S algorithm, the signal is decomposed into a sum (or mid, or common) signal and a difference (or side, or uncommon) signal. This decomposition is sometimes combined with principle component analysis or time-varying scale factors. These signals are then coded independently, either by a transform-coder or sub-band-coder (which are both waveform-coders). The amount of information reduction achieved by this algorithm strongly depends on the spatial properties of the source signal. For example, if the source signal is monaural, the difference signal is zero and can be discarded. However, if the correlation of the left and right audio signals is low (which is often the case for the higher frequency regions), this scheme offers only little bit rate reduction. For the lower frequency regions M/S coding generally provides significant merit. Parametric descriptions of audio signals have gained interest during the last years, especially in the field of audio coding. It has been shown that transmitting (quantized) parameters that describe audio signals requires only little transmission capacity to re-synthesize a perceptually substantially equal signal at the receiving end. One type of parametric audio coders focuses on coding monaural signals, and stereo signals are processed as dual mono signals. Another type of parametric audio coders is disclosed in EP-A-1107232. This parametric audio encoder uses a parametric coding scheme to generate a representation of a stereo audio signal which is composed of a left channel signal and a right channel signal. To efficiently utilize transmission bandwidth, such a representation contains information concerning only a monaural signal which is a combination of the left channel signal and the right channel signal, and parametric information. The stereo signal can be recovered based on the monaural signal together with the parametric information. The parametric information comprises localization cues of the stereo audio signal, including intensity and phase characteristics of the left and the right channel. The parametric information is represented by parameters which characterize aspects of the audio signal in a frequency range of the audio signal for which the parameter is determined. The coded audio signal may comprise the coded monaural audio signal and a single global parameter (or a set of global parameters) which are determined for the complete bandwidth or frequency range of the audio signal to be coded, and/or one or more local parameters (or sets of local parameters) which are determined for corresponding sub-ranges of the frequency range of the audio signal (these sub-ranges of the frequency range are also referred to as bins). Many audio coding schemes employ parameters of which the amount varies over time, for example, in waveform-coders like MPEG-1 Layer-Ill (mp3), AAC (Advanced Audio Coding), the number of MDCT (modified discrete cosine transfer) coefficients can vary over time. The publication "Optimal time-differential encoding of sinusoidal model parameters", by Jensen et al, symposium on information theory in the Benelux, May 2001, pages 1-8 discloses an algorithm for encoding the model parameters for sinusoidal coding of audio and speech signals. Sets of sinusoidal components defined by amplitude, frequency and phase parameters are estimated for consecutive signal segments. The parameters of these sinusoidal components can be encoded either directly or differentially with respect to values of parameters of components in the previous segment. In an example a particular segment m has 3 sinusoidal components while the preceding segment m-1 has 2 sinusoidal components. The parameters in segment m are optimally coded by either coding them differential with respect to parameters in segment m-1 or coding them directly. The not yet published European patent application no. 2002 02076588.9 (attorney's docket PITNL020356) discloses that the number of frequency sub-ranges (also referred to as bins) used for the parametric stereo representation can change from frame to frame. The not yet published European patent application no. 2002 0277869.2 (attorney's docket PHNL020692) discloses that the corresponding parameters of successive frames can be encoded differentially over time. In this manner, the redundancy in the time direction can be removed. The number of parameters is identical in successive frames. In E.G.P Schuijers, et.al, "Advances in Parametric coding for high-quality audio", presented at 1st IEEE Benelux Workshop on Model based Processing and Coding of Audio (MPCA 2002), Leuven Belgium, Nov. 15, 2002, a parametric coding scheme is described that has been extended with a parametric stereo description. This description tries to model the binaural cues by means of three parameters: Inter-channel Intensity Differences (I1D), Inter-channel Time Differences (ITD) and Inter-channel Cross Correlation (ICC). These parameters are estimated on a non-uniform frequency grid resembling the human auditory system. The number of frequency bins on this grid is typically 20. In the European patent application no. 2002 02077869.2 a scalable approach for the coding of these parameters has been proposed. For this parametric coding scheme also the possibility exists to change the number of the LPC (Linear Predictive Coding) coefficients used to describe the spectral envelope from frame to frame. A first aspect of the invention provides a method of coding an audio signal as claimed in claim 1. A second aspect of the invention provides an encoder for coding an audio signal as claimed in claim 10. A third aspect of the invention provides an apparatus for supplying an audio signal as claimed in claim 11. Advantageous embodiments are defined in the dependent claims. In the method in accordance with the first aspect of the invention, differential coding is performed when the number of parameters is different in successive frames. This provides a more efficient coding of the parameters and thus less bandwidth will be required for the coded parameters. In the method of coding the audio signal, the values of the first parameters, which represent aspects of the audio signal at a first instant, are calculated to obtain the first calculated values. The values of second parameters, which represent the aspects of the audio signal at a second, later, instant, are calculated to obtain the second calculated values. The number of the first parameters and the number of the second parameters differ. A subset of the second parameters is associated with a particular portion of a frequency range of the audio signal. The values of the subset of the second parameters are coded based on a difference of this subset and a subset of the first calculated value(s) associated with substantially this same particular portion of the frequency range. This allows to differential code the parameters even if the number of parameters changes over time. In an embodiment as defined in claim 2, within a particular frequency sub¬range or bin, a single parameter has to be calculated for use in the first frame at the first instant. Within substantially this same frequency sub-range, several parameters have to be calculated for use in the second frame at the second instant. Each one of the several parameters for use in the second frame is differentially coded based on its difference with respect to the value of the single parameter. If the frequency sub-ranges are not identical in that one of the several parameters is associated with a frequency sub-range which is not completely covered by the particular frequency sub-range, a correction may be applied in that this parameter is coded with respect to both the single parameter and a parameter associated with the frequency range not covered by the single parameter. In an embodiment as defined in claim 3, within a particular frequency sub¬range or bin, several parameters have to be calculated for use in the first frame at the first instant. Within substantially this same frequency sub-range a single parameter has to be calculated for use in the second frame at the second instant. The value of the single parameter is differentially coded with respect to the mean value of the several parameters. In an embodiment as defined in claim 4, the mean value is calculated as a weighted sum of the values of the several parameters. In an embodiment as defined in claim 5, all the weights are equal to one divided by the number of the several parameters of the first frame which correspond with the single parameter of the second frame. In an embodiment as defined in claim 6, the weights are selected for each one of the several parameters to correspond to the size of the corresponding frequency sub-range. In an embodiment as defined in claim 7, the frequency sub-ranges are not identical in that the frequency sub-range of the single parameter only partly covers the frequency range of one of the several parameters, the contribution to the mean value of the value of this one parameter is less than the other ones of the several parameters. Preferably, its contribution depends on the percentage of the frequency range of the several parameters covered by the frequency sub-range of the single parameter only partly covering the frequency range of the several parameters. In an embodiment as defined in claim 8, the audio signal is coded by different sets of parameters. Global parameters are calculated for the total frequency range of the audio signal. These global parameters allow decoding the audio signal with a basic (lower) quality. To allow an improved quality of the decoded audio signal, supplemental parameters may be coded. The number of these supplemental parameters may change over time. The number of the first parameters which are required during a first frame is smaller than the number of second parameters required during a successive second frame. Each one of the first parameters and the corresponding one of the second parameters cover substantially the same frequency sub-range. In frequency sub-ranges wherein a second parameter value has to be coded, this parameter value is differentially coded with respect to the value of the corresponding first parameter which is associated with substantially the same frequency sub¬range. In frequency ranges for which a second parameter has to be coded but no A corresponding first parameter value is available, the value of the second parameter is coded differentially with respect to the global value(s). In an embodiment as defined in claim 9, the audio signal is coded by different sets of parameters. Global parameters are calculated for the total frequency range of the audio signal. These global parameters allow decoding the audio signal with a basic (lower) quality. To allow an improved quality of the decoded audio signal, supplemental parameters may be coded. The amount of these supplemental parameters may change over time. The number of the first parameters which is required during a first frame is larger than the number of second parameters required during a successive second frame. Each one of the first parameters and the corresponding one of the second parameters cover substantially the same frequency sub¬range. In frequency sub-ranges wherein a second parameter value has to be coded, this parameter value is differentially coded with respect to the value of the corresponding first parameter which is associated with substantially the same frequency sub-range. In frequency ranges for which a first parameter value is available but no corresponding second parameter has to be coded, nothing has to happen. These and other aspects of the invention are apparent from and will be elucidated with reference to the embodiments described hereinafter. In the drawings: Fig. 1 shows a block diagram of an encoder in accordance with an embodiment of the invention, Fig. 2 shows a schematic representation of a situation wherein the number of parameters during a first frame is less than during a second frame, Fig. 3 shows another schematic representation of a situation wherein the number of parameters during a first frame is less than during a second frame, Fig. 4 shows a schematic representation of a situation wherein the number of parameters during a first frame is higher than during a second frame, Fig. 5 shows another schematic representation of a situation wherein the number of parameters during a first frame is higher than during a second frame, Fig. 6 shows a schematic representation of a situation wherein the number of parameters during a first frame is less than during a second frame, and Fig. 7 shows a schematic representation of a situation wherein the number of parameters during a first frame is higher than during a second frame. The same references in different Figs refer to the same signals or to the same elements performing the same function. Fig. 1 shows a block diagram of an encoder in accordance with an embodiment of the invention. An input IN receives an audio signal 1. The audio signal 1 has to be coded in such a way that a data-reduction is achieved. Data reduction is possible by representing certain aspects of the audio signal by parameters. These parameters define a certain aspect of the audio signal 1 within a particular frequency range of the audio signal . The particular frequency range of the audio signal 1 may cover all frequencies present in the audio signal 1, or may be a sub-range of the frequencies present in the audio signal 1. The parameters have to be determined regularly in time to be able to represent the changing audio signal 1. Usually, the parameters are determined and coded at regular time intervals called frames. The exact way the audio signal 1 is represented by the parameters, and the parameters are coded is not important to the invention, many known approaches may be implemented. The invention is directed to the fact that the parameters are differentially coded, even when the number of parameters to be coded differs over successive frames. A calculating unit 2 receives the audio signal 1 and supplies calculated values 3 every frame. The calculated values 3 represent parameters which should be differentially coded. The coded values should be available in a particular frame. A memory 4 stores the calculated values 3 every frame and supplies the stored values 5. The encoder 6 codes the difference of the calculated values 3 of a present frame and the stored values 5 of the preceding frame and supplies the differentially coded parameter values 7. The differentially coded parameter values 7 may be combined with a coded monaural audio signal in the unit 8 to supply a coded audio signal 9 at the output OUT. The encoder may contain dedicated hardware or may be a suitably programmed processor which performs the calculations and the other steps. Fig. 2 shows a schematic representation of a situation wherein the number of parameters during a first frame tl is less than during a second frame t2. The parameters Pl,l to PI,4 (further referred to as Pl,i) and their associated frequency sub-ranges SFRA1 to SFRA4 (further referred to as SFRAi) are shown at the left side for a first frame tl. The parameters P2,l to P2,16 (further referred to as P2,i) and their associated frequency sub¬ranges SFPvBl to SFRB16 (further referred to as SFRBi) are shown the at the right side for a second frame t2 succeeding the first frame tl. The parameter Pl,i has a calculated value Ai, and the parameter P2,i has a calculated value Bi. A specific one of the parameters Pl,i or P2,i is obtained by substituting a number for the index i. The total frequency range is indicated by FR. The subsets of the first calculated value(s) SUSl,i, each comprise a single calculated value Al,i. The subsets of the second calculated value(s) SUS2,i, each comprise more than one (4 in the example shown in Fig. 2) calculated values A2,i. Consequently, in the associated subsets SUSl.i and SUS2,i, which correspond to the same frequency sub-range SFRAi, always four second calculated value(s) Bi, correspond to one first calculated value(s) Ai. Each one of the four second calculated value(s) Bi, is coded differentially with respect to the same one first calculated value(s) Ai. This means that each of the four coded values is equal to the corresponding second calculated value(s) Bi minus the first calculated value(s) Ai. Fig. 3 shows another schematic representation of a situation wherein the number of parameters during a first frame is less than during a second frame. In contrast to Fig. 2 now the frequency sub-range obtained by combining the frequency sub-ranges SFRB1 to SFRB4 together is not identical to the frequency range SFRAI but slightly smaller. The frequency sub-range SFRB5 occurs partly within the frequency range SFRAI and partly within the frequency range SFRA2. The coded values of the parameters P2,l to P2,4 are coded differentially with respect to the value AI of the parameter Pl,l. The coded value of the parameter P2,5 may be coded differentially with respect to either the value AI or the value A2 of the parameter Pl,2. It is also possible to code the value of the parameter P2,5 as the difference of the value B5 and a weighted sum of the values AI and A2. Preferably, the values AI and A2 are weighted in accordance with the overlap of the frequency range SFRB5 with the frequency ranges SFRAI and SFRA2, respectively. Fig. 4 shows a schematic representation of a situation wherein the number of parameters during a first frame is higher than during a second frame. Fig. 4 shows a similar situation as shown in Fig. 2 but now the frame tl has a larger number of parameters Pl,i than the succeeding frame t2. The parameters P2,l and P2,2 (further referred to as P2,i) and their associated frequency sub-ranges SFRB1 and SFRB2 (further referred to as SFRBi) are shown at the right side for the second frame t2. The parameters Pl,l to Pl,7 (further referred to as Pl,i) and their associated frequency sub-ranges SFRAI to SFRA7 (further referred to as SFRAi) are shown the at the left side for the first frame tl. The parameter PI,i has a calculated value Ai, and the parameter P2,i has a calculated value Bi. A specific one of the parameters Pl,i or P2,i is obtained by substituting a number for the index i. The subsets of the second calculated value(s) SUS2,i, each comprise a single calculated value Bi. The subsets of the first calculated value(s) SUSl,i, each comprise more than one (3 in the example shown in Fig. 4) calculated values Ai. Consequently, in the associated subsets SUSl,i and SUS2,i, which correspond to the same frequency sub-range SFRBi, always one second calculated value(s) Bi corresponds to three first calculated value(s) Ai. The second calculated value Bi is differentially coded with respect to a calculated weighted mean of the group of associated calculated values Ai. The values Ai are associated with the value Bi if they belong to parameters Pl,i which belong to a frequency sub-range SFRAi which occurs within or at least partly overlaps with the frequency range SFRBi. The weighted mean is calculated as: M V =∑q.V. gropup / • T i' i 1=1 wherein Vgroup represents a group parameter value, M is the number of parameters belonging to the group of associated calculated values Ai, and qi are the weight functions for which the following holds: M ;=1∑ For example, the weights qi are selected to be 1/M, but also the size of the frequency sub¬range or bin that a certain parameter belongs to is a good choice. Fig. 5 shows another schematic representation of a situation wherein the number of parameters during a first frame is higher than during a second frame. In the example of Fig. 4, the bins belonging to a group in frame tl always fully fall within a single bin of frame t2. This is not the case in Fig. 5, the bin associated with the value A3 is only partly within the bin associated with the value B1. In differentially coding the value BI with respect to the weighted value, the weights for the value A3 may be selected smaller. Preferably, the decrease of this weight is related to the part of the bin of A3 which is within the bin of BI as a percentage of the bins of AI and A2 which are completely within the bin BI. to the frequency sub-ranges SFRA1 and SFRA2 associated with the values Al and A2, respectively. The values Bl and B2 are differentially coded with respect to the values Al and A2, respectively. As, in the frame tl, there is no frequency sub-range corresponding to the frequency sub-range SFRB3 in the frame t2, it is not possible to differentially code the value B3 with respect to a value in the frame tl. Still, a data reduction is possible by coding the value B3 with respect to the global parameters) GB2. Thus, in general, if the number of bins of the parameters with values Ai in a particular frame is smaller than the number of bins of the corresponding parameters with values Bi in the next frame, the differential coding is performed only on bins that actually exist in both frames. Bins that do not have a predecessor are differentially coded with respect to the global values GB2. Fig. 7 shows a schematic representation of a situation wherein the number of parameters during a first frame is higher than during a second frame. In the frame tl, the left most column indicates the global parameters) GB1 which represent aspects of the audio signal 1 for the total frequency range FR. The adjacent middle column shows five parameters (or sets of parameters, for example ITD and/or ICC parameters) which are indicated by CI to C5. Each one of the parameters (or parameter sets) Ci is relevant for an associated frequency sub-range of the total frequency range FR. The frequency sub-ranges together cover the total frequency range FR. The right most column in the frame tl shows three frequency sub-ranges SFRA1 to SFRA3 in which three parameters (or sets of parameters) are defined by the values A1 to A3, respectively. In the frame t2, the left most column indicates the global parameter(s) GB2, which correspond to the global parameter(s) GB1. The middle column indicates the five parameters Dl to D5 which correspond to the parameters CI to C5. The frequency ranges associated with GB1 and Dl to D5 are the same as the frequency ranges associated with GB2 and CI to C5, respectively. The right most column in the frame t2 shows two frequency sub¬ranges SFRB1 and SFRB2 and the values Bl and B2 of the associated parameters. The frequency sub-ranges SFRB1 and SFRB2 associated with the values Bl and B2 are identical to the frequency sub-ranges SFRA1 and SFRA2 associated with the values Al and A2. The values B1 and B2 are differentially coded with respect to the values Al and A2, respectively. Thus, in general, if the number of bins of the parameters with values Ai in a particular frame is larger than the number of bins of the corresponding parameters with values Bi in the next frame, the differential coding is performed only on bins that actually exist in both frames. The coding algorithm described with respect to both Fig. 6 and Fig. 7 does not require a signaling in the bit-stream. For example, in the situation as depicted in Figs. 6 and 7, the Ai and Bi values may represent the number of ITD bins, in a practical realization the number of ITD bins may vary between 11 to 16. It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design many alternative embodiments without departing from the scope of the appended claims. For example, the absolute number and the change thereof of parameters in corresponding bins of successive frames are examples only. In a practical situation, the number of bins may depend on the actual audio signal and the quality of the audio to be decoded (or the available maximal bit stream). For example, in the situation as depicted in Figs. 6 and 7, the Ai and Bi values may represent the number of ITD bins, in a particular practical realization the number of ITD bins may vary between 11 to 16. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps other than those listed in a claim. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the device claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage. WE CLAIM 1. A method of coding an input audio signal (1), the method comprising the steps of: receiving the input audio signal (1); calculating (2) values of a first number of first parameters (Pl,i) representing aspects of the input audio signal (1) at a first instant (tl) to obtain first calculated values (Ai); calculating (2) values of a second number of second parameters (P2, i) representing the aspects of the input audio signal (1) at a second, later, instant (t2) to obtain second calculated values (Bi), wherein the first number and the second number differ; coding (7) a subset of the second parameters (P2,i) being associated with a particular portion of a frequency range (SFRA,i) of the input audio signal (1) based on a difference of a subset (SUS2,i) of the second calculated value(s) (Bi) associated with this particular portion of the frequency range (SFRAi) and a subset (SUS1,i) of the first calculated value(s) (Ai) associated with substantially this particular portion of the frequency range (SFRAi) to obtain differentially coded values (7) of the second parameters (P2,i); and calculating global values (GB 1, GB2) for a total frequency range of the input audio signal (1), and wherein each one of the first parameters (P1, i) and the corresponding one of the second parameters (P2,i) cover substantially the same frequency range (SFRAi, SFRBi), and wherein the number of the first parameters (Pl,i) is smaller than the number of the second parameters (P1, i), the subset of the first calculated value(s) (SUSl,i) comprises a value for each one of the first parameters (Pl,i), the subset of the second calculated values (SUS2,i) comprises a value for each one of the second parameters (P2,i), wherein in frequency ranges for which both a first and a second calculated value (Ai, Bi) is calculated, the differentially coded value (7) is based on the difference of the corresponding first and second calculated value (Ai, Bi), and wherein, in frequency ranges (SFRAi, SFRBi) for which a second parameter (P2,i) but no first parameter (Pl,i) is calculated, the differentially coded value (7) is based on the difference of the corresponding second parameter (P2,i) and the global values (GB 1, GB2); and supplying a coded audio signal (9) comprising the differentially coded value (7). 2. An apparatus for performing the method as claimed in claim 1. Dated this 25 day of May 2005 |
---|
1029-chenp-2005-correspondence -others.pdf
1029-chenp-2005-correspondence -po.pdf
1029-chenp-2005-discription complete.pdf
1029-chenp-2005-other documents.pdf
Patent Number | 229548 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Indian Patent Application Number | 1029/CHENP/2005 | ||||||||||||
PG Journal Number | 13/2009 | ||||||||||||
Publication Date | 27-Mar-2009 | ||||||||||||
Grant Date | 18-Feb-2009 | ||||||||||||
Date of Filing | 25-May-2005 | ||||||||||||
Name of Patentee | KONINKLIJKE PHILIPS ELECTRONICS N.V. | ||||||||||||
Applicant Address | GROENEWOUDSEWEG 1, NL-5621 BA EINDHOVEN, | ||||||||||||
Inventors:
|
|||||||||||||
PCT International Classification Number | G10L19/02 | ||||||||||||
PCT International Application Number | PCT/IB03/04864 | ||||||||||||
PCT International Filing date | 2003-10-31 | ||||||||||||
PCT Conventions:
|