Provided is a method and apparatus for encoding or decoding a signal corresponding to a high frequency band in an audio signal. The method and apparatus for encoding a high frequency band detects and encodes frequency component(s) according to a pre-set criterion from a signal corresponding to a frequency band higher than a pre-set frequency and encodes energy value(s) of a signal to reconstruct band(s) in which the detected frequency component(s) are included. The method and apparatus for decoding a high frequency band decodes the signal by adjusting a signal to reconstruct a band in which important frequency component(s) are included by considering an energy value of the important frequency component(s). Accordingly, even though encoding or decoding is performed using a small number of bits, there is no degradation in sound quality of a signal corresponding to a high frequency band, and thus coding efficiency can be maximized.
|
0. 24. A method of encoding a signal including at least one of audio and speech, the method comprising:
dividing the signal into a high frequency signal corresponding to a band higher than a first pre-set frequency and a low frequency signal corresponding to a band lower than a second pre-set frequency;
encoding the low frequency signal;
determining a first subband in which one or more frequency component is included and a second subband in which one or more frequency component is not included, in the band corresponding to the high frequency signal, where the band corresponding to the high frequency signal includes a plurality of subbands;
encoding one or more energy values of the high frequency signal for the first subband;
encoding the high frequency signal for the second subband in a different manner from the encoding manner for the first subband; and
generating a bitstream including an encoded result of the low frequency signal and an encoded result of the high frequency signal.
0. 1. A method of encoding a high frequency band of a signal, the method comprising:
dividing the signal into a low frequency band lower than a first pre-set frequency and the high frequency band higher than a second pre-set frequency;
detecting and encoding one or more frequency components included in the high frequency band according to a pre-set criterion;
encoding one or more energy values for sub-bands of the high frequency band in which the detected one or more frequency components are included; and
encoding sub-bands of the high frequency band in which the detected one or more frequency components are not included.
0. 2. The method of
encoding one or more tonalities of sub-bands of the high frequency band in which the detected one or more frequency components are included.
0. 3. A method of decoding a high frequency band of a signal in which the high frequency band of the signal includes frequencies above a pre-set frequency and a low frequency band of the signal includes frequencies below the pre-set frequency, the method comprising:
decoding one or more frequency components included in the high frequency band;
decoding one or more energy values for sub-bands of the high frequency band in which the decoded one or more frequency components are included;
generating one or more signals for the sub-bands of the high frequency band in which the decoded one or more frequency components are included;
adjusting an energy value of the generated one or more signals according to one or more energy values of the decoded one or more frequency components and the decoded one or more energy values corresponding to sub-bands of the high frequency band in which the decoded one or more frequency components are included;
combining the decoded one or more frequency components and the one or more energy value-adjusted signals; and
generating random noises, for sub-bands of the high frequency band in which the decoded one or more frequency components are not included.
0. 4. The method of
0. 5. The method of
0. 6. The method of
0. 7. The method of
0. 8. The method of
decoding one or more tonalities of sub-bands of the high frequency band in which the decoded one or more frequency components are included.
0. 9. The method of
0. 10. The method of
synchronizing frames with each other if a frame used in the decoding of the one or more frequency components does not match a frame used in the decoding sub-bands of the high frequency band in which the decoded one or more frequency components are not included.
0. 11. A method of decoding a high frequency band of a signal in which the high frequency band of the signal includes frequencies above a pre-set frequency and a low frequency band of the signal includes frequencies below the pre-set frequency, the method comprising:
decoding one or more frequency components included in the high frequency band;
decoding a high frequency signal corresponding to the high frequency band by using the low frequency signal corresponding to the low frequency band;
adjusting an energy value of sub-bands of the decoded high frequency signal corresponding to the decoded one or more frequency components based on one or more energy values of the decoded one or more frequency components; and
combining the decoded one or more frequency components and the energy value-adjusted high frequency signal.
0. 12. The method of
0. 13. The method of
synchronizing frames with each other if a frame used in the decoding of the one or more frequency components does not match a frame used in the decoding of the high frequency signal.
0. 14. A non-transitory computer readable recording medium storing a computer readable program for executing, by a processor, a method of decoding a high frequency band of a signal in which the high frequency band of the signal includes frequencies above a pre-set frequency and a low frequency band of the signal includes frequencies below the pre-set frequency, the method comprising:
decoding one or more frequency components included in the high frequency band;
decoding one or more energy values corresponding to sub-bands of the high frequency band in which the decoded one or more frequency components are included;
generating one or more signals corresponding to the sub-bands of the high frequency band in which the decoded one or more frequency components are;
adjusting an energy value of the generated one or more signals according to one or more energy values of the decoded one or more frequency components and the decoded one or more energy values corresponding to sub-bands of the high frequency band in which the decoded one or more frequency components are included;
combining the decoded one or more frequency components and the one or more energy value-adjusted signals; and
generating random noises, for sub-bands of the high frequency band in which the decoded one or more frequency components are not included.
0. 15. An apparatus for decoding a high frequency band of a signal in which the high frequency band of the signal includes frequencies above a pre-set frequency and a low frequency band of the signal includes frequencies below the pre-set frequency, the apparatus comprising:
a frequency component decoder to decode one or more frequency components included in the high frequency band;
an energy value decoder to decode one or more energy values corresponding to sub-bands of the high frequency band in which the decoded one or more frequency components are included;
a signal generator to generate one or more signals corresponding for the sub-bands of the high frequency band in which the decoded one or more frequency components are included;
a signal adjuster to adjust one or more energy values of the generated one or more signals according to one or more energy values of the decoded one or more frequency components and the decoded one or more energy values corresponding to sub-bands of the high frequency band in which the decoded one or more frequency components are included;
a signal combiner to combine the decoded one or more frequency components and the one or more energy value-adjusted signals; and
a bandwidth extension decoder to generate random noises, for sub-bands of the high frequency band in which the decoded one or more frequency components are not included.
0. 16. The apparatus of
0. 17. The apparatus of
0. 18. The apparatus of
0. 19. The apparatus of
0. 20. The apparatus of
a tonality decoder to decode one or more tonalities of sub-bands of the high frequency band in which the decoded one or more frequency components are included.
0. 21. The apparatus of
0. 22. The apparatus of
a synchronizer to synchronize frames with each other if a frame used by the frequency component decoder does not match a frame used by the bandwidth extension decoder.
0. 23. A method of decoding a high frequency signal, the method comprising:
decoding one or more energy values included in a bit-stream;
decoding one or more frequency components of a high frequency band included in the bitstream;
generating one or more signals by using the decoded one or more energy values, for sub-bands of the high frequency band in which the decoded one or more frequency components are included; and
generating random noises, for sub-bands of the high frequency band in which the decoded one or more frequency components are not included.
|
This application claims the benefit of is a reissue application of U.S. Pat. No. 8,560,304, which was filed as U.S. patent application Ser. No. 11/877,015 on Oct. 23, 2007 and issued on Oct. 15, 2013, and which claims priority from Korean Patent Application No. 10-2007-0042035, filed on Apr. 30, 2007, in the Korean Intellectual Property Office, the disclosure of which is incorporated herein in its entirety by reference in its entirety.
1. Field of the Invention
The present invention relates to a method and apparatus for encoding and decoding an audio signal, such as a voice signal or a music signal, and more particularly, to a method and apparatus for encoding and decoding a signal corresponding to a high frequency band in an audio signal.
2. Description of the Related Art
In general, a signal corresponding to a high frequency band is less important than a signal corresponding to a low frequency band in terms of a human being's perception of an audio signal as a sound. Thus, when an audio signal is encoded, if coding efficiency must be increased due to a limitation in the number of available bits, a signal corresponding to the low frequency band is encoded by allocating many bits thereto, while a signal corresponding to the high frequency band is encoded by allocating less bits thereto.
However, in some cases, the signal corresponding to the high frequency band may be important and the human being should be able to perceive an audio signal as a sound. In this case, by not exactly encoding the signal corresponding to the high frequency band, sound quality of a signal decoded by a decoder may be degraded.
The present invention provides a method and apparatus for detecting and encoding important frequency component(s) from a signal corresponding to a frequency band higher than a pre-set frequency and encoding energy value(s) of a signal to reconstruct band(s) in which the detected frequency component(s) are included.
The present invention also provides a method and apparatus for decoding a signal to reconstruct band(s) in which important frequency component(s) are included by considering energy value(s) of the important frequency component(s).
Additional aspects and utilities of the present general inventive concept will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the general inventive concept.
According to an aspect of the present invention, there is provided a method of encoding a high frequency band, the method comprising: detecting and encoding frequency component(s) according to a pre-set criterion from a signal corresponding to a frequency band higher than a pre-set frequency; and encoding energy value(s) of a signal to reconstruct band(s) in which the detected frequency component(s) are included.
According to another aspect of the present invention, there is provided a method of decoding a high frequency band, the method comprising: decoding frequency component(s) included in a frequency band higher than a pre-set frequency; decoding energy value(s) of a signal to reconstruct band(s) in which the decoded frequency component(s) are included; generating signal(s) that are to reconstruct the band(s); adjusting energy value(s) of the generated signal(s) considering the energy value(s) of the decoded frequency component(s) based on the decoded energy value(s); and combining the decoded frequency component(s) and the energy value-adjusted signal(s).
According to another aspect of the present invention, there is provided a method of decoding a high frequency band, the method comprising: decoding frequency component(s) included in a frequency band higher than a pre-set frequency; decoding a signal corresponding to the frequency band higher than the pre-set frequency using a signal corresponding to a frequency band lower than the pre-set frequency; adjusting an energy value of the decoded signal considering energy value(s) of the decoded frequency component(s); and combining the decoded frequency component(s) and the energy value-adjusted signal(s).
According to another aspect of the present invention, there is provided a computer readable recording medium storing a computer readable program for executing a method of encoding a high frequency band, the method comprising: detecting and encoding frequency component(s) according to a pre-set criterion from a signal corresponding to a frequency band higher than a pre-set frequency; and encoding energy value(s) of a signal to reconstruct band(s) in which the detected frequency component(s) are included.
According to another aspect of the present invention, there is provided a computer readable recording medium storing a computer readable program for executing a method of decoding a high frequency band, the method comprising: decoding frequency component(s) included in a frequency band higher than a pre-set frequency; decoding energy value(s) of a signal to reconstruct band(s) in which the decoded frequency component(s) are included; generating signal(s) that are to reconstruct the band(s); adjusting energy value(s) of the generated signal(s) considering the energy value(s) of the decoded frequency component(s) based on the decoded energy value(s); and combining the decoded frequency component(s) and the energy value-adjusted signal(s).
According to another aspect of the present invention, there is provided a computer readable recording medium storing a computer readable program for executing a method of decoding a high frequency band, the method comprising: decoding frequency component(s) included in a frequency band higher than a pre-set frequency; decoding a signal corresponding to the frequency band higher than the pre-set frequency using a signal corresponding to a frequency band lower than the pre-set frequency; adjusting an energy value of the decoded signal considering energy value(s) of the decoded frequency component(s); and combining the decoded frequency component(s) and the energy value-adjusted signal(s).
According to another aspect of the present invention, there is provided an apparatus for encoding a high frequency band, the apparatus comprising: a frequency component encoder detecting and encoding frequency component(s) according to a pre-set criterion from a signal corresponding to a frequency band higher than a pre-set frequency; and an energy value encoder encoding energy value(s) of a signal to reconstruct band(s) in which the detected frequency component(s) are included.
According to another aspect of the present invention, there is provided an apparatus for decoding a high frequency band, the apparatus comprising: a frequency component decoder decoding frequency component(s) included in a frequency band higher than a pre-set frequency; an energy value decoder decoding energy value(s) of a signal to reconstruct band(s) in which the decoded frequency component(s) are included; a signal generator generating signal(s) that are to reconstruct the band(s); a signal adjuster adjusting energy value(s) of the generated signal(s) considering the energy value(s) of the decoded frequency component(s) based on the decoded energy value(s); and a signal combiner combining the decoded frequency component(s) and the energy value-adjusted signal(s).
According to another aspect of the present invention, there is provided an apparatus for decoding a high frequency band, the apparatus comprising: a frequency component decoder decoding frequency component(s) included in a frequency band higher than a pre-set frequency; a bandwidth expansion decoder decoding a signal corresponding to the frequency band higher than the pre-set frequency using a signal corresponding to a frequency band lower than the pre-set frequency; a signal adjuster adjusting an energy value of the decoded signal considering energy value(s) of the decoded frequency component(s); and a signal combiner combining the decoded frequency component(s) and the energy value-adjusted signal(s).
These and/or other aspects and utilities of the present general inventive concept will become apparent and more readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
Reference will now be made in detail to the embodiments of the present general inventive concept, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the like elements throughout. The embodiments are described below in order to explain the present general inventive concept by referring to the figures.
The band divider 100 divides a signal input through an input terminal IN into a low frequency signal and a high frequency signal based on a pre-set frequency. The low frequency signal corresponds to a frequency band lower than a pre-set first frequency, and the high frequency signal corresponds to a frequency band higher than a pre-set second frequency. The first frequency and the second frequency may be, but are not necessarily, set to be the same value.
The low frequency signal encoder 105 encodes the low frequency signal divided by the band divider 100 using a pre-set encoding method. The low frequency signal encoder 105 can perform the encoding by using any disclosed encoding method. That is, since the encoding apparatus according to the current embodiment is characterized by the encoding of the high frequency signal, encoding the low frequency signal is not limited to a specific encoding method. Examples of the encoding method used in the low frequency signal encoder 105 are an Advanced Audio Coding (AAC) method, a method of detecting and encoding only important frequency component(s) from an input signal and encoding the remaining frequency components as a predetermined noise signal, and so on.
The high frequency signal encoder 110 detects and encodes important frequency component(s) from the high frequency signal divided by the band divider 100, calculates and encodes energy value(s) of signal(s) that reconstruct the band(s) from which the important frequency component(s) are detected, and encodes a high frequency signal to reconstruct the band(s) from which the important frequency component(s) are not detected using the low frequency signal. The high frequency signal encoder 110 includes a frequency component detector 115, a frequency component encoder 120, an energy value calculator 125, an energy value encoder 130, a bandwidth expansion encoder 135, and a tonality encoder 140.
The frequency component detector 115 detects frequency component(s) determined as important frequency(s) component according to a pre-set criterion from the high frequency signal divided by the band divider 100. Methods used by the frequency component detector 115 to determine an important frequency component will now be described. As a first method, a Signal to Masking Ratio (SMR) value is calculated, and a signal component greater than a masking threshold is selected as an important frequency component. As a second method, an important frequency component is selected by extracting a spectral peak considering a predetermined weight. As a third method, a Signal to Noise Ratio (SNR) value is calculated for each sub-band, and a frequency component having a peak value greater than a predetermined value in each sub-band having a low SNR value is selected as an important frequency component. The three methods described above can be separately embodied or can be embodied by combining one with another. In addition, these three methods are only illustrations, and the present invention is not limited thereto.
The frequency component encoder 120 encodes the frequency component(s) detected by the frequency component detector 115 and information indicating position(s) at which the frequency component(s) are prepared.
The energy value calculator 125 calculates an energy value of each signal to reconstruct band(s) in which the frequency component(s) detected by the frequency component detector 115 are included. A band is a processing unit applied for the bandwidth expansion encoder 135 to perform encoding. For example, in the case of a Quadrature Mirror Filter (QMF), a band can be a sub-band or a scale factor band.
The energy value encoder 130 encodes an energy value of each band, which is calculated by the energy value calculator 125, and information indicating a position of each band.
The bandwidth expansion encoder 135 encodes signal(s) to reconstruct band(s) in which the frequency component(s) detected by the frequency component detector 115 are not included using the low frequency signal. When the bandwidth expansion encoder 135 encodes a signal, the bandwidth expansion encoder 135 generates and encodes information for decoding the high frequency signal using the low frequency signal.
The tonality encoder 140 calculates and encodes each tonality of high frequency signal(s) to reconstruct the band(s) in which the frequency component(s) detected by the frequency component detector 115 are included. However, in the current embodiment, the tonality encoder 140 does not have to be necessarily included. That is, when a decoder (not shown) generates a signal to reconstruct the band(s) in which frequency component(s) are included, if the decoder generates a single signal using a plurality of signals instead of using a single signal, the tonality encoder 140 may be necessary. For example, when the decoder generates signal(s) that reconstruct band(s) in which frequency component(s) are included using both an arbitrarily generated signal and a patched signal, the tonality encoder 140 is necessary.
The multiplexer 145 multiplexes the result of the encoding performed by the low frequency signal encoder 105, the frequency component(s) and the information indicating position(s) at which the frequency component(s) are to be reconstructed at the decoder, which are encoded by the frequency component encoder 120, the energy value of each band and the information indicating a position of each band, which are encoded by the energy value encoder 130, and the information for decoding the high frequency signal using the low frequency signal, which is encoded by the bandwidth expansion encoder 135 and outputs a multiplexed bitstream via an output terminal OUT. In some cases, the multiplexer 145 can multiplex the data described above and the tonality(-ies) encoded by the tonality encoder 140.
The demultiplexer 200 receives a bitstream from an encoder (not shown) via an input terminal IN and demultiplexer the bitstream. For example, the demultiplexer 200 can demultiplex the bitstream to frequency component(s) and information indicating position(s) at which the frequency component(s) are to be reconstructed, an energy value of each band, and a position of each band in which an energy value is encoded by the encoder, information for decoding a high frequency signal using a low frequency signal, and tonality(-ies). The low frequency signal corresponds to a frequency band lower than the pre-set first frequency, and the high frequency signal corresponds to a frequency band higher than the pre-set second frequency. The first frequency and the second frequency may be, but are not necessarily, set to be the same value.
The low frequency signal decoder 205 decodes the low frequency signal using a pre-set decoding method. The low frequency signal decoder 205 can perform the decoding by using any disclosed decoding method. That is, since the decoding apparatus according to the current embodiment is characterized by the decoding of the high frequency signal, decoding the low frequency signal is not limited to a specific decoding method. Examples of the decoding method used in the low frequency signal decoder 205 are the AAC method, a method of decoding predetermined important frequency component(s) and decoding the remaining frequency components as a predetermined noise signal, and so on.
The high frequency signal decoder 210 decodes frequency component(s) encoded by detecting important frequency component(s) from the high frequency signal in the encoder. In the case of band(s) in which an important frequency component is included, the high frequency signal decoder 210 decodes energy value(s) of a signal to reconstruct the band(s) in which the frequency component is included and decodes a high frequency signal of the band(s) in which the frequency component is included by using the decoded energy value(s). In the case of band(s) in which an important frequency component is not included, the high frequency signal decoder 210 decodes the high frequency signal using the low frequency signal. The high frequency signal decoder 210 includes a frequency component decoder 215, a synchronizer 220, an energy value decoder 225, a signal generator 230, a signal adjuster 235, a bandwidth expansion decoder 240, a signal combiner 245, and a tonality decoder 250.
The frequency component decoder 215 decodes predetermined frequency component(s) determined as important frequency component(s) according to a pre-set criterion and encoded by the encoder.
The synchronizer 220 synchronizes a frame applied to the frequency component decoder 215 and a frame applied to the bandwidth expansion decoder 240 if the frame applied to the frequency component decoder 215 does not match the frame applied to the bandwidth expansion decoder 240. The synchronizer 220 may process a portion of or an entire frame applied to the bandwidth expansion decoder 240 based on the frame applied to the frequency component decoder 215.
The energy value decoder 225 decodes energy value(s) of a signal to reconstruct band(s) in which the frequency component(s) decoded by the frequency component decoder 215 are included.
The signal generator 230 generates signal(s) that are to reconstruct the band(s) in which the frequency component(s) decoded by the frequency component decoder 215 are included.
Examples of a method used by the signal generator 230 to generate a signal will now be described. As a first method, the signal generator 230 generates an arbitrary high frequency signal, e.g. a random noise signal. As a second method, the signal generator 230 can generate a high frequency signal by copying, e.g. patching or folding, the low frequency signal decoded by the low frequency signal decoder 205. As a third method, the signal generator 230 can generate a high frequency signal using a low frequency signal.
The signal adjuster 235 adjusts the signal generated by the signal generator 230 so that energy of the signal generated by the signal generator 230 is adjusted considering energy value(s) of the frequency component(s) decoded by the frequency component decoder 215 based on an energy value of each band, which is decoded by the energy value decoder 225. The signal adjuster 235 will be described in more detail later with reference to
The bandwidth expansion decoder 240 decodes a signal to reconstruct band(s) in which the frequency component(s) decoded by the frequency component decoder 215 are not included in the high frequency signal using the low frequency signal decoded by the low frequency signal decoder 205.
The signal combiner 245 combines the frequency component(s) decoded by the frequency component decoder 215 and the signal adjusted by the signal adjuster 235. Since the signal combined by the signal combiner 245 reconstructs only the band(s) in which the frequency component(s) decoded by the frequency component decoder 215 are included, the signal combiner 245 further combines the signal decoded by the bandwidth expansion decoder 240 for the remaining band(s). As described above, the signal combiner 245 finally generates a high frequency signal by combining the signals.
The tonality decoder 250 decodes tonality(-ies) of signal(s) prepared to the band(s) in which the frequency component(s) decoded by the frequency component decoder 215 are included. However, in the current embodiment, the tonality decoder 250 does not have to be necessarily included. That is, when the signal generator 230 generates a single signal using a plurality of signals instead of using a single signal, the tonality decoder 250 may be necessary. For example, when the signal generator 230 generates signal(s) to reconstruct the band(s) in which the frequency component(s) decoded by the frequency component decoder 215 are included using both an arbitrarily generated signal and a patched signal, the tonality decoder 250 is necessary. If the tonality decoder 250 is included in the current embodiment, the signal adjuster 235 adjusts the signal generated by the signal generator 230 by further considering the tonality(-ies) decoded by the tonality decoder 250.
The band combiner 255 combines the low frequency signal decoded by the low frequency signal decoder 205 and the high frequency signal combined by the signal combiner 245 and outputs the combined signal via an output terminal OUT.
The first energy calculator 300 calculates an energy value of a signal to reconstruct each band by receiving the signal(s), which are generated by the signal generator 230 with respect to the band(s) in which the frequency component(s) are included, via an input terminal IN1.
The second energy calculator 310 calculates an energy value of each frequency component by receiving the frequency component(s) decoded by the frequency component decoder 215 via an input terminal IN2.
The gain calculator 320 receives the energy value(s) of the band(s) in which the frequency component(s) are included from the energy value decoder 225 via an input terminal IN3 and calculates a gain value so that each energy value calculated by the first energy calculator 300 becomes a value obtained by subtracting each energy value calculated by the second energy calculator 310 from each energy value received from the energy value decoder 225. For example, the gain calculator 320 can calculate the gain value by using Equation 1.
In Equation 1, Etarget denotes each energy value received from the energy value decoder 225, Ecore denotes each energy value calculated by the second energy calculator 310, and Eseed denotes each energy value calculated by the first energy calculator 300.
If the gain calculator 320 calculates the gain value considering the tonality, the gain calculator 320 receives the energy value(s) of the band(s) in which the frequency component(s) are included from the energy value decoder 225 via the input terminal IN3, receives the tonality(-ies) of the signal(s) prepared to the band(s) in which the frequency component(s) are included from the tonality decoder 250 via an input terminal IN4, and calculates gain value(s) by using each received energy value, each received tonality, and each energy value calculated by the second energy calculator 310.
The gain application unit 330 applies the gain value for each band, which is calculated by the gain calculator 320, to a signal, which is generated by the signal generator 230 with respect to each band in which the frequency component(s) are included, received via the input terminal IN1.
Referring to
A first signal combiner 400 receives the frequency component(s) decoded by the frequency component decoder 215 via the input terminal IN2 and combines the frequency component(s) and the signal(s) gain-multiplied by the gain application unit 330. The first signal combiner 400 is a component included in the signal combiner 245 illustrated in
Referring to
The gain application unit 330 also receives the signal generated by copying the low frequency signal decoded by the low frequency signal decoder 205 or the signal generated by using the low frequency signal from the signal generator 230 via the input terminal IN1′ and multiplies the signal by a second gain value calculated by the gain calculator 320.
A second signal combiner 500 combines the signal, which is first-gain-value-multiplied by the gain application unit 330, and the signal, which is second-gain-value-multiplied by the gain application unit 330.
A third signal combiner 510 receives the frequency component(s) decoded by the frequency component decoder 215 via the input terminal IN2 and combines the frequency component(s) and the signal combined by the second signal combiner 500. The third signal combiner 510 is a component included in the signal combiner 245 illustrated in
The band divider 600 divides a signal input through an input terminal IN into a low frequency signal and a high frequency signal based on a pre-set frequency. The low frequency signal corresponds to a frequency band lower than the pre-set first frequency, and the high frequency signal corresponds to a frequency band higher than the pre-set second frequency. The first frequency and the second frequency may be, but is not necessarily, set to be the same value.
The low frequency signal encoder 605 encodes the low frequency signal divided by the band divider 600 using a pre-set encoding method. The low frequency signal encoder 605 can perform the encoding by using any disclosed encoding method. That is, since the encoding apparatus according to the current embodiment is characterized by the encoding of the high frequency signal, encoding the low frequency signal is not limited to a specific encoding method. Examples of the encoding method used in the low frequency signal encoder 605 are the AAC method, the method of detecting and encoding only important frequency component(s) from an input signal and encoding the remaining frequency components as a predetermined noise signal, and so on.
The high frequency signal encoder 610 detects and encodes important frequency component(s) from the high frequency signal divided by the band divider 600, calculates and encodes energy value(s) of signal(s) to reconstruct band(s) from which the important frequency component(s) are detected, and encodes an envelope of a signal to reconstruct band(s) from which the important frequency component(s) are not detected. The high frequency signal encoder 610 includes a first transformer 611, a second transformer 612, a frequency component selector 615, a frequency component encoder 620, an energy value calculator 625, an energy value encoder 630, a third transformer 650, and a bandwidth expansion encoder 635.
The first transformer 611 transforms the high frequency signal divided by the band divider 600 in the time domain to a signal in the frequency domain using a first transformation method.
The second transformer 612 transforms the high frequency signal divided by the band divider 600 in the time domain to a signal in the frequency domain using a second transformation method, which is different from the first transformation method, in order to apply a psychoacoustic model.
The signal transformed by the first transformer 611 is used to encode the high frequency signal, and the signal transformed by the second transformer 612 is used to select an important frequency component by applying the psychoacoustic model to the high frequency signal. The psychoacoustic model is a mathematical model of a masking operation of a human auditory system.
For example, the first transformer 611 can express the high frequency signal as a real number part by transforming the high frequency signal in the time domain to a signal in the frequency domain using a Modified Discrete Cosine Transform (MDCT) method corresponding to the first transformation method, and the second transformer 612 can express the high frequency signal as an imaginary number part by transforming the high frequency signal in the time domain to a signal in the frequency domain using a Modified Discrete Sine Transform (MDST) method corresponding to the second transformation method. The signal transformed by the MDCT method and expressed as the imaginary number part is used to encode the high frequency signal, and the signal transformed by the MDST method and expressed as the real number part is used to select an important frequency component by applying the psychoacoustic model to the high frequency signal. Since signal phase information can be additionally expressed using the transformation, a miss match occurring by performing Discrete Fourier Transform (DTF) of a signal corresponding to the time domain and quantizing an MDCT coefficient can be solved.
The frequency component selector 615 selects frequency component(s) determined as important frequency component(s) using the signal transformed by the second transformer 612 according to a criterion pre-set from the signal transformed by the first transformer 611. Methods used by the frequency component selector 615 to determine an important frequency component will now be described. As a first method, an SMR value is calculated, and a signal component greater than a masking threshold is selected as an important frequency component. As a second method, an important frequency component is selected by extracting a spectral peak considering a predetermined weight. As a third method, an SNR value is calculated for each sub-band, and a frequency component having a peak value greater than a predetermined value in each sub-band having a low SNR value is selected as an important frequency component. The three methods described above can be separately embodied or can be embodied by combining one with another. In addition, these three methods are only illustrations, and the present invention is not limited thereto.
The frequency component encoder 620 encodes the frequency component(s) of a signal transformed by the first transformer 611, which are selected by the frequency component selector 615, and information indicating position(s) at which the frequency component(s) are prepared.
The energy value calculator 625 calculates an energy value of each signal prepared to band(s) in which the frequency component(s) selected by the frequency component selector 615 are included. The band is a processing unit applied for the bandwidth expansion encoder 655 to perform encoding. For example, in the case of a QMF, a band can be a sub-band or a scale factor band.
The energy value encoder 630 encodes an energy value of each band, which is calculated by the energy value calculator 625, and information indicating a position of each band.
The third transformer 650 transforms between domains so that the high frequency signal divided by the band divider 600 appears in the time domain for each predetermined frequency band using an analysis filterbank. For example, the third transformer 650 transforms between domains by applying the QMF.
The bandwidth expansion encoder 655 encodes high frequency signal(s) prepared to band(s), in which the frequency component(s) selected by the frequency component selector 615 are not included, using the low frequency signal. When the bandwidth expansion encoder 655 encodes a signal, the bandwidth expansion encoder 655 generates and encodes information for decoding the high frequency signal using the low frequency signal.
The multiplexer 645 multiplexes the result of the encoding performed by the low frequency signal encoder 605, the frequency component(s) and the information indicating position(s) at which the frequency component(s) are to be reconstructed which are encoded by the frequency component encoder 620, the energy value of each band and the information indicating a position of each band, which are encoded by the energy value encoder 630, and the information for decoding the high frequency signal using the low frequency signal, which is encoded by the bandwidth expansion encoder 655 and outputs a multiplexed bitstream via an output terminal OUT.
The demultiplexer 700 receives a bitstream from an encoder (not shown) via an input terminal IN and demultiplexes the bitstream. For example, the demultiplexer 700 can demultiplex the bitstream to frequency component(s) and information indicating position(s) at which the frequency component(s) are to be reconstructed, an energy value of each band, and a position of each band in which an energy value is encoded by the encoder, and information for decoding a high frequency signal using a low frequency signal. The low frequency signal corresponds to a frequency band lower than the pre-set first frequency, and the high frequency signal corresponds to a frequency band higher than the pre-set second frequency. The first frequency and the second frequency may be, but is not necessarily, set to be the same value.
The low frequency signal decoder 705 decodes the low frequency signal using a pre-set decoding method. The low frequency signal decoder 705 can perform the decoding by using any disclosed decoding method. That is, since the decoding apparatus according to the current embodiment is characterized by the decoding of the high frequency signal, decoding the low frequency signal is not limited to a specific decoding method. Examples of the decoding method used in the low frequency signal decoder 705 are the AAC method, the method of decoding predetermined important frequency component(s) and decoding the remaining frequency components as a predetermined noise signal, and so on.
The high frequency signal decoder 710 decodes important frequency component(s) in the high frequency signal, energy value(s) of a signal to reconstruct the band(s) in which an important frequency component is included, and the high frequency signal using the low frequency signal. The high frequency signal decoder 710 includes a frequency component decoder 715, a synchronizer 720, an energy value decoder 725, a signal generator 730, a signal adjuster 735, a bandwidth expansion decoder 740, a signal combiner 745, a first inverse transformer 750, and a third inverse transformer 753.
The frequency component decoder 715 decodes predetermined frequency component(s) determined as important frequency component(s) according to a pre-set criterion and encoded by the encoder.
The first inverse transformer 750 inverse transforms the frequency component(s) decoded by the frequency component decoder 715 from the frequency domain to the time domain in an inverse process of the transformation performed by the first transformer 611 illustrated in
The synchronizer 720 synchronizes a frame applied to the frequency component decoder 715 and a frame applied to the bandwidth expansion decoder 740 if the frame applied to the frequency component decoder 715 does not match the frame applied to the bandwidth expansion decoder 740. The synchronizer 720 may process a portion of or an entire frame applied to the bandwidth expansion decoder 740 based on the frame applied to the frequency component decoder 715.
The energy value decoder 725 decodes energy value(s) of a signal to reconstruct band(s) in which the frequency component(s) decoded by the frequency component decoder 715 are included.
The signal generator 730 generates signal(s) that are to be prepared to the band(s) in which the frequency component(s) decoded by the frequency component decoder 715 are included.
Examples of a method used by the signal generator 730 to generate a signal will now be described. As a first method, the signal generator 730 generates an arbitrary high frequency signal, e.g. a random noise signal. As a second method, the signal generator 730 can generate a high frequency signal by copying, e.g. patching or folding, the low frequency signal decoded by the low frequency signal decoder 705. As a third method, the signal generator 730 can generate a high frequency signal using a low frequency signal.
The signal adjuster 735 adjusts the signal generated by the signal generator 730 so that energy of the signal generated by the signal generator 730 is adjusted considering energy value(s) of the frequency component(s) decoded by the frequency component decoder 715 based on an energy value of each band, which is decoded by the energy value decoder 725. The signal adjuster 735 has been described in more detail with reference to
The bandwidth expansion decoder 740 decodes a signal to reconstruct band(s) in which the frequency component(s) decoded by the frequency component decoder 715 are not included from the high frequency signal using the low frequency signal decoded by the low frequency signal decoder 705.
The third inverse transformer 753 performs an inverse process of the transformation performed by the third transformer 650 illustrated in
The signal combiner 745 combines the frequency component(s) inversely transformed by the first inverse transformer 750 and the signal adjusted by the signal adjuster 735. Since the signal combined by the signal combiner 745 reconstructs only the band(s) in which the frequency component(s) inversely transformed by the first inverse transformer 750 are included, the signal combiner 745 further combines the signal decoded by the bandwidth expansion decoder 740 and inversely transformed by the third inverse transformer 753 for the remaining band(s). As described above, the signal combiner 745 finally generates a high frequency signal by combining the signals.
The band combiner 755 combines the low frequency signal decoded by the low frequency signal decoder 705 and the high frequency signal combined by the signal combiner 745 and outputs the combined signal via an output terminal OUT.
The band divider 800 divides a signal input through an input terminal IN into a low frequency signal and a high frequency signal based on a pre-set frequency. The low frequency signal corresponds to a frequency band lower than the pre-set first frequency, and the high frequency signal corresponds to a frequency band higher than the pre-set second frequency. The first frequency and the second frequency may be, but are not necessarily, set to be the same value.
The low frequency signal encoder 805 encodes the low frequency signal divided by the band divider 800 using a pre-set encoding method. The low frequency signal encoder 805 can perform the encoding by using any disclosed encoding method. That is, since the encoding apparatus according to the current embodiment is characterized by the encoding of the high frequency signal, encoding the low frequency signal is not limited to a specific encoding method. Examples of the encoding method used in the low frequency signal encoder 805 are the AAC method, the method of detecting and encoding only important frequency component(s) from an input signal and encoding the remaining frequency components as a predetermined noise signal, and so on.
The high frequency signal encoder 810 detects and encodes important frequency component(s) from the high frequency signal divided by the band divider 800 and encodes the high frequency signal using the low frequency signal. The high frequency signal encoder 810 includes a frequency component detector 815, a frequency component encoder 820, and a bandwidth expansion encoder 835.
The frequency component detector 815 detects frequency component(s) determined as important frequency component(s) according to a pre-set criterion from the high frequency signal divided by the band divider 800. Methods used by the frequency component detector 815 to determine an important frequency component will now be described. As a first method, an SMR value is calculated, and a signal component greater than a masking threshold is selected as an important frequency component. As a second method, an important frequency component is selected by extracting a spectral peak considering a predetermined weight. As a third method, an SNR value is calculated for each sub-band, and a frequency component having a peak value greater than a predetermined value in each sub-band having a low SNR value is selected as an important frequency component. The three methods described above can be separately embodied or can be embodied by combining at least one of them. In addition, these three methods are only illustrations, and the present invention is not limited thereto.
The frequency component encoder 820 encodes the frequency component(s) detected by the frequency component detector 815 and information indicating position(s) at which the frequency component(s) are prepared.
The bandwidth expansion encoder 835 encodes the high frequency signal using the low frequency signal. When the bandwidth expansion encoder 835 encodes a signal, the bandwidth expansion encoder 835 generates and encodes information for decoding the high frequency signal using the low frequency signal.
Unlike the bandwidth expansion encoder 135 illustrated in
The multiplexer 845 multiplexes the result of the encoding performed by the low frequency signal encoder 805, the frequency component(s) and the information indicating position(s) at which the frequency component(s) are prepared, which are encoded by the frequency component encoder 820, and the information for decoding the high frequency signal using the low frequency signal, which is encoded by the bandwidth expansion encoder 835 and outputs a multiplexed bitstream via an output terminal OUT.
The demultiplexer 900 receives a bitstream from an encoder (not shown) via an input terminal IN and demultiplexes the bitstream. For example, the demultiplexer 900 can demultiplex the bitstream to frequency component(s) and information indicating position(s) at which the frequency component(s) are prepared and information for decoding a high frequency signal using a low frequency signal. The low frequency signal corresponds to a frequency band lower than the pre-set first frequency, and the high frequency signal corresponds to a frequency band higher than the pre-set second frequency. The first frequency and the second frequency may be, but is not necessarily, set to be the same value.
The low frequency signal decoder 905 decodes the low frequency signal using a pre-set decoding method. The low frequency signal decoder 905 can perform the decoding by using any disclosed decoding method. That is, since the decoding apparatus according to the current embodiment is characterized by the decoding of the high frequency signal, decoding the low frequency signal is not limited to a specific decoding method. Examples of the decoding method used in the low frequency signal decoder 905 are the AAC method, the method of decoding predetermined important frequency component(s) and decoding the remaining frequency components as a predetermined noise signal, and so on.
The high frequency signal decoder 910 decodes the high frequency signal using the low frequency signal and decodes important frequency component(s) in the high frequency signal. The high frequency signal decoder 910 also adjusts a high frequency signal prepared to each band in which the important frequency component(s) are included and combines the high frequency signal and the important frequency component(s). The high frequency signal decoder 910 includes a frequency component decoder 915, an energy value calculator 920, a bandwidth expansion decoder 930, a signal adjuster 940, and a signal combiner 950.
The frequency component decoder 915 decodes predetermined frequency component(s) determined as important frequency component(s) according to a pre-set criterion and encoded by the encoder.
The energy value calculator 920 calculates an energy value of each frequency component decoded by the frequency component decoder 915.
The bandwidth expansion decoder 930 decodes the high frequency signal using the low frequency signal decoded by the low frequency signal decoder 905.
The signal adjuster 940 adjusts a signal prepared to a band in which the frequency component(s) decoded by the frequency component decoder 915 are included from among the signal decoded by the bandwidth expansion decoder 930.
The signal adjuster 940 adjusts the signal decoded by the bandwidth expansion decoder 930 so that an energy value of a signal of a band that is to be adjusted becomes a value obtained by subtracting an energy value of a frequency component included in each band, which is calculated by the energy value calculator 920, from an energy value of the signal decoded by the bandwidth expansion decoder 930.
The signal combiner 950 combines the frequency component(s) decoded by the frequency component decoder 915 and the signal adjusted by the signal adjuster 940.
The band combiner 955 combines the low frequency signal decoded by the low frequency signal decoder 905 and the high frequency signal combined by the signal combiner 950 and outputs the combined signal via an output terminal OUT.
Referring to
The low frequency signal divided in operation 1000 is encoded using a pre-set encoding method in operation 1005. The encoding in operation 1005 can be performed by using any disclosed encoding method. That is, since the encoding method according to the current embodiment is characterized by the encoding of the high frequency signal, encoding the low frequency signal is not limited to a specific encoding method. Examples of the encoding method used in operation 1005 are the AAC method, the method of detecting and encoding only important frequency component(s) from an input signal and encoding the remaining frequency components as a predetermined noise signal, and so on.
In operation 1010, frequency component(s) determined as important frequency component(s) according to a pre-set criterion are detected from the high frequency signal divided in operation 1000. Methods used in operation 1010 to determine an important frequency component will now be described. As a first method, an SMR value is calculated, and a signal component greater than a masking threshold is selected as an important frequency component. As a second method, an important frequency component is selected by extracting a spectral peak considering a predetermined weight. As a third method, an SNR value is calculated for each sub-band, and a frequency component having a peak value greater than a predetermined value in each sub-band having a low SNR value is selected as an important frequency component. The three methods described above can be separately embodied or can be embodied by combining at least one of them. In addition, these three methods are only illustrations, and the present invention is not limited thereto.
The frequency component(s) detected in operation 1010 and information indicating position(s) at which the frequency component(s) are encoded in operation 1015.
It is determined in operation 1018 whether a band includes the frequency component(s) selected in operation 1010. The band is a processing unit applied to perform encoding in operation 1035 that is to be described later. For example, in the case of a QMF, a band can be a sub-band or a scale factor band.
If it is determined in operation 1018 that a band includes the frequency component(s) selected in operation 1010, an energy value of each signal to reconstruct the band in which the frequency component(s) detected in operation 1010 are included is calculated in operation 1020.
An energy value of each band, which is calculated in operation 1020, and information indicating a position of each band are encoded in operation 1025.
Each tonality of high frequency signal(s) prepared to the band in which the frequency component(s) detected in operation 1010 are included is calculated and encoded in operation 1030. However, in the current embodiment, operation 1030 does not have to be necessarily included. That is, when a decoder (not shown) generates a signal that reconstructs band(s) in which frequency component(s) are included, if the decoder generates a single signal using a plurality of signals instead of using a single signal, operation 1030 may be necessary. For example, when the decoder generates signal(s) that are to reconstruct band(s) in which frequency component(s) are included using both an arbitrarily generated signal and a patched signal, operation 1030 is necessary.
If it is determined in operation 1018 that a band does not include the frequency component(s) selected in operation 1010, signal(s) prepared to band(s) in which the frequency component(s) detected in operation 1010 are not included are encoded using the low frequency signal in operation 1035. When a signal is encoded in operation 1010, information for decoding the high frequency signal using the low frequency signal is generated and encoded.
The result of the encoding performed in operation 1005, the frequency component(s) and the information indicating position(s) at which the frequency component(s) are prepared, which are encoded in operation 1015, the energy value of each band and the information indicating a position of each band, which are encoded in operation 1025, and the information for decoding the high frequency signal using the low frequency signal, which is encoded in operation 1035 are multiplexed in operation 1040. In some cases, the tonality(-ies) encoded in operation 1030 can be multiplied together in operation 1040.
Referring to
The low frequency signal is decoded using a pre-set decoding method in operation 1105. The decoding in operation 1105 can be performed by using any disclosed decoding method. That is, since the decoding method according to the current embodiment is characterized by the decoding of the high frequency signal, decoding the low frequency signal is not limited to a specific decoding method. Examples of the decoding method used in operation 1105 are the AAC method, a method of decoding predetermined important frequency component(s) and decoding the remaining frequency components as a predetermined noise signal, and so on.
Predetermined frequency component(s) determined as important frequency component(s) according to a pre-set criterion and encoded by the encoder are decoded in operation 1110.
It is determined in operation 1115 whether a band includes the frequency component(s) decoded in operation 1110.
If it is determined in operation 1115 that a band includes the frequency component(s), it is determined in operation 1120 whether a frame applied to the frequency component(s) decoded in operation 1110 matches a frame applied to information for decoding the high frequency signal using the low frequency signal.
If it is determined in operation 1120 that the two frames do not match each other, the frame applied to the frequency component(s) decoded in operation 1110 is synchronized with the frame applied to the information for decoding the high frequency signal using the low frequency signal in operation 1125. In operation 1125, a portion of or an entire frame applied to the information for decoding the high frequency signal using the low frequency signal may be processed based on the frame applied to the frequency component(s) decoded in operation 1110.
Energy value(s) of a signal prepared to band(s) in which the frequency component(s) decoded in operation 1110 are included are decoded in operation 1130.
Tonality(-ies) of signal(s) prepared to the band(s) in which the frequency component(s) decoded in operation 1115 are included are decoded in operation 1133. However, in the current embodiment, operation 1133 does not have to be necessarily included. That is, when a single signal is generated using a plurality of signals instead of using a single signal in operation 1135, operation 1133 may be necessary. For example, when signal(s) that are to reconstruct the band(s) in which the frequency component(s) decoded in operation 1110 are included are generated using both an arbitrarily generated signal and a patched signal, operation 1133 is necessary.
The signal(s) that are to be prepared to the band(s) in which the frequency component(s) decoded in operation 1110 are included are generated in operation 1135. Examples of a method used in operation 1135 to generate a signal will now be described. As a first method, an arbitrary high frequency signal, e.g. a random noise signal, is generated in operation 1135. As a second method, in operation 1135, a high frequency signal can be generated by copying, e.g. patching or folding, the low frequency signal decoded in operation 1105. As a third method, a high frequency signal can be generated using a low frequency signal in operation 1135.
In operation 1140, the signal generated in operation 1135 is adjusted so that energy of the signal generated in operation 1135 is adjusted considering energy value(s) of the frequency component(s) decoded in operation 1110 based on an energy value of each band, which is decoded in operation 1130. Operation 1140 has been described in more detail with reference to
If operation 1133 is included in the current embodiment, in operation 1140, the signal generated in operation 1135 is adjusted by further considering the tonality(-ies) decoded in operation 1133.
If it is determined in operation 1115 that a band does not include the frequency component(s), in operation 1145, a signal to reconstruct band(s) in which the frequency component(s) decoded in operation 1110 are not included from among the high frequency signal is decoded using the low frequency signal decoded in operation 1105.
The frequency component(s) decoded in operation 1110 and the signal adjusted in operation 1140 are combined in operation 1150. Since the signal combined in operation 1150 reconstructs only the band(s) in which the frequency component(s) decoded in operation 1110 are included, the signal decoded in operation 1145 is further combined with the remaining band(s) in operation 1150. As described above, a high frequency signal is finally generated by combining the signals in operation 1150.
The low frequency signal decoded in operation 1105 and the high frequency signal combined in operation 1150 are combined in operation 1155.
Referring to
An energy value of each frequency component is calculated in operation 1205 by receiving the frequency component(s) decoded in operation 1110.
A gain value of the energy value(s) of the band(s) in which the frequency component(s) decoded in operation 1130 are included is calculated in operation 1210 so that each energy value calculated in operation 1200 becomes a value obtained by subtracting each energy value calculated in operation 1205 from each energy value received in operation 1130. For example, the gain value can be calculated in operation 1210 using Equation 1 above.
If the gain value is calculated considering the tonality in operation 1210, the energy value(s) of the band(s) in which the frequency component(s) are included are received in operation 1205, the tonality(-ies) of the signal(s) prepared to the band(s) in which the frequency component(s) are included are also received in operation 1205, and gain value(s) are calculated in operation 1210 by using each received energy value, each received tonality, and each energy value calculated in operation 1205.
In operation 1215, the gain value for each band, which is calculated in operation 1210, is applied to a signal generated in operation 1135 with respect to each band in which the frequency component(s) are included.
Referring to
The low frequency signal divided in operation 1300 is encoded using a pre-set encoding method in operation 1305. The encoding in operation 1305 can be performed by using any disclosed encoding method. That is, since the encoding method according to the current embodiment is characterized by the encoding of the high frequency signal, encoding the low frequency signal is not limited to a specific encoding method. Examples of the encoding method used in operation 1305 are the AAC method, the method of detecting and encoding only important frequency component(s) from an input signal and encoding the remaining frequency components as a predetermined noise signal, and so on.
The high frequency signal divided in operation 1300 is transformed from the time domain to the frequency domain using a first transformation method in operation 1310.
The high frequency signal divided in operation 1300 is also transformed from the time domain to the frequency domain using a second transformation method, which is different from the first transformation method, in order to apply a psychoacoustic model in operation 1315.
The signal transformed in operation 1310 is used to encode the high frequency signal, and the signal transformed in operation 1315 is used to select an important frequency component by applying the psychoacoustic model to the high frequency signal. The psychoacoustic model is a mathematical model of a masking operation of a human auditory system.
For example, in operation 1310, the high frequency signal can be expressed as a real number part by transforming the high frequency signal in the time domain to a signal in the frequency domain using the MDCT method corresponding to the first transformation method, and in operation 1315, the high frequency signal can be expressed as an imaginary number part by transforming the high frequency signal in the time domain to a signal in the frequency domain using the MDST method corresponding to the second transformation method. The signal transformed by the MDCT method and expressed as the imaginary number part is used to encode the high frequency signal, and the signal transformed by the MDST method and expressed as the real number part is used to select an important frequency component by applying the psychoacoustic model to the high frequency signal. Since signal phase information can be additionally expressed using the transformation, a mismatch occurring by performing DFT (Discrete Fourier Transform) on a signal corresponding to the time domain and quantizing an MDCT coefficient can be solved.
In operation 1320, frequency component(s) determined as important frequency component(s) are selected using the signal transformed in operation 1315 according to a criterion pre-set from the signal transformed in operation 1310. Methods used in operation 1320 to determine an important frequency component will now be described. As a first method, an SMR value is calculated, and a signal component greater than a masking threshold is selected as an important frequency component. As a second method, an important frequency component is selected by extracting a spectral peak considering a predetermined weight. As a third method, an SNR value is calculated for each sub-band, and a frequency component having a peak value greater than a predetermined value in each sub-band having a low SNR value is selected as an important frequency component. The three methods described above can be separately embodied or can be embodied by combining at least one of them. In addition, these three methods are only illustrations, and the present invention is not limited thereto.
The frequency component(s) of a signal transformed in operation 1310, which are selected in operation 1320, and information indicating position(s) at which the frequency component(s) are to be reconstructed are encoded in operation 1325.
It is determined in operation 1330 whether a band includes the frequency component(s) selected in operation 1320. The band is a processing unit applied to perform encoding in operation 1350 that is to be described later. For example, in the case of a QMF, a band can be a sub-band or a scale factor band.
If it is determined in operation 1330 that a band includes the frequency component(s) selected in operation 1320, an energy value of each signal prepared to the band in which the frequency component(s) selected in operation 1320 are included is calculated in operation 1335.
An energy value of each band, which is calculated in operation 1335, and information indicating a position of each band are encoded in operation 1340.
If it is determined in operation 1330 that a band does not include the frequency component(s) selected in operation 1320, transforming between domains is performed in operation 1345 so that the high frequency signal divided in operation 1300 appears in the time domain for each predetermined frequency band using an analysis filterbank. For example, the transforming between domains is performed in operation 1345 by applying the QMF.
The high frequency signal(s) to reconstruct band(s) in which the frequency component(s) selected in operation 1320 are not included are encoded using the low frequency signal in operation 1350. When a signal is encoded in operation 1350, information for decoding the high frequency signal using the low frequency signal is generated and encoded.
The result of the encoding performed in operation 1305, the frequency component(s) and the information indicating position(s) at which the frequency component(s) are prepared, which are encoded in operation 1325, the energy value of each band and the information indicating a position of each band, which are encoded in operation 1340, and the information for decoding the high frequency signal using the low frequency signal, which is encoded in operation 1350 are multiplexed to a bitstream in operation 1355.
Referring to
The low frequency signal is decoded using a pre-set decoding method in operation 1405. The decoding in operation 1405 can be performed by using any disclosed decoding method. That is, since the decoding method according to the current embodiment is characterized by the decoding of the high frequency signal, decoding the low frequency signal is not limited to a specific decoding method. Examples of the decoding method used in operation 1405 are the AAC method, a method of decoding predetermined important frequency component(s) and decoding the remaining frequency components as a predetermined noise signal, and so on.
Predetermined frequency component(s) determined as important frequency component(s) according to a pre-set criterion and encoded by the encoder are decoded in operation 1410.
It is determined in operation 1415 whether a band includes the frequency component(s) decoded in operation 1410.
If it is determined in operation 1415 that a band includes the frequency component(s), it is determined in operation 1420 whether a frame applied to the frequency component(s) decoded in operation 1410 matches a frame applied to information for decoding the high frequency signal using the low frequency signal.
If it is determined in operation 1420 that the two frames do not match each other, in operation 1425, the frame applied to operation 1410 is synchronized with a frame applied to operation 1445 that is to be described later. In operation 1425, a portion or an entire portion of the frame applied to operation 1445 may be processed based on the frame applied to operation 1410.
Energy value(s) of a signal to reconstruct band(s) in which the frequency component(s) decoded in operation 1410 are included are decoded in operation 1430.
Signal(s) that to reconstruct the band(s) in which the frequency component(s) decoded in operation 1410 are included are generated in operation 1435.
Examples of a method used in operation 1435 to generate a signal will now be described. As a first method, an arbitrary high frequency signal, e.g. a random noise signal, is generated in operation 1435. As a second method, in operation 1435, a high frequency signal can be generated by copying, e.g. patching or folding, the low frequency signal decoded in operation 1405. As a third method, a high frequency signal can be generated using a low frequency signal in operation 1435.
In operation 1440, the signal generated in operation 1435 is adjusted so that energy of the signal generated in operation 1435 is adjusted considering energy value(s) of the frequency component(s) decoded in operation 1410 based on an energy value of each band, which is decoded in operation 1430. Operation 1440 has been described in more detail with reference to
If it is determined in operation 1415 that a band does not include the frequency component(s), in operation 1445, a signal to reconstruct band(s) in which the frequency component(s) decoded in operation 1410 are not included from among the high frequency signal is decoded using the low frequency signal decoded in operation 1405.
As an inverse process of the transformation performed in operation 1345 illustrated in
The frequency component(s) decoded in operation 1410 and the signal adjusted in operation 1440 are combined in operation 1455. Since the signal combined in operation 1455 only reconstructs the band(s) in which the frequency component(s) decoded in operation 1410 are included, the signal decoded in operation 1445 and inversely transformed in operation 1450 is further combined for the remaining band(s) in operation 1455. As described above, a high frequency signal is finally generated by combining the signals in operation 1455.
The low frequency signal decoded in operation 1405 and the high frequency signal combined in operation 1455 are combined in operation 1460.
Referring to
The low frequency signal divided in operation 1500 is encoded using a pre-set encoding method in operation 1505. The encoding in operation 1505 can be performed by using any disclosed encoding method. That is, since the encoding method according to the current embodiment is characterized by the encoding of the high frequency signal, encoding the low frequency signal is not limited to a specific encoding method. Examples of the encoding method used in operation 1505 are the AAC method, the method of detecting and encoding only important frequency component(s) from an input signal and encoding the remaining frequency components as a predetermined noise signal, and so on.
In operation 1510, frequency component(s) determined as important frequency component(s) according to a pre-set criterion are detected from the high frequency signal divided in operation 1500. Methods used in operation 1510 to determine an important frequency component will now be described. As a first method, an SMR value is calculated, and a signal component greater than a masking threshold is selected as an important frequency component. As a second method, an important frequency component is selected by extracting a spectral peak considering a predetermined weight. As a third method, an SNR value is calculated for each sub-band, and a frequency component having a peak value greater than a predetermined value in each sub-band having a low SNR value is selected as an important frequency component. The three methods described above can be separately embodied or can be embodied by combining one with another. In addition, these three methods are only illustrations, and the present invention is not limited thereto.
The frequency component(s) detected in operation 1510 and information indicating position(s) at which the frequency component(s) are prepared are encoded in operation 1515.
The high frequency signal is encoded using the low frequency signal in operation 1520. When the signal is encoded in operation 1520, information for decoding the high frequency signal using the low frequency signal is generated and encoded.
Unlike operation 1035 illustrated in
The result of the encoding performed in operation 1505, the frequency component(s) and the information indicating position(s) at which the frequency component(s) are to be reconstructed, which are encoded in operation 1515, and the information for decoding the high frequency signal using the low frequency signal, which is encoded in operation 1520, are multiplexed to a bitstream in operation 1525.
Referring to
The low frequency signal is decoded using a pre-set decoding method in operation 1605. The decoding in operation 1605 can be performed by using any disclosed decoding method. That is, since the decoding method according to the current embodiment is characterized by the decoding of the high frequency signal, decoding the low frequency signal is not limited to a specific decoding method. Examples of the decoding method used in operation 1605 are the AAC method, a method of decoding predetermined important frequency component(s) and decoding the remaining frequency components as a predetermined noise signal, and so on.
Predetermined frequency component(s) determined as important frequency component(s) according to a pre-set criterion and encoded by the encoder are decoded in operation 1610.
An energy value of each frequency component decoded in operation 1610 is calculated in operation 1615.
The high frequency signal is decoded in operation 1620 using the low frequency signal decoded in operation 1605.
It is determined in operation 1625 whether a band includes the frequency component(s) decoded in operation 1620. The band is a processing unit applied to perform the encoding in operation 1620. For example, in the case of a QMF, a band can be a sub-band or a scale factor band.
If it is determined in operation 1625 that a band includes the frequency component(s), a signal to reconstruct a band in which the frequency component(s) decoded in operation 1610 are included from among the signal decoded in operation 1620 is adjusted in operation 1630.
The signal decoded in operation 1620 is adjusted in operation 1635 so that an energy value of a signal of a band adjusted in operation 1630 becomes a value obtained by subtracting an energy value of a frequency component included in each band, which is calculated in operation 1615, from an energy value of the signal decoded in operation 1620.
The frequency component(s) decoded in operation 1610 and the high frequency signal adjusted in operation 1630 are combined in operation 1640.
As described above, the signal combined in operation 1640 reconstructs the band(s) in which the frequency component(s) are included, and the high frequency signal decoded using the low frequency signal in operation 1620 reconstructs the band(s) in which the frequency component(s) are not included.
The low frequency signal decoded in operation 1605 and the high frequency signal combined in operation 1650 are combined in operation 1645.
The invention can also be embodied as computer (including all devices having an information processing function) readable codes on a computer readable recording medium. The computer readable recording medium is any data storage device that can store data which can be thereafter read by a computer system. Examples of the computer readable recording medium include read-only memory (ROM), random-access memory (RAM), CD-ROMs, magnetic tapes, floppy disks, and optical data storage devices.
As described above, according to the present invention, important frequency component(s) are detected from a signal corresponding to a frequency band higher than a pre-set frequency and encoded, and energy value(s) of a signal to reconstruct band(s) in which the detected frequency component(s) are included are encoded. In addition, a signal to reconstruct a band in which important frequency component(s) are included is adjusted considering an energy value of the important frequency component(s) and decoded.
Accordingly, even though encoding or decoding is performed using a small number of bits, there is no degradation in sound quality of a signal corresponding to a high frequency band, and thus coding efficiency can be maximized.
While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present invention as defined by the following claims.
Oh, Eun-mi, Choo, Ki-hyun, Porov, Anton, Kim, Jung-hoo
Patent | Priority | Assignee | Title |
Patent | Priority | Assignee | Title |
4956871, | Sep 30 1988 | AT&T Bell Laboratories | Improving sub-band coding of speech at low bit rates by adding residual speech energy signals to sub-bands |
5040217, | Oct 18 1989 | AMERICAN TELEPHONE AND TELEGRAPH COMPANY, A CORP OF NY | Perceptual coding of audio signals |
5579404, | Feb 16 1993 | Dobly Laboratories Licensing Corporation | Digital audio limiter |
6697775, | Jun 15 1998 | DOLBY INTERNATIONAL AB | Audio coding method, audio coding apparatus, and data storage medium |
7003451, | Nov 14 2000 | DOLBY INTERNATIONAL AB | Apparatus and method applying adaptive spectral whitening in a high-frequency reconstruction coding system |
7050972, | Nov 15 2000 | DOLBY INTERNATIONAL AB | Enhancing the performance of coding systems that use high frequency reconstruction methods |
7469206, | Nov 29 2001 | DOLBY INTERNATIONAL AB | Methods for improving high frequency reconstruction |
8073050, | Mar 09 2007 | Fujitsu Limited | Encoding device and encoding method |
8612219, | Oct 23 2006 | Fujitsu Limited | SBR encoder with high frequency parameter bit estimating and limiting |
8788275, | Nov 24 2006 | Fujitsu Limited | Decoding method and apparatus for an audio signal through high frequency compensation |
20020009000, | |||
20030093271, | |||
20050096917, | |||
20050149339, | |||
20050267744, | |||
20060013405, | |||
20060020958, | |||
20060031075, | |||
20070016404, | |||
20070016412, | |||
20080263285, | |||
CN1247415, | |||
CN1527995, | |||
JP2003216190, | |||
JP2003255973, | |||
JP2004514180, | |||
JP2007187905, | |||
JP2123828, | |||
KR100209870, | |||
KR20070005468, | |||
KR20070011100, | |||
KR200711100, | |||
KR20075468, | |||
RE45042, | Nov 14 2001 | DOLBY INTERNATIONAL AB | Encoding device and decoding device |
WO3042979, | |||
WO3046891, | |||
WO2003042979, | |||
WO2003046891, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Oct 14 2015 | Samsung Electronics Co., Ltd. | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
Mar 10 2021 | M1552: Payment of Maintenance Fee, 8th Year, Large Entity. |
Date | Maintenance Schedule |
Jan 21 2023 | 4 years fee payment window open |
Jul 21 2023 | 6 months grace period start (w surcharge) |
Jan 21 2024 | patent expiry (for year 4) |
Jan 21 2026 | 2 years to revive unintentionally abandoned end. (for year 4) |
Jan 21 2027 | 8 years fee payment window open |
Jul 21 2027 | 6 months grace period start (w surcharge) |
Jan 21 2028 | patent expiry (for year 8) |
Jan 21 2030 | 2 years to revive unintentionally abandoned end. (for year 8) |
Jan 21 2031 | 12 years fee payment window open |
Jul 21 2031 | 6 months grace period start (w surcharge) |
Jan 21 2032 | patent expiry (for year 12) |
Jan 21 2034 | 2 years to revive unintentionally abandoned end. (for year 12) |