The present disclosure relates to frame error concealment, and more particularly, to a frame error concealment method and apparatus for accurately restoring an error frame to be adaptive to signal characteristics without an additional delay at low complexity in a frequency domain, an audio decoding method and apparatus, and a multimedia device employing the same.
When an encoded audio signal is transmitted through a wired or wireless network, if a certain packet is damaged or distorted due to an error on the transmission, an error may occur in a certain frame of a decoded audio signal. In this case, if the error, which has occurred in the frame, is not properly processed, sound quality of the decoded audio signal may decrease in a duration of the frame in which the error has occurred (hereinafter, referred to as an error frame).
Examples of a method of concealing a frame error are a muting method of weakening an influence of an error on an output signal by reducing an amplitude of a signal in an error frame, a repetition method of reconstructing a signal of an error frame by repeatedly reproducing a previous good frame (PGF), an interpolation method of estimating a parameter of an error frame by interpolating parameters of a PGF and a next good frame (NGF), an extrapolation method of obtaining a parameter of an error frame by extrapolating a parameter of a PGF, and a regression analysis method of obtaining a parameter of an error frame by performing a regression analysis of a parameter of a PGF.
However, conventionally, since an error frame is restored by uniformly applying a same method regardless of characteristics of an input signal, a frame error cannot be efficiently concealed, thereby resulting in a decrease in sound quality. In addition, in the interpolation method, although a frame error can be efficiently concealed, an additional delay of one frame is necessary, and thus, it is not proper to use the interpolation method in a delay sensitive codec for communication. In addition, in the regression analysis method, although a frame error can be concealed by somewhat considering existing energy, a decrease in efficiency may occur when an amplitude of a signal gradually increases or a change in a signal is severe. In addition, in the regression analysis method, when a regression analysis is performed on a band basis in a frequency domain, an unintended signal may be estimated due to an instantaneous change in energy of each band.
It is an aspect to provide a frame error concealment method and apparatus for accurately restoring an error frame to be adaptive to signal characteristics without an additional delay at low complexity in a frequency domain.
It is another aspect to provide an audio decoding method and apparatus for minimizing a decrease in sound quality due to a frame error by accurately restoring an error frame to be adaptive to signal characteristics without an additional delay at low complexity in a frequency domain, a recording medium storing the same, and a multimedia device employing the same.
It is another aspect to provide a computer-readable recording medium storing a computer-readable program for executing the frame error concealment method or the audio decoding method.
It is another aspect to provide a multimedia device employing the frame error concealment apparatus or the audio decoding apparatus.
According to an aspect of one or more exemplary embodiments, there is provided a frame error concealment method comprising: predicting a parameter by performing a regression analysis on a group basis for a plurality of groups formed from a first plurality of bands forming an error frame; and concealing an error in the error frame by using the parameter predicted on a group basis.
According to another aspect of one or more exemplary embodiments, there is provided an audio decoding method comprising: acquiring a spectral coefficient by decoding a good frame; predicting a parameter by performing a regression analysis on a group basis for a plurality of groups formed from a first plurality of bands forming an error frame and acquiring a spectral coefficient of the error frame by using the parameter predicted on a group basis; and transforming a decoded spectral coefficient of the good frame or the error frame into a time domain and reconstructing a signal in the time domain by performing an overlap-and-add process.
The above and other features and advantages of the present invention will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings in which:
The present inventive concept may allow various kinds of change or modification and various changes in form, and specific exemplary embodiments will be illustrated in drawings and described in detail in the specification. However, it should be understood that the specific exemplary embodiments do not limit the present inventive concept to a specific form but include every modified, equivalent, or replaced form within the spirit and technical scope of the present inventive concept. In the following description, well-known functions or constructions are not described in detail since they would obscure the inventive concept with unnecessary detail.
Although terms, such as ‘first’ and ‘second’, can be used to describe various elements, the elements cannot be limited by the terms. The terms can be used to distinguish a certain element from another element.
The terminology used in the application is used only to describe specific exemplary embodiments and does not have any intention to limit the inventive concept. Although general terms as currently widely used as possible are selected as the terms used in the present inventive concept while taking functions in the present inventive concept into account, they may vary according to an intention of those of ordinary skill in the art, judicial precedents, or the appearance of new technology. In addition, in specific cases, terms intentionally selected by the applicant may be used, and in this case, the meaning of the terms will be disclosed in corresponding description of the inventive concept. Accordingly, the terms used in the present disclosure should be defined not by simple names of the terms but by the meaning of the terms and the content over the present inventive concept.
An expression in the singular includes an expression in the plural unless they are clearly different from each other in context. In the application, it should be understood that terms, such as ‘include’ and ‘have’, are used to indicate the existence of implemented feature, number, step, operation, element, part, or a combination of them without excluding in advance the possibility of existence or addition of one or more other features, numbers, steps, operations, elements, parts, or combinations of them.
The present inventive concept will now be described more fully with reference to the accompanying drawings, in which exemplary embodiments are shown. Like reference numerals in the drawings denote like elements, and thus their repetitive description will be omitted.
The audio encoding apparatus 110 shown in
Referring to
The frequency domain encoder 114 may perform a time-frequency transform on the audio signal provided from the pre-processor 112, select an encoding tool in correspondence with the number of channels, an encoding band, and a bit rate of the audio signal, and encode the audio signal by using the selected encoding tool. The time-frequency transform may be performed using a modified discrete cosine transform (MDCT) or a fast Fourier transform (FFT) but is not limited thereto. If a given number of bits are sufficient, a general transform encoding method may be used for all bands. Otherwise, if a given number of bits are insufficient, a bandwidth extension (BWE) method may be applied to some bands. When the audio signal is a stereo audio signal or a multi-channel audio signal, if a given number of bits are sufficient, encoding may be performed on each channel. Otherwise, if a given number of bits are insufficient, a down-mixing method may be applied. The frequency domain encoder 114 may generate encoded spectral coefficients.
The parameter encoder 116 may extract parameters from the encoded spectral coefficients provided from the frequency domain encoder 114 and encode the extracted parameters. The parameters may be extracted on a sub-band basis, and each sub-band may be a unit of grouping spectral coefficients and may have a uniform or non-uniform length by reflecting a threshold band. When each sub-band has a non-uniform length, a sub-band existing in a low-frequency band may have a relatively short length as compared with a sub-band in a high-frequency band. The number and length of sub-bands included in one frame may vary according to a codec algorithm and may affect an encoding performance. Each of the parameters may be, for example, a scale factor, power, mean energy, or norm of a sub-band but is not limited thereto. The spectral coefficients and the parameters obtained as a result of the encoding may form a bitstream and be transmitted in the form of packets through a channel or stored in a storage medium.
The audio decoding apparatus 130 shown in
Referring to
The frequency domain decoder 134 may generate synthesized spectral coefficients by decoding the current frame through a general transform decoding process when the current frame is a good frame and may generate synthesized spectral coefficients by scaling a spectral coefficient of a previous good frame (PGF) through the frame error concealment algorithm in a frequency domain when the current frame is an error frame. The frequency domain decoder 134 may generate a time domain signal by performing a frequency-time transform on synthesized spectral coefficients.
The post-processor 136 may perform filtering or up-sampling on the time domain signal provided from the frequency domain decoder 134 but is not limited thereto. The post-processor 136 provides a reconstructed audio signal as an output signal.
The audio encoding apparatus 210 shown in
Referring to
The mode determiner 213 may determine an encoding mode by referring to characteristics of an input signal. According to the characteristics of the input signal, it may be determined whether a current frame is in a speech mode or a music mode, and it may also be determined whether an encoding mode that is efficient for the current frame is a time domain mode or a frequency domain mode. The characteristics of the input signal may be obtained using short-term characteristics of a frame or long-term characteristics of a plurality of frames, but the obtaining of the characteristics of the input signal is not limited thereto. The mode determiner 213 provides an output signal of the pre-processor 212 to the frequency domain encoder 214 when the characteristics of the input signal correspond to the music mode or the frequency domain mode and provides the output signal of the pre-processor 212 to the time domain encoder 215 when the characteristics of the input signal correspond to the speech mode or the time domain mode.
Since the frequency domain encoder 214 is substantially the same as the frequency domain encoder 114 of
The time domain encoder 215 may perform code-excited linear prediction (CELP) encoding on an audio signal provided from the pre-processor 212. In detail, algebraic CELP (ACELP) may be used, but the CELP encoding is not limited thereto. The time domain encoder 215 generates encoded spectral coefficients.
The parameter encoder 216 may extract parameters from the encoded spectral coefficients provided from the frequency domain encoder 214 or the time domain encoder 215 and encode the extracted parameters. Since the parameter encoder 216 is substantially the same as the parameter encoder 116 of
The audio decoding apparatus 230 shown in
Referring to
The mode determiner 233 may check encoding mode information included in the bitstream and provide the current frame to the frequency domain decoder 234 or the time domain decoder 235.
The frequency domain decoder 234 may operate when an encoding mode is the music mode or the frequency domain mode and generate synthesized spectral coefficients by decoding the current frame through a general transform decoding process if the current frame is a good frame. Otherwise, if the current frame is an error frame, and an encoding mode of a previous frame is the music mode or the frequency domain mode, the frequency domain decoder 234 may generate synthesized spectral coefficients by scaling a spectral coefficient of the PGF through the frame error concealment algorithm in the frequency domain. The frequency domain decoder 234 may generate a time domain signal by performing a frequency-time transform on synthesized spectral coefficients.
The time domain decoder 235 may operate when an encoding mode is the speech mode or the time domain mode and generate a time domain signal by decoding the current frame through a general CELP decoding process if the current frame is a good frame. Otherwise, if the current frame is an error frame, and an encoding mode of a previous frame is the speech mode or the time domain mode, the time domain decoder 235 may perform a frame error concealment algorithm in the time domain.
The post-processor 236 may perform filtering or up-sampling on the time domain signal provided from the frequency domain decoder 234 or the time domain decoder 235 but is not limited thereto. The post-processor 236 provides a reconstructed audio signal as an output signal.
The audio encoding apparatus 310 shown in
Referring to
The LP analyzer 313 may extract LP coefficients by performing an LP analysis on an input signal and generate an excitation signal from the extracted LP coefficients. The excitation signal may be provided to one of the frequency domain excitation encoder 315 and the time domain excitation encoder 316 according to an encoding mode.
Since the mode determiner 314 is substantially the same as the mode determiner 213 of
The frequency domain excitation encoder 315 may operate when the encoding mode is the music mode or the frequency domain mode, and since the frequency domain excitation encoder 315 is substantially the same as the frequency domain encoder 114 of
The time domain excitation encoder 316 may operate when the encoding mode is the speech mode or the time domain mode, and since the time domain excitation encoder 316 is substantially the same as the time domain encoder 215 of
The parameter encoder 317 may extract parameters from the encoded spectral coefficients provided from the frequency domain excitation encoder 315 or the time domain excitation encoder 316 and encodes the extracted parameters. Since the parameter encoder 317 is substantially the same as the parameter encoder 116 of
The audio decoding apparatus 330 shown in
Referring to
The mode determiner 333 may check encoding mode information included in the bitstream and provide the current frame to the frequency domain excitation decoder 334 or the time domain excitation decoder 335.
The frequency domain excitation decoder 334 may operate when an encoding mode is the music mode or the frequency domain mode and generate synthesized spectral coefficients by decoding the current frame through a general transform decoding process if the current frame is a good frame. Otherwise, if the current frame is an error frame, and an encoding mode of a previous frame is the music mode or the frequency domain mode, the frequency domain excitation decoder 334 may generate synthesized spectral coefficients by scaling spectral coefficients of the PGF through the frame error concealment algorithm in the frequency domain. The frequency domain excitation decoder 334 may generate an excitation signal that is a time domain signal by performing a frequency-time transform on synthesized spectral coefficients.
The time domain excitation decoder 335 may operate when an encoding mode is the speech mode or the time domain mode and generates an excitation signal that is a time domain signal by decoding the current frame through a general CELP decoding process if the current frame is a good frame. Otherwise, if the current frame is an error frame, and an encoding mode of a previous frame is the speech mode or the time domain mode, the time domain excitation decoder 335 may perform a frame error concealment algorithm in the time domain.
The LP synthesizer 336 may generate a time domain signal by performing an LP synthesis on the excitation signal provided from the frequency domain excitation decoder 334 or the time domain excitation decoder 335.
The post-processor 337 may perform filtering or up-sampling on the time domain signal provided from the LP synthesizer 336 but is not limited thereto. The post-processor 337 provides a reconstructed audio signal as an output signal.
The audio encoding apparatus 410 shown in
The mode determiner 413 may determine an encoding mode of an input signal by referring to characteristics and a bit rate of the input signal. The mode determiner 413 may determine a CELP mode or another mode according to whether a current frame according to the characteristics of the input signal is in the speech mode or the music mode and whether an encoding mode that is efficient for the current frame is the time domain mode or the frequency domain mode. If the characteristics of the input signal correspond to the speech mode, the CELP mode may be determined, if the characteristics of the input signal correspond to the speech mode and a high bit rate, the frequency domain mode may be determined, and if the characteristics of the input signal correspond to the music mode and a low bit rate, an audio mode may be determined. The mode determiner 413 may provide the input signal to the frequency domain encoder 414 in the frequency domain mode, to the frequency domain excitation encoder 416 via the LP analyzer 415 in the audio mode, and to the time domain excitation encoder 417 via the LP analyzer 415 in the CELP mode.
The frequency domain encoder 414 may correspond to the frequency domain encoder 114 of the audio encoding apparatus 110 of
The audio decoding apparatus 430 shown in
The mode determiner 433 may check encoding mode information included in a bitstream and provide a current frame to the frequency domain decoder 434, the frequency domain excitation decoder 435, or the time domain excitation decoder 436.
The frequency domain decoder 434 may correspond to the frequency domain decoder 134 of the audio decoding apparatus 130 of
The frequency domain decoding apparatus 500 shown in
Referring to
Otherwise, if it is determined from the decoded parameter that an error has occurred in the current frame, a bad frame indicator (BFI) of the decoded parameter is set to, for example, 1 indicating that no information exists in the current frame that is an error frame. In this case, a decoding mode of the previous frame is checked, and if the decoding mode of the previous frame is the frequency domain mode, a frame error concealment algorithm in the frequency domain may be performed on the current frame.
That is, the error concealment unit 510 may operate when the current frame is an error frame and the decoding mode of the previous frame is the frequency domain mode. The error concealment unit 510 may restore a spectral coefficient of the current frame by using the information stored in the memory update unit 550. The restored spectral coefficient of the current frame may be decoded through the spectral decoder 530, the memory update unit 550, the inverse transformer 570, and the overlap-and-add unit 590 to finally generate a time domain signal of the current frame.
If the current frame is an error frame, the previous frame is a good frame, and the decoding mode of the previous frame is the frequency domain mode, or if the current and previous frames are good frames, and the decoding mode thereof is the frequency domain mode, the overlap-and-add unit 590 may perform the overlap-and-add process by using the time domain signal of the previous frame that is a good frame. Otherwise, if the current frame is a good frame, the number of previous frames that are continuous error frames is 2 or greater, the previous frame is an error frame, and a decoding mode of a previous frame that is a latest good frame is the frequency domain mode, the overlap-and-add unit 590 may perform the overlap-and-add process by using the time domain signal of the current frame that is a good frame instead of performing the overlap-and-add process by using a time domain signal of a previous frame that is a good frame. These conditions may be represented by the following context:
if (bfi==0)&&(st→old_bfi_int>1)&&(st→prev_bfi==1)&&
(st→last_core==FREQ_CORE)),
wherein bfi denotes an error frame indicator of a current frame, st→old_bfi_int denotes the number of previous frames that are continuous error frames, st→prev_bfi denotes BFI information of a previous frame, and st→last_core denotes a decoding mode of a core of a latest PGF, e.g., the frequency domain mode FREQ_CORE or the time domain mode TIME_CORE.
The spectral decoder 600 shown in
Referring to
The parameter dequantizer 620 may dequantize the lossless-decoded norm value. In an encoding process, the norm value may be quantized using any of various methods, e.g., vector quantization (VQ), scalar quantization (SQ), trellis coded quantization (TRQ), and lattice vector quantization (LVQ), and the quantized norm value may be dequantized using a corresponding method.
The bit allocator 630 may allocate bits required for each band based on the quantized norm value. In this case, the bits allocated for each band may be the same as bits allocated in the encoding process.
The spectral dequantizer 640 may generate a normalized spectral coefficient by performing a dequantization process using the bits allocated for each band.
The noise filling unit 650 may fill up a noise signal in a part requiring noise filling for each band.
The spectral shaping unit 660 may shape the normalized spectral coefficient by using the dequantized norm value. Finally, a decoded spectral coefficient may be obtained through a spectral shaping process.
The frame error concealment unit 700 shown in
Referring to
If it is assumed that a sum of energy or norm values of a frame is Energy_Curr, Energy_MA may be obtained by Energy_MA=Energy_MA*0.8+Energy_Curr*0.2. In this case, an initial value of Energy_MA may be set to, for example, 100.
Next, Energy_diff may be obtained by normalizing a difference between Energy_MA and Energy_Curr and may be represented by Energy_diff=(Energy_Curr-Energy_MA)/Energy_MA.
The signal characteristic determiner 710 may determine the current frame to be transient when Energy_diff is equal to or greater than a predetermined threshold ED_THRES, e.g., 1.0. Energy_diff of 1.0 indicates that Energy_Curr is double Energy_MA and may indicate that a change in energy of the current frame is very large as compared with the previous frame.
The parameter controller 730 may control a parameter for frame error concealment using the signal characteristics determined by the signal characteristic determiner 710 and a frame type and an encoding mode included in information transmitted from an encoder. The transient determination may be performed using the information transmitted from the encoder or transient information obtained by the signal characteristic determiner 710. When the two kinds of information are simultaneously used, the following conditions may be used: That is, if is_transient that is transient information transmitted from the encoder is 1, or if Energy_diff that is information obtained by a decoder is equal to or greater than the predetermined threshold ED_THRES, e.g., 1.0, this indicates that the current frame is a transient frame of which a change in energy is severe, and accordingly, the number num_pgf of PGFs to be used for a regression analysis may be decreased. Otherwise, it is determined that the current frame is not a transient frame, and num_pgf may be increased.
In the above context, ED_THRES denotes a threshold and may be set to, for example, 1.0.
According to a result of the transient determination, the parameter for frame error concealment may be controlled. An example of the parameter for frame error concealment may be the number of PGFs used for a regression analysis. Another example of the parameter for frame error concealment may be a scaling method of a burst error duration. The same Energy_diff value may be used in one burst error duration. If it is determined that the current frame that is an error frame is not transient, when a burst error occurs, frames starting from, for example, a fifth frame, may be forcibly scaled as a fixed value of 3 dB regardless of a regression analysis of a decoded spectral coefficient of the previous frame. Otherwise, if it is determined that the current frame that is an error frame is transient, when a burst error occurs, frames starting from, for example, a second frame, may be forcibly scaled as a fixed value of 3 dB regardless of the regression analysis of the decoded spectral coefficient of the previous frame. Another example of the parameter for frame error concealment may be an applying method of adaptive muting and a random sign, which will be described below with reference to the scaler 790.
The regression analyzer 750 may perform a regression analysis by using a stored parameter of a previous frame. The regression analysis may be performed on every single error frame or performed only when a burst error has occurred. A condition of an error frame on which the regression analysis is performed may be defined in advance when a decoder is designed. If the regression analysis is performed on every single error frame, the regression analysis may be immediately performed on a frame in which an error has occurred. A parameter required for the error frame may be predicted using a function obtained according to a result of the regression analysis.
Otherwise, if the regression analysis is performed only when a burst error has occurred, when bfi_cnt indicating the number of continuous error frames is 2, that is, from a second continuous error frame, the regression analysis is performed. In this case, for a first error frame, a spectral coefficient obtained from a previous frame may be simply repeated, or a spectral coefficient may be scaled by a determined value.
In the frequency domain, a problem similar to continuous errors may occur even though the continuous errors have not occurred as a result of transforming an overlapped signal in the time domain. For example, if errors occur by skipping one frame, in other words, if errors occur in an order of an error frame, a good frame, and an error frame, when a transform window is formed by an overlapping of 50%, sound quality is not largely different from a case where errors have occurred in an order of an error frame, an error frame, and an error frame, regardless of the presence of a good frame in the middle. As shown in
In the above context, prev_old_bfi denotes frame error information of a second previous frame. This process may be applicable when a current frame is an error frame.
The regression analyzer 750 may form each group by grouping two or more bands, derive a representative value of each group, and apply the regression analysis to the representative value, for low complexity. Examples of the representative value may be a mean value, an intermediate value, and a maximum value, but the representative value is not limited thereto. According to an exemplary embodiment, a mean vector of grouped norms that is an average norm value of bands included in each group may be used as the representative value.
When the properties of the current frame are determined using the signal characteristics determined by the signal characteristic determiner 710 and the frame type included in the information transmitted from the encoder, if it is determined that the current frame is a transient frame, the number of PGFs for the regression analysis may be decreased, and if it is determined that the current frame is a stationary frame, the number of PGFs for the regression analysis may be increased. According to an exemplary embodiment, when is_transient indicating whether the previous frame is transient is 1, i.e., when the previous frame is transient, the number num_pgf of PGFs may be set to 2, and when the previous frame is not transient, the number num_pgf of PGFs may be set to 4.
In addition, the number of rows of a matrix for the regression analysis may be set to, for example, 2.
As a result of the regression analysis by the regression analyzer 750, an average norm value of each group may be predicted for an error frame. That is, the same norm value may be predicted for each band belonging to one group in the error frame. In detail, the regression analyzer 750 may calculate values a and b from a linear regression analysis equation or a non-linear regression analysis equation to be described below through the regression analysis and predict an average grouped norm value of the error frame for each group by using the calculated values a and b.
The gain calculator 770 may obtain a gain between an average norm value of each group that is predicted for the error frame and an average norm value of each group in a PGF.
The scaler 790 may generate spectral coefficients of the error frame by multiplying the gain obtained by the gain calculator 770 by spectral coefficients of the PGF.
According to an exemplary embodiment, the scaler 790 may apply adaptive muting to the error frame or a random sign to a predicted spectral coefficient according to characteristics of an input signal.
First, the input signal may be identified as a transient signal and a non-transient signal. A stationary signal may be separately identified from the non-transient signal and processed in another method. For example, if it is determined that the input signal has a lot of harmonic components, the input signal may be determined as a stationary signal of which a change in the signal is not large, and an error concealment algorithm corresponding to the stationary signal may be performed. In general, harmonic information of the input signal may be obtained from the information transmitted from the encoder. When low complexity is not necessary, the harmonic information of the input signal may be obtained using a signal synthesized by the decoder.
When the input signal is largely classified into a transient signal, a stationary signal, and a residual signal, the adaptive muting and the random sign may be applied as described below. In the context below, a number indicated by mute_start indicates that muting forcibly starts if bfi_cnt is equal to or greater than mute_start when continuous errors occur. In addition, random_start related to the random sign may be analyzed in the same way.
According to a method of applying the adaptive muting, spectral coefficients are forcibly down-scaled by a fixed value. For example, if bfi_cnt of a current frame is 4, and the current frame is a stationary frame, spectral coefficients of the current frame may be down-scaled by 3 dB.
In addition, a sign of spectral coefficients is randomly modified to reduce modulation noise generated due to repetition of spectral coefficients in every frame. Various well-known methods may be used as a method of applying the random sign.
According to an exemplary embodiment, the random sign may be applied to all spectral coefficients of a frame. According to another exemplary embodiment, a frequency band to which the random sign starts to be applied may be defined in advance, and the random sign may be applied to frequency bands equal to or higher than the defined frequency band, because it may be better to use a sign of a spectral coefficient that is identical to that of a previous frame in a very low frequency band, e.g., 200 Hz or less, or a first band since a waveform or energy may be largely changed due to a change in a sign in the very low frequency band.
Accordingly, a sharp change in a signal may be smoothed, and an error frame may be accurately restored to be adaptive to characteristics of the signal, in particular, a transient characteristic, and a burst error duration without an additional delay at low complexity in the frequency domain.
The memory update unit 800 shown in
Referring to
The norm grouping unit 840 may group norm values in a pre-defined group.
The second parameter acquisition unit 860 may obtain an average norm value for each group and the obtained average norm value for each group is provided to the storage unit 880.
The storage unit 880 may update and store the values Energy_Curr and Energy_MA provided from the first parameter acquisition unit 820, the average norm value for each group provided from the second parameter acquisition unit 860, a transient flag indicating whether the current frame is transient, which is transmitted from an encoder, an encoding mode indicating whether the current frame has been encoded in the time domain or the frequency domain, and a spectrum coefficient of a good frame as values of the current frame.
In
Various methods are used to encode a signal divided into sub-bands. An envelope of a spectrum may be encoded using energy, a scale factor, or a norm for each band. After encoding the envelope of the spectrum, a fine structure, i.e., a spectral coefficient, for each band may be encoded. According to an exemplary embodiment, an envelope of the entire band may be encoded using a norm for each band. The norm may be obtained by Equation 1.
In Equation 1, a value corresponding to the norm is gb, and nb in a log scale is actually quantized. A quantized value of gb is obtained using the quantized value of nb, and when an original input signal xi is divided by the quantized value of gb, yi is obtained, and accordingly, a quantization process is performed.
An example of the linear regression analysis may be represented by Equation 2.
As in Equation 2, when a linear equation is used, the upcoming transition may be predicted by obtaining a and b. In Equation 2, a and b may be obtained by an inverse matrix. A simple method of obtaining an inverse matrix may use Gauss-Jordan Elimination.
An example of the non-linear regression analysis may be represented by Equation 3.
In Equation 3, the upcoming transition may be predicted by obtaining a and b. In addition, a value of ln may be replaced by a value of nb.
Referring to
Grouped average norm values obtained from grouped sub-bands form a vector, which is referred to as an average vector of grouped norms. When the average vector of grouped norms is substituted into the matrices described with respect to
When MDCT is performed on a frame having a length of 20 ms with an overlapping of 50% in the super-wideband, 640 spectral coefficients total are obtained. According to an exemplary embodiment, grouped sub-bands may be determined by separating a core part from a BWE part. Encoding of a core starting portion to a BWE starting portion is called core encoding. Methods of representing a spectral envelope used for the core part and a spectral envelope used for the BWE part may be different from each other. For example, a norm value, a scale factor, or the like may be used for the core part, and likewise, a norm value, a scale factor, or the like may be used for the BWE part, wherein different ones may be used for the core part and the BWE part.
A method of obtaining a time domain signal of an NGF through repetition to derive a signal to be used for a time overlapping process is as follows:
In
As another example, referring to
The multimedia device 1700 shown in
Referring to
The communication unit 1710 is configured to transmit and receive data to and from an external multimedia device via a wireless network, such as wireless Internet, wireless Intranet, a wireless telephone network, a wireless local area network (WLAN), Wi-Fi, Wi-Fi Direct (WFD), third generation (3G), fourth generation (4G), Bluetooth, infrared data association (IrDA), radio frequency identification (RFID), ultra wideband (UWB), ZigBee, or near field communication (NFC), or a wired network, such as a wired telephone network or wired Internet.
The decoding module 1730 may be implemented using an audio decoding apparatus according to the various above-described embodiments of the present invention.
The storage unit 1750 may store a reconstructed audio signal generated by the decoding module 1730. In addition, the storage unit 1750 may store various programs required to operate the multimedia device 1700.
The speaker 1770 may output the reconstructed audio signal generated by the decoding module 1730 to the outside.
The multimedia device 1800 shown in
In
The storage unit 1840 may store the encoded bitstream generated by the encoding module 1820. In addition, the storage unit 1840 may store various programs required to operate the multimedia device 1800.
The microphone 1850 may provide an audio signal of a user or the outside to the encoding module 1820.
Each of the multimedia devices 1700 and 1800 may further include a voice communication dedicated terminal including a telephone, a mobile phone, and so forth, a broadcast or music dedicated device including a TV, an MP3 player, and so forth, or a complex terminal device of the voice communication dedicated terminal and the broadcast or music dedicated device but is not limited thereto. In addition, each of the multimedia devices 1700 and 1800 may be used as a client, a server, or a transform device disposed between a client and a server.
When the multimedia device 1700 or 1800 is, for example, a mobile phone, although not shown, the mobile phone may further include a user input unit, such as a keypad, a user interface or a display unit for displaying information processed by the mobile phone, and a processor for controlling a general function of the mobile phone. In addition, the mobile phone may further include a camera unit having an image capturing function and at least one component for performing a function required for the mobile phone.
When the multimedia device 1700 or 1800 is, for example, a TV, although not shown, the TV may further include a user input unit, such as a keypad, a display unit for displaying received broadcast information, and a processor for controlling a general function of the TV. In addition, the TV may further include at least one component for performing a function required by the TV.
The methods according to the embodiments can be written as computer programs and can be implemented in general-use digital computers that execute the programs using a computer-readable recording medium. In addition, data structures, program instructions, or data files, which can be used in the embodiments of the present invention, can be recorded in the computer-readable recording medium in various manners. 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 magnetic recording media, such as hard disks, floppy disks, and magnetic tapes, optical recording media, such as CD-ROMs and DVDs, magneto-optical media, such as floptical disks, and hardware devices, such as read-only memory (ROM), random-access memory (RAM), and flash memory, specially configured to store and execute program instructions. In addition, the computer-readable recording medium may be a transmission medium for transmitting a signal indicating a program instruction, a data structure, or the like. Examples of the program instruction may include machine language code generated by a compiler and high-level language code which can be executed by a computer using an interpreter.
While the present inventive concept 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 inventive concept as defined by the following claims.
This application is a continuation application of U.S. application Ser. No. 13/657,054, filed Oct. 22, 2012, which claims the benefit of U.S. Provisional Application No. 61/549,953 filed on Oct. 21, 2011 in the U.S. Patent Trademark Office, the disclosures of which are incorporated by reference herein in their entirety.
Number | Date | Country | |
---|---|---|---|
61549953 | Oct 2011 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 13657054 | Oct 2012 | US |
Child | 16263945 | US |