Method and apparatus for processing audio signal using spectral data of audio signal

A method of processing an audio signal is disclosed. The present invention includes receiving spectral data corresponding to a first band in a frequency band including the first band and a second band, determining a copy band based on frequency information of the copy band corresponding to a partial band of the first band, and generating spectral data of a target band corresponding to the second band using the spectral data of the copy band, wherein the copy band exists in an upper part of the first band.

TECHNICAL FIELD

The present invention relates to an apparatus for processing a signal and method thereof. Although the present invention is suitable for a wide scope of applications, it is particularly suitable for encoding and decoding audio signals using spectral data of signal.

BACKGROUND ART

Generally, in processing an audio signal using signal characteristics, the audio signal is processed based on characteristics between signals from different bands.

DISCLOSURE OF THE INVENTION

Technical Problem

Conventional art is insufficient to process an audio signal effectively based on characteristics between signals from different bands.

Technical Solution

The present invention is directed to an apparatus for processing a signal and method thereof that substantially obviate one or more of the problems due to limitations and disadvantages of the related art.

An object of the present invention is to provide an apparatus for processing a signal and method thereof, by which an audio signal can be processed based on characteristics between signals from different bands.

Another object of the present invention is to provide an apparatus for processing a signal and method thereof, by which spectral data on a different band can be obtained in a manner of selecting appropriate spectral data from a plurality of spectral data of a specific band.

A further object of the present invention is to provide an apparatus for processing a signal and method thereof, by which a bitrate can be minimized despite processing such a signal having a different characteristic as a speech signal, an audio signal and the like by a scheme appropriate for the corresponding characteristic.

ADVANTAGEOUS EFFECTS

The present invention provides the following effects or advantages.

First, the present invention decodes a signal having a speech signal characteristic as a speech signal and decodes a signal having an audio signal characteristic as an audio signal. Therefore, the present invention can adaptively select a decoding scheme that matches each signal characteristic.

Secondly, the present invention obtains spectral data of a different band by selecting the most appropriate spectral data from transferred spectral data, thereby increasing a reconstruction rate of an audio signal.

Thirdly, the present invention selects spectral data using start band information transferred from an encoder. Therefore, the present invention increases accuracy in selecting spectral data but decreases complexity required for carrying out an operation.

Fourthly, the present invention omits a transfer of spectral data corresponding to a partial band, thereby reducing bits required for a spectral data transfer considerably.

BEST MODE

To achieve these and other advantages and in accordance with the purpose of the present invention, as embodied and broadly described, a signal processing apparatus according to the present invention includes a copy band determining unit, a band extension information receiving unit and a target band generating unit. And, the target band generating unit includes a time dilatation/compression unit and a decimation unit. Moreover, the target band generating unit can further include a filtering unit.

The copy band determining unit receives spectral data corresponding to a low frequency band in a frequency band including the low frequency band and a high frequency band. The copy band determining unit then determines a copy band based on frequency information of the copy band corresponding to a partial band of the low frequency band.

The band extension information obtaining unit obtains side information for generating a target band from the copy band. In this case, the side information can be obtained from a bitstream and can include gain information, harmonic information and the like.

The target information generating unit generates spectral data of a target band corresponding to the high frequency band using the spectral data of the copy band. In this case, the copy band can exist above the low frequency band. It is able to generate the high frequency band using the copy band existing on the low frequency band. In the same way, it is also possible to generate the low frequency band using the copy band existing on the high frequency band.

The target band generating unit includes the time dilatation/compression unit and the decimation unit and is able to further include the filtering unit. In particular, the copy band can be obtained from the bitstream or can be obtained by filtering the received spectral data.

In this case, frequency information of the copy band indicates at least one of a start frequency, a start band and index information indicating the start band. And, the spectral data of the target band can be generated using at least one of gain information corresponding to a gain between the spectral data of the copy band and the spectral data of the target band, and harmonic information of the copy band. The spectral data of the low frequency band can be decoded by one of the audio signal and the speech signal.

The present invention is applicable to core coding of AAC, AC3, AMR and the like or future core coding. The following descriptions mainly refer applications on downmix signal but are not limited.

Mode For Invention

Reference is made to the preferred embodiments of the present invention in detail, examples of which are illustrated in the accompanying drawings.

Terminologies in the present invention can be construed as the following references. Terminologies not disclosed in this specification can be construed as concepts matching the idea of the present invention. It is understood that ‘coding’ can be construed both as encoding or decoding in a specific case. ‘Information’ in this disclosure can generally mean values, parameters, coefficients, elements and the like and its meaning can be construed as different occasionally, by which the present invention is not limited.

FIG. 1is a block diagram of an audio signal encoding apparatus according to an embodiment of the present invention, andFIG. 2is a detailed block diagram of a partial band encoding unit shown inFIG. 1.

Referring toFIG. 1, an audio signal encoding apparatus according to an embodiment of the present invention includes a multi-channel encoding unit110, a partial band encoding unit120, an audio signal encoding unit130, a speech signal encoding unit140and a multiplexer150.

The multi-channel encoding unit110receives a plurality of channel signals (hereinafter named a multi-channel signal) and then generates a downmix signal by downmixing the multi-channel signal. The multi-channel encoding unit110generates spatial information required for upmixing the downmix signal to the multi-channel signal. In this case, the spatial information can include channel level difference information, inter-channel correlation information, channel prediction coefficient and downmix gain information and the like.

Meanwhile, this downmix signal can include a signal in a time-domain (e.g., residual data) or information of a frequency-transformed frequency domain (e.g., scale factor coefficient, spectral data).

The partial band encoding unit120generates a narrowband signal and band extension information from a broadband signal.

In this case, an original signal including a plurality of bands is named a broadband signal and at least one of a plurality of the bands is named a narrowband signal. For instance, in a broadband signal including two bands (a low frequency band and a high frequency band), either one of the bands is named a narrowband signal. Moreover, a partial band indicates a portion of the whole narrowband signal and shall be named a copy band in the following description.

The band extension information is the information for generating a target band using the copy band. And, the band extension information can include frequency information, gain information, harmonic information and the like. In a decoder, the broadband signal is generated from combining the target band with the narrowband signal.

If a specific frame or segment of a downmix signal (narrowband downmix signal DMXn) has a large audio characteristic, the audio signal encoding unit130encodes the downmix signal according to an audio coding scheme. In this case, the audio signal may comply with AAC (advanced audio coding) standard or HE-AAC (high efficiency advanced audio coding) standard, by which the present invention is not limited. Moreover, the audio signal encoding unit130may correspond to an MDCT (modified discrete transform) encoder.

If a specific frame or segment of a dowrunix signal (narrowband downmix signal DMXn) has a large speech characteristic, the speech signal encoding unit140encodes the downmix signal according to a speech coding scheme. In this case, the speech signal can include G. 7XX or AMR-series, by which examples of the speech signal are not limited. Meanwhile, the speech signal encoding unit140can further use a linear prediction coding (LPC) scheme. If a harmonic signal has high redundancy on a time axis, it can be modeled by linear prediction for predicting a present signal from a past signal. In this case, if the linear prediction coding scheme is adopted, it is able to increase coding efficiency. Moreover, the speech signal encoding unit140can correspond to a time domain encoder.

Thus, the narrowband downmix is encoded per frame or segment by either the audio signal encoding unit130or the speech signal encoding unit140.

And, the multiplexer150generates a bitstream by multiplexing the spatial information generated by the multi-channel encoding unit110, the band extension information generated by the partial band encoding unit120and the encoded narrowband downmix signal.

In the following description, the detailed configuration of the partial band encoding unit120is explained with reference toFIG. 2.

Referring toFIG. 2, the partial band encoding unit120includes a spectral data obtaining unit122, a copy band determining unit124, a gain information obtaining unit126, a harmonic component information obtaining unit128, and a band extension information transferring unit129.

If a received broadband signal is not spectral data, the spectral data obtaining unit122generates spectral data in a manner of converting a downmix to a spectral coefficient, scaling the spectral coefficient with a scale factor and then performing quantization. In this case, the spectral data includes spectral data of broadband corresponding to a broadband downmix.

The copy band determining unit124determines a copy band and a target band based on the spectral data of the broadband and generates frequency information for band extension. In this case, the frequency information can include a start frequency, start band information or the like. In the following description, the copy band and the like are explained with reference toFIG. 3andFIG. 4.

FIG. 3is a diagram for relations among a copy band, a target band and a start band according to the present invention, andFIG. 4is a diagram for partial band extension according to second to fourth embodiments of the present invention.

Referring toFIG. 3, total n scale factor bands (sfb) 0 to n−1 exist and spectral data corresponding to the scale factor bands sfb0to sfbn−1exist, respectively. Spectral data sdibelonging to a specific band can mean a set of a plurality of spectral data sdi—0to sdi—m−1. The number miof the spectral data can be generated to correspond to a spectral data unit, a band unit or a unit over the former unit. In this example, a 0thscale factor band sfb0corresponds to a low frequency band and an (n−1)thscale factor band sfbn−1corresponds to an upper part, i.e., a high frequency band. Alternatively, a configuration reverse to this example is possible.

Spectral data corresponding to a broadband signal is the spectral data corresponding to the total band sfb0to sfbn−1including a first band and a second band. Spectral data corresponding to a narrowband downmix DMXnis the spectral data corresponding to the first band and include the spectral data of the 0thband sfb0to the spectral data of the (i−1)thband sfbi-1. In particular, the narrowband spectral data are transferred to a decoder, while the spectral data of the rest of the bands sfb1to sfbn−1are not transferred thereto.

Thus, the decoder generates the band that does not carry the spectral data. And, this band is called a target band tb. Meanwhile, a copy band cb is a scale factor band of spectral data used in generating the spectral data of the target band tb. The copy band includes portions sfbsto sfbi−1of the bands sfb0to sfbi−1corresponding to the narrowband downmix. A band, from which the copy band cb starts, is a start band sb and a frequency of the start band is a start frequency. In other words, the copy band cb can be the start band sb itself, may include the start band and a frequency band higher than the start band, or can include the start band and a frequency band lower than the start band.

According to the present invention, an encoder generates narrowband spectral data and band extension information using broadband spectral data, while a decoder generates spectral data of a target band using spectral data of a copy band among narrowband spectral data.

FIG. 4shows three kinds of embodiments of partial band extension. A copy band can generate a target band as a partial band of a whole narrow band. In this case, the copy band can be located on an upper frequency band. At least one copy band can exist and in case a plurality of copy bands exist, the bands can be equally or variably spaced apart from each other.

Referring to (A) ofFIG. 4, partial band extension is shown in case a bandwidth of a copy band is equal to a bandwidth of a target band. In particular, the copy band cb includes an sthband sfbscorresponding to a start band sb, an (n−4)thband sfbn−4and an (n−2)thband sfbn−2. An encoder is able to omit transferring of spectral data of the target band located on the right of the copy band using the spectral data of the copy band. Meanwhile, it is able to generate gain information (g) which is a difference between the spectral data of the copy band and the spectral data of the target band. This will be explained later.

(B) ofFIG. 4indicates a copy band and a target band that are different in bandwidth. A bandwidth of the target band is equal to or greater than two bandwidths (tb and tb′) of the copy band. In this case, bandwidths of the target band can be generated by applying different gains gsand gs+1, respectively, to the spectral data of the copy band bandwidth and tb of the target band.

Referring to (C) ofFIG. 4, after spectral data of a target band have been generated using spectral data of a copy band, it is able to generate spectral data of second target band, sfbkto sfbn−1, using spectral data corresponding to bands sfbk0to sfbk−1adjacent to a second start bad sfbk. In this case, a frequency band of a start band corresponds to ⅛ of a sampling frequency fsand the secondary start band may correspond to ¼ of the sampling frequency fs, by which examples of the present invention are not limited.

The relevance of the target band, the copy band and the start band according to the various embodiments of the present invention are previously explained. The rest of the elements are explained with reference toFIG. 2as follows.

As mentioned in the foregoing description, the copy band determining unit124determines a copy band, a target band and a start band, sb of the copy band. The start band can be variably determined per frame. This can also be determined according to a characteristic of a signal per frame. In particular, the start band can be determined according to whether a signal is transient or stationary. For example, a start band can be determined as a low frequency when a signal is transient since the signal has less harmonic components than when it is stationary.

Meanwhile, the start band can be determined as a numerical value of brightness of sound using a spectral centroid. For instance, if a sound is relatively high (when high-pitched tone is dominant), a start band can be formed in high frequency band. If a sound is relatively low (when low-pitched tone is dominant), a start band can be formed in low frequency band. Although the start band is determined variably per frame, it is preferable to form the start band by considering the trade-off between sound quality and bitrate.

The copy band determining unit124outputs a narrowband downmix DMXnor the spectral data of the narrowband excluding the spectral data of the target band. This narrowband downmix is inputted to the audio signal encoding unit or the speech signal encoding unit described inFIG. 1.

The copy band determining unit124generates start band information that indicates start frequency information on a start frequency from which the copy band cb starts or a start band information of the copy band cb. The start band information can be represented not only as a substantial value but also as index information. When the start band information is represented as the index information, the start band information corresponding to the index is stored in a table and can be used in a decoder. The start band information is forwarded to the band extension information transferring unit129and is then included as band extension information.

The gain information obtaining unit126generates gain information using the spectral data of the target band and the copy band. In this case, the gain information can be defined as an energy ratio of target band to copy band and can be defined as the following formula.

In Formula 1, ‘gi’ indicates a gain and ‘i’ indicates a current target band.

This gain information can be determined for each target band as previously shown. The gain information is forwarded to the band extension information transferring unit129and is then included as the band extension information as well.

The harmonic component information obtaining unit128generates harmonic component information by analyzing a harmonic component of the copy band. The harmonic component information is forwarded to the band extension information transferring unit129and is then included as the band extension information as well.

The band extension information transferring unit129outputs band extension information having the start band information, gain information and harmonic component information included therein. This band extension information is inputted to the multiplexer described with reference toFIG. 1.

Thus, the narrowband downmix and the band extension information are generated by the above-described method. In the following description, a process for generating a broadband downmix in a decoder using band extension information and a narrowband downmix is explained.

FIG. 5is a block diagram of an audio signal decoding apparatus according to an embodiment of the present invention, andFIG. 6is a detailed block diagram of a partial band decoding unit shown inFIG. 5.

Referring toFIG. 5, an audio signal decoding apparatus200according to an embodiment of the present invention includes a demultiplexer210, an audio signal decoding unit220, a speech signal decoding unit230, a partial band decoding unit240, and a multi-channel decoding unit250.

The demultiplexer210extracts a narrowband downmix DMXn, band extension information and spatial information from a bitstream. If a narrowband downmix signal has more audio characteristic, the audio signal decoding unit220decodes the narrowband downmix signal by an audio coding scheme. In this case, as mentioned in the foregoing description, an audio signal can comply with AAC or HE-AAC standard. If the narrowband downmix signal has more speech characteristic, the speech signal decoding unit230decoded the narrowband downmix signal by a speech coding scheme.

The partial band decoding unit240generates a broadband signal by applying the band extension information to the narrowband downmix, which will be explained in detail with reference toFIG. 6.

The multi-channel decoding unit250generates an output signal using the broadband downmix and the spatial information.

Referring toFIG. 6, the partial band decoding unit240includes a band extension information receiving unit242, a copy band determining unit244and a target band information generating unit246. The partial band decoding unit240can further include a signal reconstructing unit248.

The band extension information receiving unit242extracts start band information, gain information and harmonic component information from the band extension information, which are sent to the copy band determining unit244and the target band information generating unit246.

The copy band determining unit244determines a copy band using a narrowband downmix DMXnand start band information. In this case, if the narrowband downmix DMXnis not spectral data of a narrowband, it is converted to spectral data. Moreover, the copy band may be equal to or different from a start band. If the copy band is different from the start band, from a band corresponding to the start band information to a band having spectral data are determined as the copy band. Spectral data determined by the copy band are forwarded to the target band information generating unit246.

The target band information generating unit246generates spectral data of a target band using the spectral data of the copy band, the gain information and the like. Data of target band can be generated by the following formula.
sd(target_band)=gi×sd(copy_band)  [Formula 2]

In Formula 2, ‘g’ indicates a gain of a current band, ‘sd(target_band)’ indicates spectral data of target band, and ‘sd(copy_band)’ indicates spectral data of copy band.

In case of the former embodiment shown in (A) ofFIG. 4, gain (gs, gs−4, gs−2, etc.) can be applied to a copy band that is located on the left of a target band. In case of the former embodiment shown in (B) ofFIG. 4, for a first target band tb, it is able to apply a gain (gs, gn−3) to spectral data of a copy band. For a second target band tb′, different gain (gs*gs+1, gn−3*gn−2) can be applied to spectral data of a copy band. In case of the former embodiment shown in (C) ofFIG. 4, after a gain (gs) has been applied to spectral data sdsof a copy band corresponding to a partial area of a narrowband, spectral data of a secondary target band (tb) are generated by applying a different gain (g2nd) to a whole narrowband.

Meanwhile, the number of spectral data of target band Ntmay differ from the number of spectral data of copy band Nc. This case is explained as follows.FIG. 7is a diagram for a case that the number of spectral data of a target band Ntis greater than that of spectral data of a copy band Nc, andFIG. 8is a diagram for a case that the number of spectral data of a target band Ntis smaller than that of spectral data of a copy band Nc.

Referring to (A) ofFIG. 7, it can be observed that the number Ntof spectral data of a target band sfbiis 36 and it can be also observed that the number Ncof spectral data of a copy band sfbsis 24. In the drawing, the greater the number of data is, the longer a horizontal length of a band gets. Since the number of data of the target band is greater than the other, it is able to use the data of the copy band at least twice. For instance, a low frequency of the target band, as shown in (B1) ofFIG. 7, is firstly filled with 24 data of the copy band and the rest of the target band is then filled with 12 data in a front or rear part of the copy band. Of source, it is able to apply the transferred gain information as well.

Referring to (A) ofFIG. 8, it can be observed that the number Ntof spectral data of a target band sfbiis 24 and the number Ncof spectral data of a copy band sfbsis 36. Since the number of data of the target band is smaller than the other, it is able to partially use the data of the copy band only. For instance, it is able to generate spectral data of the target band sfbiusing 24 spectral data in a front area of the copy band sfbs, as shown in (B) ofFIG. 8, or 24 spectral data in a rear area of the target band sfbi, as shown in (C) ofFIG. 8.

Referring now toFIG. 6, the target information generating unit246generates spectral data of the target band by applying the gains in the above-mentioned various methods. In generating the spectral data of the target band, the target band information generating unit246is able to further use the harmonic component information. In particular, using the harmonic component information transferred by the encoder, it is able to generate a sub-harmonic signal corresponding to the number of size of the target band by phase synthesis or the like.

The target band information generating unit246is able to generate spectra data by combination of a time dilatation/compression step and a decimation step. In this case, the time dilatation/compression step may include a step of dilating a time-domain signal in a temporal direction and this dilatation step can use a phase vocoder scheme. The decimation step may include a step of compressing a time-dilated signal into an original time. It is able to apply the time dilatation/compression step and the decimation step to target band spectral data.

The signal reconstructing unit248generates a broadband signal using the target band spectral data and the narrowband signal. In this case, the broadband signal may include spectral data of a broadband or may correspond to a signal in a time domain.

An audio signal processing method according to the present invention can be implemented in a computer-readable program in combination with some hardware and can be stored in a recordable medium. Multimedia data having the data structure of the present invention can also be stored in the computer-readable recordable medium. The recordable media includes all kinds of storage devices which are capable of storing data readable by a computer system. The recordable media include ROM, RAM, CD-ROM, magnetic tapes, floppy discs, optical data storage devices, and the like for example and also include carrier-wave type implementations (e.g., transmission via Internet). Bitstream generated by the encoding method can be stored in a computer-readable recordable media or transmitted via wire/wireless communication network.

Industrial Applicability

Accordingly, the present invention is applicable to encoding/decoding of an audio/video signal.