An encoding device (200) includes an MDCT unit (202) that transforms an input signal in a time domain into a frequency spectrum including a lower frequency spectrum, a bwe encoding unit (204) that generates extension data which specifies a higher frequency spectrum at a higher frequency than the lower frequency spectrum, and an encoded data stream generating unit (205) that encodes to output the lower frequency spectrum obtained by the MDCT unit (202) and the extension data obtained by the bwe encoding unit (204). The bwe encoding unit (204) generates as the extension data (i) a first parameter which specifies a lower subband which is to be copied as the higher frequency spectrum from among a plurality of the lower subbands which form the lower frequency spectrum obtained by the MDCT unit (202) and (ii) a second parameter which specifies a gain of the lower subband after being copied.
|
0. 20. An audio signal processing device for processing an encoded signal to generate a bandwidth extended (bwe) time domain signal, the encoded signal comprising lower frequency spectrum data and spectrum extension data, wherein the audio signal processing device:
divides the encoded signal into the lower frequency spectrum data and the spectrum extension data;
determines a first parameter, a second parameter, and a noise parameter from the spectrum extension data of the encoded signal;
decodes the lower frequency spectrum data of the encoded signal to reproduce a decoded lower frequency spectrum signal;
generates a higher frequency spectrum signal from the decoded lower frequency spectrum signal by substituting a copy of a partial spectrum signal of the decoded lower frequency spectrum signal as part of the higher frequency spectrum signal, wherein the partial spectrum signal is copied from among a plurality of partial spectrum signals which form the decoded lower frequency spectrum signal, and the partial spectrum signal to be copied and substituted as part of the higher frequency spectrum signal is indicated by the first parameter determined from the spectrum extension data;
generates a gain-adjusted higher frequency spectrum signal by applying a gain indicated by the second parameter to the higher frequency spectrum signal, and adding a noise spectrum signal, wherein the noise spectrum signal has an energy determined in response to the noise parameter;
generates a bwe frequency spectrum signal by combining the gain-adjusted higher frequency spectrum signal and the decoded lower frequency spectrum signal; and
transforms the bwe frequency spectrum signal into the bwe time domain signal,
wherein the bwe time-domain signal is sampled at a sampling frequency of 44.1 kHz, and
wherein the higher frequency spectrum signal also includes frequencies not present in the decoded lower frequency spectrum signal.
0. 19. A method, performed by an audio signal processing device, for processing an encoded signal to generate a bandwidth extended (bwe) time domain signal, the encoded signal comprising lower frequency spectrum data and spectrum extension data, the method comprising:
dividing the encoded signal into the lower frequency spectrum data and the spectrum extension data;
determining a first parameter, a second parameter, and a noise parameter from the spectrum extension data of the encoded signal;
decoding the lower frequency spectrum data of the encoded signal to reproduce a decoded lower frequency spectrum signal;
generating a higher frequency spectrum signal from the decoded lower frequency spectrum signal by substituting a copy of a partial spectrum signal of the decoded lower frequency spectrum signal as part of the higher frequency spectrum signal, wherein the partial spectrum signal is copied from among a plurality of partial spectrum signals which form the decoded lower frequency spectrum signal, and the partial spectrum signal to be copied and substituted as part of the higher frequency spectrum signal is indicated by the first parameter determined from the spectrum extension data;
generating a gain-adjusted higher frequency spectrum signal by applying a gain indicated by the second parameter to the higher frequency spectrum signal, and adding a noise spectrum signal, wherein the noise spectrum signal has an energy determined in response to the noise parameter;
generating a bwe frequency spectrum signal by combining the gain-adjusted higher frequency spectrum signal and the decoded lower frequency spectrum signal; and
transforming the bwe frequency spectrum signal into the bwe time domain signal,
wherein the bwe time-domain signal is sampled at a sampling frequency of 44.1 kHz, and
wherein the higher frequency spectrum signal also includes frequencies not present in the decoded lower frequency spectrum signal.
0. 1. An encoding device that encodes an input signal comprising:
a time-frequency transforming unit operable to transform an input signal in a time domain into a frequency spectrum including a lower frequency spectrum;
a band extending unit operable to generate extension data used for specifying a higher frequency spectrum at higher frequency than the lower frequency spectrum; and
an encoding unit operable to encode the lower frequency spectrum and the extension data, and output the encoded lower frequency spectrum and extension data,
wherein the band extending unit generates a first parameter and a second parameter as the extension data, the first parameter is used to determine a partial spectrum which is to be copied as the higher frequency spectrum from among a plurality of the partial spectrums which form the lower frequency spectrum, and the second parameter is used to determine a gain of the partial spectrum after being copied, and
wherein the band extending unit generates, as the extension data, a third parameter which is used to determine whether or not the partial spectrum to be copied is inverted on a frequency domain.
0. 2. The encoding device according to
wherein the band extending unit generates, as the extension data, a fourth parameter indicating whether or not a phase of the partial spectrum to be copied is inverted.
0. 3. The encoding device according to
wherein the time-frequency transforming unit is operable to perform MDCT (Modified Discrete Cosine Transform) on an input signal in a time domain into a frequency spectrum including a lower frequency spectrum.
0. 4. The encoding device according to
wherein the band extending unit further generates a parameter specifying energy of a noise spectrum which is added to the higher frequency spectrum specified by the first parameter and the second parameter as the extension data, and
the parameter specifying energy of a noise spectrum is an energy ratio of the noise spectrum against the higher frequency spectrum.
0. 5. The encoding device according to
wherein the first parameter includes information indicating whether or not to use the same extension data as that of a preceding frame.
0. 6. The encoding device according to
wherein the first parameter includes information indicating whether or not to use the same extension data as that of an immediately preceding frame.
0. 7. An encoding method for encoding an input signal, comprising:
a time-frequency transforming step of transforming an input signal in a time domain into a frequency spectrum including a lower frequency spectrum;
a band extending step of generating extension data used for specifying a higher frequency spectrum at higher frequency than the lower frequency spectrum; and
an encoding step of encoding the lower frequency spectrum and the extension data, and outputting the encoded lower frequency spectrum and extension data,
wherein the band extending step generates a first parameter and a second parameter as the extension data, the first parameter is used to determine a partial spectrum which is to be copied as the higher frequency spectrum from among a plurality of the partial spectrums which form the lower frequency spectrum, and the second parameter is used to determine a gain of the partial spectrum after being copied, and
wherein the band extending step generates, as the extension data, a third parameter which is used to determine whether or not the partial spectrum to be copied is inverted on a frequency domain.
0. 8. The encoding method according to
wherein the band extending step generates, as the extension data, a fourth parameter indicating whether or not a phase of the partial spectrum to be copied is inverted.
0. 9. A non-transitory computer-readable recording medium having recorded thereon an encoding program for encoding an input signal, the program causing a computer to execute the encoding method according to
0. 10. A decoding device for decoding an encoded signal, comprising:
a decoding unit operable to decode the encoded signal and to generate therefrom a lower frequency spectrum and extension data used for specifying a higher frequency spectrum at higher frequency than the lower frequency spectrum,
a higher frequency spectrum generating unit operable to generate the higher frequency spectrum based on the lower frequency spectrum and the extension data; and
a time-frequency transforming unit operable to transform a frequency spectrum obtained by combining the generated higher frequency spectrum and the lower frequency spectrum into a signal in a time domain,
wherein the extension data includes a first parameter, a second parameter and a third parameter, and
the first parameter is used to determine a partial spectrum which is to be copied as the higher frequency spectrum from among a plurality of the partial spectrums which form the lower frequency spectrum, the second parameter is used to determine a gain of the partial spectrum after being copied, and the third parameter is used to determine whether or not the partial spectrum to be copied is inverted on a frequency domain.
0. 11. The decoding device according to
wherein the band extending unit generates, as the extension data, a fourth parameter indicating whether or not a phase of the partial spectrum to be copied is inverted.
0. 12. The decoding device according to
wherein the time-frequency transforming unit is operable to perform MDCT (Modified Discrete Cosine Transform) of the frequency spectrum obtained by combining the generated higher frequency spectrum and the lower frequency spectrum into a signal in a time domain.
0. 13. The decoding device according to
wherein, the extension data further includes a parameter specifying energy of a noise spectrum which is added to the higher frequency spectrum specified by the first parameter and the second parameter,
the parameter specifying energy of a noise spectrum is an energy ratio of the noise spectrum against the higher frequency spectrum, and
the higher frequency spectrum generating unit adds a noise spectrum having energy specified by said parameter specifying energy of a noise spectrum to the generated higher frequency spectrum.
0. 14. The decoding device according to
wherein the first parameter includes information indicating whether or not to use the same extension data as that of a preceding frame, and
the higher frequency spectrum generating unit generates the higher frequency spectrum by using the information.
0. 15. The decoding device according to
0. 16. A decoding method of decoding an encoded signal, the decoding method comprising:
a decoding step of decoding the encoded signal to generate therefrom a lower frequency spectrum and extension data used for specifying a higher frequency spectrum at higher frequency than the lower frequency spectrum,
a higher frequency spectrum generating step of generating the higher frequency spectrum based on the lower frequency spectrum and the extension data; and
a time-frequency transforming step of transforming a frequency spectrum obtained by combining the generated higher frequency spectrum and the lower frequency spectrum into a signal in a time domain,
wherein the extension data includes a first parameter, a second parameter and a third parameter, and
the first parameter is used to determine a partial spectrum which is to be copied as the higher frequency spectrum from among a plurality of the partial spectrums which form the lower frequency spectrum, the second parameter is used to determine a gain of the partial spectrum after being copied, and the third parameter is used to determine whether or not the partial spectrum to be copied is inverted on a frequency domain.
0. 17. The decoding method according to
wherein the extension data further includes a fourth parameter indicating whether or not a phase of the partial spectrum to be copied is inverted.
0. 18. A non-transitory computer-readable recording medium having recorded thereon a decoding program for decoding an encoded signal, the program causing a computer to execute the decoding method according to
0. 21. The audio signal processing device of claim 20, wherein a maximum frequency of the higher frequency spectrum signal is greater than a maximum frequency of the decoded lower frequency spectrum.
0. 22. The audio signal processing device of claim 21, wherein a minimum frequency of the higher frequency spectrum signal is greater than a maximum frequency of the decoded lower frequency spectrum.
0. 23. The audio signal processing device of claim 20, wherein a frequency range of the higher frequency spectrum signal extends above a frequency range of the decoded lower frequency spectrum signal.
0. 24. The audio signal processing device of claim 23, wherein a frequency range of the higher frequency spectrum signal does not overlap with a frequency range of the decoded lower frequency spectrum signal.
0. 25. The audio signal processing device of claim 20, wherein the bwe spectrum signal comprises frequencies not present in the decoded lower frequency subband signal.
0. 26. The audio signal processing device of claim 25, wherein a maximum frequency of the bwe frequency spectrum signal is greater than a maximum frequency of the decoded lower frequency spectrum signal.
0. 27. The audio signal processing device of claim 25, wherein a frequency range of the bwe frequency spectrum signal extends above a frequency range of the decoded lower frequency spectrum signal.
0. 28. The audio signal processing device of claim 25, wherein a bandwidth of the bwe frequency spectrum signal is greater than a bandwidth of the decoded lower frequency spectrum signal.
|
This application
startline=endline−W·sbw
targetline=maxline+V·sbw
W: 4, for instance
V: 8, for instance Expression 2
Here, “shiftlen” may be a predetermined value, or it may be calculated depending upon the inputted MDCT coefficient and the data indicating the value may be encoded in the BWE encoding unit 204.
In the case of the BWE encoding unit 204, the data amount required for representing the lower subband which is substituted for the higher subband is 2 bits at most for each higher subband h0˜h7, because it meets the needs if one of the 4 lower subbands A˜D can be specified for each higher subband. As described above, the BWE encoding unit 204 encodes the extended frequency spectral data indicating which lower subband A˜D substitutes for the higher subband h0˜h7, and generates the extended audio encoded data stream with the encoded data stream of that lower subband.
Furthermore, the BWE encoding unit 204 adjusts the amplitude of the generated extended audio encoded data stream.
The MDCT coefficients of the original sound included in the higher subband h0 are x(0), x(1), . . . , x(sbw−1) as shown in
As for the higher subbands h1˜h7, the gain data is calculated and encoded in the same way as above. These gain data g0˜g7 are also encoded with a predetermined number of bits into the extended audio encoded data stream.
The extended audio encoded data stream which is encoded as above is described in the audio encoded bit stream outputted from the encoding device 200, as schematically shown in
Also, as shown in
Accordingly, when the audio signal encoding method according to the encoding device 200 of the present invention is applied to the conventional encoding method, it becomes possible to represent the higher frequency band using extended audio encoded data stream with a small amount of data, and reproduce wideband audio sound with rich sound in the higher frequency band.
Next, the decoding device will be explained.
In the decoding process, an input audio encoded data stream is decoded to obtain frequency spectral data, the frequency spectrum in the frequency domain is transformed into the data in the time domain, and thus audio signal in the time domain is reproduced.
The IMDCT unit 603 performs frequency-time transformation on the lower band MDCT coefficients outputted from the dequantizing unit 602 using IMDCT, and outputs the lower band audio signal in the time domain. Specifically, when the IMDCT unit 603 receives the lower band MDCT coefficients outputted from the dequantizing unit 602, the audio output of 1,024 samples are obtained for each frame. Here, the IMDCT unit 603 performs an IMDCT operation of the 1,024 samples. The expression for the IMDCT operation is generally given by the following expression 4.
n: sample index
i: window index
k: index of MDCT coefficient
N: window length
n0=(N/2+1)/2
On the other hand, the extended audio encoded data stream divided from the audio encoded bit stream by the encoded data stream dividing unit 601 is outputted to the BWE decoding unit 605. In addition, the 0th˜(maxline−1)th lower band MDCT coefficients outputted from the dequantizing unit 602 and the output from the noise generating unit 604 are inputted to the BWE decoding unit 605. Operations of the BWE decoding unit 605 will be explained later in detail. The BWE decoding unit 605 decodes and dequantizes the (maxline)th˜2,047th higher band MDCT coefficients based on the extended frequency spectral data obtained by decoding the divided extended audio encoded data stream, and outputs the 0th˜2,047th wideband MDCT coefficients by adding the 0th˜(maxline−1)th lower band MDCT coefficients obtained by the dequantizing unit 602 to the (maxline)th˜2,047th higher band MDCT coefficients. The extended IMDCT unit 606 performs IMDCT operation of the samples twice as many as those performed by the IMDCT unit 603, and then obtains the wideband output audio signal of 2,048 samples for each frame.
Operations of the BWE decoding unit 605 will be explained below in more detail. The BWE decoding unit 605 reconstructs the (maxline)th˜(targetline)th MDCT coefficients using the 0th˜(maxline−1)th MDCT coefficients obtained by the dequantizing unit 602 and the extended audio encoded data stream. The “startline”, “endline”, “maxline”, “targetline”, “sbw” and “shiftlen” are all same values as those used by the BWE encoding unit 204 on the encoding device 200 end. As shown in
As a result, the BWE decoding unit 605 obtains the 0th˜(targetline)th MDCT coefficients. Further, the BWE decoding unit 605 performs gain control based on the gain data in the extended audio encoded data stream. As shown in
yi=g0·ri Expression 5
In the same manner, the higher subbands h1˜h7 can obtain the gain-controlled MDCT coefficients by multiplying the substitute MDCT coefficients by the gain data for the respective higher subbands g1˜g7. Furthermore, the noise generating unit 604 generates white noise, pink noise or noise which is a random combination of all or a part of the lower band MDCT coefficients, and adds the generated noise to the gain-controlled MDCT coefficients. At that time, it is possible to correct the energy of the added noise and the spectrum combined with the spectrum copied from the lower frequency band into the energy of the spectrum represented by the expression 5.
In the first embodiment, it has been described about encoding of the gain data which is to be multiplied to the substitute MDCT coefficients according to the expression 5. However, the gain data, which is not relative gain values but absolute values such as the energy or average amplitudes of the MDCT coefficients, may be encoded or decoded.
Using the BWE decoding unit 605 structured as above, wideband audio sound with rich sound particularly in the higher frequency band can be reproduced even if the extended audio encoded data stream represented by a small amount of data is used.
Although the encoding device 200 and the decoding device 600 according to the AAC method have been described, the encoding device and the decoding device of the present invention are not limited to that and any other encoding method may be used.
Also, in the encoding device 200, 0th˜2,047th MDCT coefficients are outputted from the MDCT unit 202 to the BWE encoding unit 204. However, the BWE encoding unit 204 may additionally receive the MDCT coefficients including quantization distortion which are obtained by dequantizing the MDCT coefficients quantized by the quantizing unit 203. Also, the BWE encoding unit 204 may receive the MDCT coefficients obtained by dequantizing the output from the quantizing unit 203 for the 0th˜(maxline−1)th lower subbands and the output from the MDCT unit 202 for the (maxline)th˜(targetline−1)th higher subbands, respectively.
In the first embodiment, it has been described that the extended frequency spectral data is quantized and encoded as the case may be. However, the data to be encoded (extended frequency spectral data) which is represented by a variable-length coding such as Huffman coding may of course be used as extended audio encoded data stream. In response to this encoding, the decoding device does not need to dequantize the extended audio encoded data stream but may decode the variable-length codes such as Huffman codes.
Also, in the first embodiment, it has been described the case when the encoding and decoding methods of the present invention are applied to MPEG-2 AAC and MPEG-4 AAC. However, the present invention is not limited to that, and it may be applied to other encoding methods such as MPEG-1 Audio and MPEG-2 Audio. When MPEG-1 Audio and MPEG-2 Audio are used, the extended audio encoded data stream is applied to “ancillary_data” described in those standards.
In the first embodiment, it has been described that the higher subbands are substituted by the frequency spectrum in the lower subbands within a range of the frequency spectrum (MDCT coefficients) obtained by performing time-frequency transformation on the inputted audio signal. However, the present invention is not limited to that, and the higher subbands may be substituted up to a range beyond the upper limit of the frequency of the frequency spectrum outputted by the time-frequency transformation. In this case, the lower subband used for the substitution cannot be specified based on the higher band frequency spectrum (MDCT coefficients) representing the original sound.
The second embodiment of the present invention is different from the first embodiment in the following. That is, the BWE encoding unit 204 in the first embodiment divides a series of the lower band MDCT coefficients from the “startline” to the “endline” into 4 subbands A˜D, while the BWE encoding unit in the second embodiment divides the same bandwidth from the “startline” to the “endline” into 7 subbands A˜G with some parts thereof being overlapped. The encoding device and the decoding device in the second embodiment have a basically same structure as the encoding device 200 and the decoding device 600 in the first embodiment, and what is different from the first embodiment is only the processing performed by the BWE encoding unit 701 in the encoding device and the BWE decoding unit 702 in the decoding device. Therefore, in the second embodiment, only the BWE encoding unit 701 and the BWE decoding unit 702 will be explained with modified referential numbers, and other components in the encoding device 200 and the decoding device 600 of the first embodiment which have been already explained are assigned the same referential numbers, and the explanation thereof will be omitted. Also in the following embodiments, only the points different from the aforesaid explanation will be described, and the points same as that will be omitted.
The BWE encoding unit 701 in the second embodiment will be explained below with reference to
On the other hand, the decoding device of the second to embodiment receives the extended audio encoded data stream which is encoded by the encoding device of the second embodiment (which includes the BWE encoding unit 701 instead of the BWE encoding unit 204 in the encoding device 200), decodes the data specifying the MDCT coefficients in the lower subbands A˜G which are substituted for the higher subbands h0˜h7, and substitutes the MDCT coefficients in the higher subbands h0˜h7 by the MDCT coefficients in the lower subbands A˜G.
Assume that the data specifying any one of the lower subbands A˜G is represented by code data of 3 bits, for instance. When the integers “0”˜“6” as the code data respectively represent the lower subbands A˜G, the decoding device may perform the control of making no substitution using any of A˜G, if the code data represented by the value “7” is created. Here, the case when the data of 3 bits is used as the code data and the value of the code data is “7” has been described, but the number of bits of the code data and the values of the code data may be other values.
The gain control and/or noise addition which are used in the first embodiment are also used in the second embodiment in the same manner. When the encoding device and the decoding device structured as described above are used, wideband reproduced sound can be obtained using the extended audio encoded data stream with not a large amount of data.
The third embodiment is different from the second embodiment in the following. That is, the BWE encoding unit 701 in the second embodiment divides a series of the lower band MDCT coefficients from the “startline” to the “endline” into 7 subbands A˜G with some parts thereof being overlapped, while the BWE encoding unit in the third embodiment divides the same bandwidth from the “startline” to the “endline” into 7 subbands A˜G and defines the MDCT coefficients in the lower subbands in the inverted order and the MDCT coefficients in the lower subbands whose positive and negative signs are inverted.
The components of the third embodiment different from the encoding device 200 and the decoding device 600 in the first and second embodiments are only the BWE encoding unit 801 in the encoding device and the BWE decoding unit 802 in the decoding device. The BWE encoding unit in the third embodiment will be explained below with reference to
As described above, the BWE encoding unit 801 in the third embodiment specifies one subband for substituting for each of the higher subbands h0˜h7, that is, any one of the 7 lower subbands A˜G, 7 lower subbands As˜Gs or 7 lower subbands Ar˜Gr which are obtained by inverting the order or the signs of the 7 MDCT coefficients in the lower subbands A˜G. The BWE encoding unit 801 encodes the data for representing the higher band MDCT coefficients using the specified lower subband, and generates the extended audio encoded data stream as shown in
On the other hand, the decoding device in the third embodiment receives the extended audio encoded data stream which is encoded by the encoding device in the third embodiment as mentioned above, and decodes the extended frequency spectral data which indicates which of the MDCT coefficients in the lower subbands A˜G substitutes for each of the higher subbands h0˜h7, whether the order of the MDCT coefficients is to be inverted or not, and whether the positive and negative signs of the MDCT coefficients are to be inverted or not. Next, according to the decoded extended frequency spectral data, the decoding device generates the MDCT coefficients in the higher subbands h0˜h7 by inverting the order or signs of the MDCT coefficients in the specified lower subbands A˜G.
Furthermore, the third embodiment includes not only the extension of the order and the positive and negative signs of the MDCT coefficients in the lower subbands, but also the substitution by the filtering-processed MDCT coefficients in the lower subbands. Note that the filtering processing means IIR filtering, FIR filtering, etc., for instance, and the explanation thereof will be omitted because they are well known to those skilled in the art. In this filtering processing, if the filtering coefficients are encoded into the extended audio encoded data stream on the encoding device end, on the decoding device end, the MDCT coefficients in the specified lower subbands are performed IIR filtering or FIR filtering indicated by the decoded filtering coefficients, and the higher subbands can be substituted by the filtering-processed MDCT coefficients. Note that the gain control used in the first embodiment can be used in the third embodiment in the same manner. When the encoding device and the decoding device structured as above are used, wideband reproduced sound can be obtained using the extended audio encoded data stream with not a large amount of data.
The fourth embodiment is different from the third embodiment in the following. That is, the decoding device in the fourth embodiment does not substitute for the MDCT coefficients in the higher subbands h0˜h7 with only the MDCT coefficients in the specified lower subbands A˜G, but substitutes for them with the MDCT coefficients generated by the noise generating unit in addition to the MDCT coefficients in the specified lower subbands A˜G. Therefore, the components of the decoding device in the fourth embodiment different in structure from the decoding device 600 in the first embodiment are only the noise generating unit 901 and the BWE decoding unit 902. As for the processing of decoding the extended audio encoded data stream in the decoding device in the fourth embodiment, the case when the higher subband h0 which is to be BWE-decoded is substituted by the lower subband A, for example, will be explained below with reference to
A′=α(p0,p1, . . . , pN)+β(n0,n1, . . . , nN) Expression 6
The weighting factors α, β may be predetermined values in the decoding device in the fourth embodiment, or may be values obtained by encoding the control data indicating the values of the weighting factors α, β into the extended audio encoded data stream in the encoding device and decoding those values in the decoding device.
Here, the subband h0 outputted by the BWE decoding unit 902 has been explained as an example, but the same processing is performed for the other higher subbands h1˜h7. Also, the lower subband A has been explained as an example of a lower subband to be substituted, but any other lower subbands obtained by the dequantizing unit and the processing for them is same. As for the weighting factors α, β, they may be values so that one is “0” and the other is “1”, or may be values so that “α+β” is “1”. When α=0, the ratio of energy of the MDCT coefficients in the higher subbands and that of the MDCT coefficients of the noise data is calculated and the obtained ratio of energy is encoded into the extended audio encoded data stream as the gain data for the MDCT coefficients of the noise information. Furthermore, a value representing a ratio between the weighting factors α and β may be encoded. Also, when all the MDCT coefficients in one lower subband which is copied by the BWE decoding unit 902 are “0”, control may be performed for setting the value of β to be “1”, independently of the value of α. The noise generating unit 901 may be structured so as to hold a prepared table in itself and output values in the table as noise signal MDCT coefficients, or create noise signal MDCT coefficients obtained by the MDCT of noise signal in the time domain for every frame, or perform gain control on the noise signals in the time domain and output the noise signal MDCT coefficients using all or a part of the MDCT coefficients obtained by the MDCT of the gain-controlled noise signal.
Particularly, when the MDCT coefficients obtained by gain-controlling in the time domain the noise signal in the time domain and performing MDCT on them are used, the effect of restraining pre-echo of reproduced sound can be expected. In this case, the gain control data for controlling the gain of the noise signal in the time domain is encoded by the encoding device in the fourth embodiment in advance, and the decoding device may decode the gain control data and use it. If the decoding device structured as above is used, the effect of realizing the wideband reproduction can be expected without extremely raising the tonality using the noise signal MDCT coefficients, even if the MDCT coefficients of the lower subbands cannot sufficiently represent the MDCT coefficients in the higher subbands to be BWE-decoded.
The fifth embodiment is different from the fourth embodiment in that the functions are extended so that a plurality of time frames can be controlled as one unit. Operations of the BWE encoding unit 1001 and the BWE decoding unit 1002 in the encoding device and the decoding device in the fifth embodiment will be explained with reference to
The decoding device of the fifth embodiment receives the extended audio encoded data stream generated for common use of a plurality of continuous frames, and performs BWE decoding of each frame. For example, when the higher subband h0 in the frame is at the time t0 is substituted by the lower subband C in the frame at the same time t0, the BWE decoding unit 1002 also decodes the higher subband h0 in the frame at the time t1 using the lower subband C at the time t1, and further decodes in the same manner decodes the higher subband h0 in the frame at the time t2 using the lower subband C at the time t2. The BWE decoding unit 1002 performs the same processing for the other higher subbands h1˜h7. If the encoding device and the decoding device structured as above are used, areas of the audio encoded bit stream occupied by the extended audio encoded data stream can be reduced as a whole for a plurality of the frames which use the same extended audio encoded data stream, and thereby more efficient encoding and decoding can be realized.
Another example of the encoding device and the decoding device of the fifth embodiment will be explained below with reference to
First, the reference frame is determined out of the frames at the times t0, t1 and t2. The first frame at the time t0 may be predetermined as a reference frame, or the frame which gives the maximum average amplitude is predetermined as a reference frame and the data indicating the position of the frame which gives the maximum average amplitude may separately be encoded into the extended audio encoded data stream. Here, it is assumed that the average amplitude G0 in the frame at the time t0 is the maximum average amplitude in the continuous frames where the higher band MDCT coefficients are decoded using the same extended audio encoded data stream. In this case, the average amplitude in the higher frequency band in the frame at the time t1 is represented by G1/G0 for the reference frame at the time t0, and the average amplitude in the higher frequency band in the frame at the time t2 is represented by G2/G0 for the reference frame at the time t0. The BWE encoding unit 1101 quantizes the relative values G1/G0, G2/G0 of these average amplitudes in the higher frequency band to encode them into the extended audio encoded data stream.
On the other hand, in the other decoding device of the fifth embodiment, the BWE decoding unit 1102 receives extended audio encoded data stream, specifies a reference frame out of the extended audio encoded data stream to decode it or decodes a predetermined frame, and decodes the average amplitude value of the reference frame. Furthermore, the BWE decoding unit 1102 decodes the average amplitude value relative to the reference frame of the higher band MDCT coefficients which is to be BWE-decoded, and performs gain control on the higher band MDCT coefficients in each frame which is decoded according to the common extended audio encoded data stream. As described above, according to the BWE decoding unit 1102 shown in
The sixth embodiment is different from the fifth embodiment in that the encoding device and the decoding device of the fifth embodiment transforms and inversely transforms an audio signal in the time domain into a time-frequency signal representing time change of frequency spectrum. Every continuous 32 samples are frequency-transformed at every about 0.73 msec out of 1,024 samples for one frame of audio signal sampled at a sampling frequency of 44.1 kHz, for instance, and frequency spectrums respectively consisting of 32 samples are obtained. 32 pieces of the frequency spectrums which have a time difference of about 0.73 msec for every frame of 1,024 samples are obtained. These frequency spectrums respectively represent reproduction bandwidth from 0 kHz to 22.05 kHz at maximum for 32 samples. The waveform obtained by combining the values of the spectral data of the same frequency in the time direction out of these frequency spectrums is time-frequency signals which are the output from the QMF filter. The encoding device of the present embodiment quantizes and variable-length encodes the 0th˜15th time-frequency signals, for instance, out of the time-frequency signals which are the output of the QMF filter, in the same manner as the conventional encoding device. On the other hand, as for the 16th˜31st higher band time-frequency signals, the encoding device specifies one of the 0th˜15th time-frequency signals which is to substitute for each of the 16th˜31st signals, and generates extended time-frequency signals including data indicating the specified one of the 0th˜15th lower band time-frequency signals and gain data for adjusting the amplitude of the specified lower band time-frequency signal. When filtering processing is performed or a filter with a different characteristic is used depending upon a parameter, a parameter for specifying the processing details or the characteristic of the filter is described in the extended time-frequency signals in advance. Next, the encoding device describes the lower band audio encoded data stream which is obtained by quantizing and variable-length encoding the lower band time-frequency signals and the higher band encoded data stream which is obtained by variable-length encoding the extended time-frequency signals in the audio encoded bit stream to output them.
The extended decoding unit 1202 is a processing unit that receives the lower band time-frequency signals decoded by the core decoding unit 1201 and the extended time-frequency signals, specifies the lower band time-frequency signals which substitute for the higher band time-frequency signals based on the divided extended time-frequency signals to copy them in the higher frequency band, and adjusts the amplitudes thereof to generate the higher band time-frequency signals. The extended decoding unit 1202 further includes a substitution control unit 1204 and a gain adjusting unit 1205. The substitution control unit 1204 specifies one of the 0th˜15th lower band time-frequency signals which substitutes for the 16th higher band time-frequency signal, for instance, according to the decoded extended time-frequency signals, and copies the specified lower band time-frequency signal as the 16th higher band time-frequency signal. The gain adjusting unit 1205 amplifies the lower band time-frequency signal copied as the 16th higher band time-frequency signal according to the gain data described in the extended time-frequency signal and adjusts the amplitude. The extended decoding unit 1202 further performs the above-mentioned processing by the substitution control unit 1204 and the gain adjusting unit 1205 for each of the 17th˜31st higher band time-frequency signals. When 4 bits for specifying one of the 0th˜15th lower band time-frequency signals and 4 bits for the gain data for adjusting the amplitude of the copied lower band time-frequency signal are used, the 16th˜31st higher band time-frequency signals can be represented with (4+4)×32=256 bits at most.
As described above, according to the sixth embodiment, the encoding device can encode wideband audio time-frequency signals with a relatively small amount of data increase by applying the substitution of the present invention, that is, the substitution of the higher band time-frequency signals by the lower band time-frequency signals, to the time-frequency signals which are the outputs from the QMF filter, while the decoding device can decode audio signals which can be reproduced as rich sound in the higher frequency band.
In the sixth embodiment, it has been explained that the respective lower band time-frequency signals substitute for the respective higher band time-frequency signals, but the present invention is not limited to that. It may be designed so that the lower frequency band and the higher frequency band are divided into a plurality of groups (8, for instance) consisting of the same number (4, for instance) of time-frequency signals and thereby the time-frequency signals in one of the groups in the lower band substitute for each group in the higher frequency band. Also, the amplitude of the lower band time-frequency signals copied in the higher frequency band may be adjusted by adding the generated noise consisting of 32 spectral values thereto. Furthermore, the sixth embodiment has been explained on the assumption that the sampling frequency is 44.1 kHz, one frame consists of 1,024 samples, the number of samples included in one time-frequency signal is 22 and the number of time-frequency signals included in one frame is 32, but the present invention is not limited to that. The sampling frequency and the number of samples included in one frame may be any other values.
The encoding device according to the present invention is useful as an audio encoding device placed in a satellite broadcast station including BS and CS, an audio encoding device for a content distribution server that distributes contents via a communication network such as the Internet, and a program for encoding audio signals which is executed by a general-purpose computer.
Also, the decoding device according to the present invention is useful not only as an audio decoding device included in an STB for home use, but also as a program for decoding audio signals which is executed by a general-purpose computer, a circuit board or an LSI only for decoding audio signals included in an STB or a general-purpose computer, and an IC card inserted into an STB or a general-purpose computer.
Norimatsu, Takeshi, Tsushima, Mineo, Nishio, Kosuke, Tanaka, Naoya
Patent | Priority | Assignee | Title |
Patent | Priority | Assignee | Title |
5375189, | Sep 30 1991 | Sony Corporation | Apparatus and method for audio data compression and expansion with reduced block floating overhead |
5394473, | Apr 12 1990 | Dolby Laboratories Licensing Corporation | Adaptive-block-length, adaptive-transforn, and adaptive-window transform coder, decoder, and encoder/decoder for high-quality audio |
5473727, | Oct 31 1992 | Sony Corporation | Voice encoding method and voice decoding method |
5530750, | Jan 29 1993 | Sony Corporation | Apparatus, method, and system for compressing a digital input signal in more than one compression mode |
5677994, | Apr 15 1994 | Sony Corporation; Sony Cinema Products Corporation | High-efficiency encoding method and apparatus and high-efficiency decoding method and apparatus |
5774842, | Apr 20 1995 | Sony Corporation | Noise reduction method and apparatus utilizing filtering of a dithered signal |
5825320, | Mar 19 1996 | Sony Corporation | Gain control method for audio encoding device |
6058362, | May 27 1998 | Microsoft Technology Licensing, LLC | System and method for masking quantization noise of audio signals |
6169973, | Mar 31 1997 | Sony Corporation | Encoding method and apparatus, decoding method and apparatus and recording medium |
6226616, | Jun 21 1999 | DTS, INC | Sound quality of established low bit-rate audio coding systems without loss of decoder compatibility |
6240385, | May 29 1998 | BlackBerry Limited | Methods and apparatus for efficient quantization of gain parameters in GLPAS speech coders |
6253165, | Jun 30 1998 | Microsoft Technology Licensing, LLC | System and method for modeling probability distribution functions of transform coefficients of encoded signal |
6263312, | Oct 03 1997 | XVD TECHNOLOGY HOLDINGS, LTD IRELAND | Audio compression and decompression employing subband decomposition of residual signal and distortion reduction |
6606600, | Mar 17 1999 | Apple Inc | Scalable subband audio coding, decoding, and transcoding methods using vector quantization |
6680972, | Jun 10 1997 | DOLBY INTERNATIONAL AB | Source coding enhancement using spectral-band replication |
6711538, | Sep 29 1999 | Sony Corporation | Information processing apparatus and method, and recording medium |
6807528, | May 08 2001 | DOLBY LABORATORIES LICENSING CORP | Adding data to a compressed data frame |
6879652, | Jul 14 2000 | CITIBANK, N A | Method for encoding an input signal |
7139702, | Nov 14 2001 | DOLBY INTERNATIONAL AB | Encoding device and decoding device |
7283967, | Nov 02 2001 | Matsushita Electric Industrial Co., Ltd. | Encoding device decoding device |
7328160, | Nov 02 2001 | Matsushita Electric Industrial Co., Ltd. | Encoding device and decoding device |
7373296, | May 24 2002 | KONINKLIJKE PHILIPS ELECTRONICS, N V | Method and apparatus for classifying a spectro-temporal interval of an input audio signal, and a coder including such an apparatus |
7392176, | Nov 20 2001 | Matsushita Electric Industrial Co., Ltd. | Encoding device, decoding device and audio data distribution system |
7400651, | Jun 29 2001 | JVC Kenwood Corporation | Device and method for interpolating frequency components of signal |
7509254, | Nov 14 2001 | DOLBY INTERNATIONAL AB | Encoding device and decoding device |
20020038216, | |||
20020156619, | |||
20020169601, | |||
20040162721, | |||
20060227018, | |||
20080215322, | |||
EP600504, | |||
EP805435, | |||
EP1037196, | |||
JP2001100773, | |||
JP2001521648, | |||
JP9258787, | |||
JP990992, | |||
WO45379, | |||
WO79520, | |||
WO9857436, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Nov 06 2002 | TSUSHIMA, MINEO | MATSUSHITA ELECTRIC INDUSTRIAL CO , LTD | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 046742 | /0353 | |
Nov 06 2002 | NORIMATSU, TAKESHI | MATSUSHITA ELECTRIC INDUSTRIAL CO , LTD | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 046742 | /0353 | |
Nov 06 2002 | NISHIO, KOSUKE | MATSUSHITA ELECTRIC INDUSTRIAL CO , LTD | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 046742 | /0353 | |
Nov 06 2002 | TANAKA, NAOYA | MATSUSHITA ELECTRIC INDUSTRIAL CO , LTD | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 046742 | /0353 | |
Oct 01 2008 | MATSUSHITA ELECTRIC INDUSTRIAL CO , LTD | Panasonic Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 047978 | /0279 | |
Jan 24 2014 | Panasonic Corporation | DOLBY INTERNATIONAL AB | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 046742 | /0469 | |
Jul 27 2017 | DOLBY INTERNATIONAL AB | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
Sep 18 2023 | REM: Maintenance Fee Reminder Mailed. |
Mar 04 2024 | EXP: Patent Expired for Failure to Pay Maintenance Fees. |
Date | Maintenance Schedule |
Apr 07 2023 | 4 years fee payment window open |
Oct 07 2023 | 6 months grace period start (w surcharge) |
Apr 07 2024 | patent expiry (for year 4) |
Apr 07 2026 | 2 years to revive unintentionally abandoned end. (for year 4) |
Apr 07 2027 | 8 years fee payment window open |
Oct 07 2027 | 6 months grace period start (w surcharge) |
Apr 07 2028 | patent expiry (for year 8) |
Apr 07 2030 | 2 years to revive unintentionally abandoned end. (for year 8) |
Apr 07 2031 | 12 years fee payment window open |
Oct 07 2031 | 6 months grace period start (w surcharge) |
Apr 07 2032 | patent expiry (for year 12) |
Apr 07 2034 | 2 years to revive unintentionally abandoned end. (for year 12) |