The present invention relates to an audio signal processing, and more particularly, to an apparatus for decoding an audio signal and method thereof.
Generally, in case of an audio signal, an audio signal encoding apparatus compresses the audio signal into a mono or stereo type downmix signal instead of compressing each multi-channel audio signal. The audio signal encoding apparatus transfers the compressed downmix signal to a decoding apparatus together with a spatial information signal or stores the compressed downmix signal and a spatial information signal in a storage medium. In this case, a spatial information signal, which is extracted in downmixing a multi-channel audio signal, is used in restoring an original multi-channel audio signal from a downmix signal.
Configuration information is non-changeable in general and a header including this information is inserted in an audio signal once. Since configuration information is transmitted by being initially inserted in an audio signal once, an audio signal decoding apparatus has a problem in decoding spatial information due to non-existence of configuration information in case of reproducing the audio signal from a random timing point.
An audio signal encoding apparatus generates a downmix signal and a spatial information signal into bitstreams together or respectively and then transfers them to the audio signal decoding apparatus. So, if unnecessary information and the like are included in the spatial information signal, signal compression and transfer efficiencies are reduced.
An object of the present invention is to provide an apparatus for decoding an audio signal and method thereof, by which the audio signal can be reproduced from a random timing point by selectively including a spatial information signal in a header.
Another object of the present invention is to provide an apparatus for decoding an audio signal and method thereof, by which a position of a timeslot to which a parameter set will be applied can be efficiently represented using a variable bit number.
Another object of the present invention is to provide an apparatus for decoding an audio signal and method thereof, by which audio signal compression and transfer efficiencies can be raised by representing an information quantity required for performing a downmix signal arrangement or mapping multi-channel to a speaker as a minimal variable bit number.
A further object of the present invention is to provide an apparatus for decoding an audio signal and method thereof, by which an information quantity required for signal arrangement can be reduced by mapping multi-channel to a speaker without performing downmix signal arrangement.
The aforesaid objectives, features and advantages of the invention will be set forth in the description which follows, and in part will be apparent from the description. Embodiments of the present invention which are capable of the aforesaid objectives will be set forth referring drawings accompanied.
Reference will now be made in detail to one preferred embodiment of the present invention, examples of which are illustrated in the accompanying drawings.
Referring to
In case of using a coding scheme for reproducing an audio signal for broadcasting or the like, the audio signal is able to include ancillary data as well as the audio descriptor 101 and the downmix signal 103. And, the present invention includes the spatial information signal 105 as the ancillary data. In order for an audio signal decoding apparatus to know basic information of audio codec without analyzing an audio signal, the audio signal is able to selectively include the audio descriptor 101. The audio descriptor 101 is configured with small number of basic informations necessary for audio decoding such as a transmission rate of a transmitted audio signal, a number of channels, a sampling frequency of compressed data, an identifier indicating a currently used codec and the like.
An audio signal decoding apparatus is able to know a type of a codec done to an audio signal using the audio descriptor 101. In particular, using the audio descriptor 101, the audio signal decoding apparatus is able to know whether an audio signal configures multi-channel using the spatial information signal 105 and the downmix signal 103. The audio descriptor 101 is located independently from the downmix signal 103 or the spatial information signal 105 included in the audio signal. For instance, the audio descriptor 101 is located within a separate field indicating an audio signal. In case that a header is not included in the downmix signal 103, the audio signal decoding apparatus is able to decode the downmix signal 103 using the audio descriptor 101.
The downmix signal 103 is a signal generated from downmixing multi-channel. And, the downmix signal 103 can be generated from a downmixing unit included in an audio signal encoding apparatus or generated artificially. The downmix signal 103 can be categorized into a case of including a header and a case of not including a header. In case that the downmix signal 103 includes a header, the header is included in each frame by a frame unit. In case that the downmix signal 103 does not include a header, as mentioned in the foregoing description, the downmix signal 103 can be decoded using the audio descriptor 101. The downmix signal 103 takes either a form of including a header for each frame or a form of not including a header in a frame. And, the downmix signal 103 is included in an audio signal in a same manner until contents end.
The spatial information signal 105 is also categorized into a case of including a header 107 and spatial information 111 and a case of including spatial information 111 only without including a header. The header 107 of the spatial information signal 105 differs from that of the downmix signal 103 in that it is unnecessary to be inserted in each frame identically. In particular, the spatial information signal 105 is able to use both a frame including a header and a frame not including a header together. Most of information included in the header 107 of the spatial information signal 105 is configuration information 109 that decodes spatial information 111 by interpreting the spatial information 111. The spatial information 111 is configured with frames each of which includes timeslots. The timeslot means each time interval in case of dividing the frame by time intervals. The number of timeslots included in one frame is included in the configuration information 109.
Configuration information 109 includes signal arrangement information, the number of signal converting units, channel configuration information, speaker mapping information and the like as well as the timeslot number.
The signal arrangement information is an identifier that indicates whether an audio signal will be arranged for upmixing prior to restoring the decoded downmix signal 103 into multi-channel.
The signal converting unit means an OTT (one-to-two) box converting one downmix signal 103 to two signals or a TTT (two-to-three) box converting two downmix signals 103 to three signals in generating multi-channel by upmixing the downmix signal 103. In particular, the OTT or TTT box is a conceptional box used in restoring multi-channel by being included in an upmixing unit (not shown in the drawing) of the audio signal decoding apparatus. And, information for types and number of the signal converting units is included in the spatial information signal 105.
The channel configuration information is the information indicating a configuration of the upmixing unit included in the audio signal decoding apparatus. The channel configuration information includes an identifier indicating whether an audio signal passes through the signal converting unit or not. The audio signal decoding apparatus is able to know whether an audio signal inputted to the upmixing unit passes through the signal converting unit or not using the channel configuration information. The audio signal decoding apparatus upmixes the downmix signal 103 into a multi-channel audio signal using the information for the signal converting unit, the channel configuration information and the like. The audio signal decoding apparatus generates multi-channel by upmixing the downmix signal 103 using the signal converting unit information, the channel configuration information and the like included in the spatial information 111.
The speaker mapping information is the information indicating that the multi-channel audio signal will be mapped to which speaker in outputting the multi-channel audio signals generated by upmixing to speakers, respectively. The audio signal decoding apparatus outputs the multi-channel audio signal to the corresponding speaker using the speaker mapping information included in the configuration information 109.
The spatial information 111 is the information used to give a spatial sense in generating multi-channel audio signals by the combination with the downmix signal. The spatial information includes CLDs (Channel Level Differences) indicating an energy difference between audio signals, ICCs (Interchannel Correlations) indicating close correlation or similarity between audio signals, CPCs (Channel Prediction Coefficients) indicating a coefficient to predict an audio signal value using other signals and the like. And, a parameter set indicates a bundle of these parameters.
And, a frame identifier indicating whether a position of a timeslot to which a parameter set is applied is fixed or not, the number of parameter set applied to one frame, position information of a timeslot to which a parameter set is applied and the like as well as the parameters are included in the spatial information 111.
Referring to
In case that the spatial information signal 105 is transferred by being combined with the downmix signal 103, a demultiplexing unit (not shown in the drawing) of an audio signal decoding apparatus separates the received audio signal into an encoded downmix signal 103 and an encoded spatial information signal 105. The encoded spatial information 105 signal includes a header 107 and spatial information 111. The audio signal decoding apparatus decides whether the header 107 is included in the spatial information signal 105 (S203).
If the header 107 is included in the spatial information signal 105, the audio signal decoding apparatus extracts configuration information 109 from the header 107 (S205).
The audio signal decoding apparatus decides whether the configuration information is extracted from a first header 107 included in the spatial information signal 105 (S207).
If the configuration information 109 is extracted from the header 107 extracted first from the spatial information signal 105, the audio signal decoding apparatus decodes the configuration information 109 (S215) and decodes the spatial information 111 transferred behind the configuration information 109 according to the decoded configuration information 109.
If the header 107 extracted from the audio signal is not the header 107 extracted first from the spatial information signal 105, the audio signal decoding apparatus decides whether the configuration information 109 extracted from the header 107 is identical to the configuration information 109 extracted from a first header 107 (S209).
If the configuration information 109 is identical to the configuration information 109 extracted from the first header 107, the audio signal decoding apparatus decodes the spatial information 111 using the decoded configuration information 109 extracted from the first header 107. If the extracted configuration information 109 is not identical to the configuration information 109 extracted from the first header 107, the audio signal decoding apparatus decides whether an error occurs in the audio signal on a transfer path from the audio signal encoding apparatus to the audio signal decoding apparatus (S211).
If the configuration information 109 is variable, the error does not occur even if the configuration information 109 is not identical to the configuration information 109 extracted from the first header 107. Hence, the audio signal decoding apparatus updates the header 107 into a variable header 107 (S213). The audio signal decoding apparatus then decodes configuration information 109 extracted from the updated header 107 (S215).
The audio signal decoding apparatus decodes spatial information 111 transferred behind the configuration information 109 according to the decoded configuration information 109.
If the configuration information 109, which is not variable, is not identical to the configuration information 109 extracted from the first header 107, it means that the error occurs on the audio signal transfer path. Hence, the audio signal decoding apparatus removes the spatial information 111 included in the spatial information signal 105 including the erroneous configuration information 109 or corrects the error of the spatial information 111 (S217).
Referring to
The audio signal decoding apparatus separates the received audio signal into the spatial information signal 105 and the downmix signal 103 (S303) and then sends the separated spatial information 105 and the separated downmix signal 103 to a core decoding unit (not shown in the drawing) and a spatial information decoding unit (not shown in the drawing), respectively.
The audio signal decoding apparatus extracts the number of timeslots and the number of parameter sets from the spatial information signal 105. The audio signal decoding apparatus finds a position of a timeslot to which a parameter set will be applied using the extracted numbers of the timeslots and the parameter sets. According to an order of the corresponding parameter set, the position of the timeslot to which the corresponding parameter set will be applied is represented as a variable bit number. And, by reducing the bit number representing the position of the timeslot to which the corresponding parameter set will be applied, it is able to efficiently represent the spatial information signal 105. And, the position of the timeslot, to which the corresponding parameter set will be applied, will be explained in detail with reference to
Once the timeslot position is obtained, the audio signal decoding apparatus decodes the spatial information signal 105 by applying the corresponding parameter set to the corresponding position (S305). And, the audio signal decoding apparatus decodes the downmix signal 103 in the core decoding unit (S305).
The audio signal decoding apparatus is able to generate multi-channel by upmixing the decoded downmix signal 103 as it is. But the audio signal decoding apparatus is able to arrange a sequence of the decoded downmix signals 103 before the audio signal decoding apparatus upmix the corresponding signals (S307).
The audio signal decoding apparatus generates multi-channel using the decoded downmix signal 103 and the decoded spatial information signal 105 (S309). The audio signal decoding apparatus uses the spatial information signal 105 to generate the downmix signal 103 into multi-channel. As mentioned in the foregoing description, the spatial information signal 105 includes the number of signal converting units and channel configuration information for representing whether the downmix signal 103 passes through the signal converting unit in being upmixed or is outputted without passing through the signal converting unit. The audio signal decoding apparatus upmixes the downmix signal 103 using the number of signal converting units, the channel configuration information and the like (S309). A method of representing the channel configuration information and a method of configuring the channel configuration information using the less number of bits will be explained with reference to
The audio signal decoding apparatus maps a multi-channel audio signal to a speaker in a preset sequence to output the generated multi-channel audio signals (S311). In this case, as the mapped audio signal sequence increases, the bit number for mapping the multi-channel audio signal to the speaker becomes reduced. In particular, in case that numbers are given to multi-channel audio signals in order, since a first audio signal can be mapped to one of the entire speakers, an information quantity required for mapping an audio signal to a speaker is greater than that required for mapping a second or subsequent audio signal. As the second or subsequent audio signal is mapped to one of the rest of the speakers excluding the former speaker mapped with the former audio signal, the information quantity required for the mapping is reduced. In particular, by reducing the information quantity required for mapping the audio signal as the mapped audio signal sequence increases, it is able to efficiently represent the spatial information signal 105. This method is applicable to a case of arranging the downmix signals 103 in the step S307 as well.
Referring to
‘bsFramingType’ field 403 indicates whether a frame included in the spatial information signal 105 is a fixed frame or a variable frame. The fixed frame means a frame in which a timeslot position to which a parameter set will be applied is previously set. In particular, a position of a timeslot to which a parameter set will be applied is decided according to a preset rule. The variable frame means a frame in which a timeslot position to which a parameter set will be applied is not set yet. So, the variable frame further needs timeslot position information for representing a position of a timeslot to which a parameter set will be applied. In the following description, the ‘bsFramingType’ 403 shall be named ‘frame identifier’ indicating whether a frame is a fixed frame or a variable frame.
In case of a variable frame, ‘bsParamSlot’ field 407 or 411 indicates position information of a timeslot to which a parameter set will be applied. The ‘bsParamSlot[0]’ field 407 indicates a position of a timeslot to which a first parameter set will be applied, and the ‘bsParamSlot[ps]’ field 411 indicates a position of a timeslot to which a second or subsequent parameter set will be applied. The position of the timeslot to which the first parameter set will be applied is represented as an initial value, and a position of the timeslot to which the second or subsequent parameter set will be applied is represented as a difference value ‘bsDiffParamSlot[ps]’ 409, i.e., a difference between ‘bsParamSlot[ps]’ and ‘bsParamSlot[ps-1]’. In this case, ‘ps’ means a parameter set. The first parameter set is represented as ‘ps=0’. And, ‘ps’ is able to represent value ranging from 0 to a value smaller than the number of total parameter sets.
(i) A timeslot position 407 or 409 to which a parameter set will be applied increases as a ps value increases (bsParamSlot[ps]>bsParamSlot[ps−1]). (ii) For a first parameter set, a maximum value of a timeslot position to which a first parameter set will be applied corresponds to a value resulting from adding 1 to a difference between a timeslot number and a parameter set number and a timeslot position is represented as an information quantity of ‘nBitsParamSlot(0)’ 413. (iii) For a second or subsequent parameter set, a timeslot position to which an Nth parameter set will be applied is greater by at least 1 than a timeslot position to which an (N−1)th parameter set will be applied and is even able to have a value resulting from adding a value N to a value resulting from subtracting a parameter set number from a timeslot number. A timeslot position ‘bsParamSlot[ps]’ to which a second or subsequent parameter set will be applied is represented as a difference value ‘bsDiffParamSlot[ps]’ 409. And, this value is represented as an information quantity of ‘nBitsParamSlot[ps]’. So, it is able to find a timeslot position to which a parameter set will be applied using the (i) to (iii).
For instance, if there are ten timeslots included in one spatial frame and if there are three parameter sets, a timeslot position to which a first parameter set (ps=0) will be applied is applicable to a timeslot position resulting from adding 1 to a value resulting from subtracting a total parameter number from a total timeslot number. In particular, the corresponding position is applicable to one of timeslots belonging to a range between 1 to maximum 8. By considering that a timeslot position to which a parameter set will be applied increases according to a parameter set number, it can be understood that timeslot positions to which the remaining two parameter sets are applicable are maximum 9 and 10, respectively. So, the timeslot position 407 to which the first parameter set will be applied needs three bits to indicate 1 to 8, which can be represented as ceil{log2(k−i+1)}. In this case, ‘k’ is the number of timeslots and ‘i’ is the number of parameters.
If the timeslot position 407 to which the first parameter set will be applied is ‘5’, the timeslot position ‘bsParamSlot[1]’ to which the second parameter set will be applied should be selected from values between ‘5+1=6’ and ‘10−3+2=9’. In particular, the timeslot position to which the second parameter set will be applied can be represented as a value resulting from adding a difference value ‘bsDiffParamSlot[ps]’ 409 to a value resulting from adding 1 to the timeslot position to which the first parameter set will be applied. So, the difference value 409 is able to correspond to 0 to 3, which can be represented as two bits. For the second or subsequent parameter set, by representing a timeslot position to which a parameter set will be applied as the difference value 409 instead of representing the timeslot position in direct, it is able to reduce the bit number. In the former example, four bits are needed to represent one of 6 to 9 in case of representing the timeslot position in direct. Yet, only two bits are needed to represent a timeslot position as the difference value.
Hence, a position information indicating quantity ‘nBitsParamSlot(0)’ or ‘nBitsParamSlot(ps)’ 413 or 415 of a timeslot to which a parameter set will be applied can be represented not as a fixed bit number but as a variable bit number.
Referring to
If a header 107 exists in the spatial information signal, the audio signal decoding apparatus extracts the number of timeslots included in a frame from configuration information 109 included in the header 107 (S503). If a header 107 is not included in the spatial information signal 105, the audio signal decoding apparatus extracts the number of timeslots from the configuration information 109 included in a previously extracted header 107.
The audio signal decoding apparatus extracts the number of parameter sets to be applied to a frame from the spatial information signal 105 (S505).
The audio signal decoding apparatus decides whether positions of timeslots, to which parameter sets will be applied, in a frame are fixed or variable using a frame identifier included in the spatial information signal 105 (S507).
If the frame is a fixed frame, the audio signal decoding apparatus decodes the spatial information signal 105 by applying the parameter set to the corresponding slot according to a preset rule (S513).
If the frame is a variable frame, the audio signal decoding apparatus extracts information for a timeslot position to which a first parameter set will be applied (S509). As mentioned in the foregoing description, the timeslot position to which the first parameter will be applied can maximally be a value resulting from adding 1 to a difference between the timeslot number and the parameter set number.
The audio signal decoding apparatus obtains information for a timeslot position to which a second or subsequent parameter set will be applied using the information for the timeslot position to which the first parameter set will be applied (S511). If N is a natural number equal to or greater than 2, a timeslot position to which a parameter set will be applied can be represented as a minimum bit number using a fact that a timeslot position to which an Nth parameter set will be applied is greater by at least 1 than a timeslot position to which an (N−1)th parameter set will be applied and even can have a value resulting from adding N to a value resulting from subtracting the parameter set number from the timeslot number.
And, the audio signal decoding apparatus decodes the spatial information signal 105 by applying the parameter set to the obtained timeslot position (S513).
An audio signal decoding apparatus separates an audio signal received from an audio signal encoding apparatus into a downmix signal 103 and a spatial information signal 105 and then decodes the downmix signal 103 and the spatial information signal 105 respectively. As mentioned in the foregoing description, the audio signal decoding apparatus decodes the spatial information signal 105 by applying a parameter to a timeslot. And, the audio signal decoding apparatus generates multi-channel audio signals using the decoded downmix signal 103 and the decoded spatial information signal 105.
If the audio signal encoding apparatus compresses N input channels into M audio signals and transfers the M audio signals in a bitstream form to the audio signal decoding apparatus, the audio signal decoding apparatus restores and output the original N channels. This configuration is called an N-M-N structure. In some cases, if the audio signal decoding apparatus is unable to restore the N channels, the downmix signal 103 is outputted into two stereo signals without considering the spatial information signal 105. Yet, this will not be further discussed. A structure, in which values of N and M are fixed, shall be called a fixed channel structure. A structure, in which values of M and N are represented as random values, shall be called a random channel structure. In case of such a fixed channel structure as 5-1-5, 5-2-5, 7-2-7 and the like, the audio signal encoding apparatus transfers an audio signal by having a channel structure included in the audio signal. The audio signal decoding apparatus then decodes the audio signal by reading the channel structure.
The audio signal decoding apparatus uses an upmixing unit including a signal converting unit to restore M audio signals into N multi-channel. The signal converting unit is a conceptional box used to convert one downmix signal 103 to two signals or convert two downmix signals 103 to three signals in generating multi-channel by upmixing downmix signals 103.
The audio signal decoding apparatus is able to obtain information for a structure of the upmixing unit by extracting channel configuration information from the configuration information 109 included in the spatial information signal 105. As mentioned in the foregoing description, the channel configuration information is the information indicating a configuration of the upmixing unit included in the audio signal decoding apparatus. The channel configuration information includes an identifier that indicates whether an audio signal passes through the signal converting unit. In particular, the channel configuration information can be represented as a segmenting identifier since the numbers of input and output signals of the signal converting unit are changed in case that a decoded downmix signal passes through the signal converting unit in the upmixing unit. And, the channel configuration information can be represented as a non-segmenting identifier since an input signal of the signal converting unit is outputted intact in case that a decoded downmix signal does not pass through the signal converting unit included in the upmixing unit. In the present invention, the segmenting identifier shall be represented as ‘1’ and the non-segmenting identifier shall be represented as ‘0’.
The channel configuration information can be represented in two ways, a horizontal method and a vertical method.
In the horizontal method, if an audio signal passes through a signal converting unit, i.e., if channel configuration information is ‘1’, whether a lower layer signal outputted via the signal converting unit passes through another signal converting unit is sequentially indicated by the segmenting or non-segmenting identifier. If channel configuration information is ‘0’, whether a next audio signal of a same or upper layer passes through a signal converting unit is indicated by the segmenting or non-segmenting identifier.
In the vertical method, whether each of entire audio signals of an upper layer passes through a signal converting unit is sequentially indicated by the segmenting or non-segmenting identifier regardless of whether an audio signal of an upper layer passes through a signal converting unit and then whether an audio signal of a lower layer passes through a signal converting unit is indicated.
For the structure of the same upmixing unit,
Referring to
Since X1 passes through the first signal converting unit, channel configuration information is represented as a segmenting identifier ‘1’. Since the channel configuration information is represented by the horizontal method in
The signal 601 of the two output signals of the first signal converting unit passes through the second signal converting unit, thereby being represented as a segmenting identifier 1. The signal via the second signal converting unit is outputted intact without passing through another signal converting unit, thereby being represented as a non-segmenting identifier 0.
If channel configuration information is ‘0’, whether a next audio signal of a same or upper layer passes through a signal converting unit is represented as a segmenting or non-segmenting identifier. So, channel configuration information is represented for the signal X2 of the upper layer.
X2, which passes through the fourth signal converting unit, is represented as a segmenting identifier 1. Signals through the fourth signal converting unit are directly outputted as Y5 and Y6, thereby being represented as non-segmenting identifiers 0, respectively.
X3 and X4, which are directly outputted without passing through signal converting units, are represented as non-segmenting identifiers 0, respectively.
Hence, the channel configuration information is represented as 110010010000 by the horizontal method. In this case, the channel configuration information is extracted through the configuration of the upmixing unit for convenience of understanding. Yet, the audio signal decoding apparatus reads the channel configuration information to obtain the information for the structure of the upmixing unit in a reverse way.
Referring to
An audio signal decoding apparatus reads the channel configuration information and then configures an upmixing unit. In order for the audio signal decoding apparatus to configure the upmixing unit, an identifier indicating that whether the channel configuration is represented by the horizontal method or the vertical method should be included in an audio signal. Alternatively, channel configuration information is basically represented by the horizontal method. Yet, if it is efficient to represent channel configuration information by the vertical method, an audio signal encoding apparatus may enable an identifier indicating that channel configuration is represented by the vertical method to be included in an audio signal.
An audio signal decoding apparatus reads channel configuration information represented by the horizontal method and is then able to configure an upmixing unit. Yet, in case of channel configuration information is represented by the vertical method, an audio signal decoding apparatus is able to configure an upmixing unit only if knowing the number of signal converting units included in the upmixing unit or the numbers of input and output channels. So, an audio signal decoding apparatus is able to configure an upmixing unit in a manner of extracting the number of signal converting units or the numbers of input and output channels from the configuration information 109 included in the spatial information signal 105.
An audio signal decoding apparatus interprets channel configuration information in sequence from a front. In case of detecting the number of segmenting identifiers 1 includes in the channel configuration information as many as the number of signal converting units extracted from the configuration information, the audio signal decoding apparatus needs not to further read the channel configuration information. This is because the number of segmenting identifiers 1 included in the channel configuration information is equal to the number of signal converting units included in the upmixing unit as the segmenting identifier 1 indicates that an audio signal is inputted to the signal converting unit.
In particular, as mentioned in the forgoing example, if channel configuration information represented by the vertical method is 110011000000, an audio signal decoding apparatus needs to read total 12 bits in order to decode the channel configuration information. Yet, if the audio signal decoding apparatus detects that the number of signal converting units is 4, the audio signal decoding apparatus decodes the channel configuration information until the number of 1s included in the channel configuration information appears four times. Namely, the audio signal decoding apparatus decodes the channel configuration information up to 110011 only. This is because the rest of values are represented as non-segmenting identifiers 0 despite not using the channel configuration information further. Hence, as it is unnecessary for the audio signal decoding apparatus to decode six bits, decoding efficiency can be enhanced.
In case that a channel structure is a preset fixed channel structure, additional information is unnecessary since the number of signal converting units or the numbers of input and output channels are included in configuration information that is included in the spatial information signal 105. Yet, in case that a channel structure is a random channel structure of which channel structure is not decided yet, additional information is necessary to indicate the number of signal converting units or the numbers of input and output channels since the number of signal converting units or the numbers of input and output channels are not included in the spatial information signal 105.
For example of information for a signal converting unit, in case of using an OTT box only as a signal converting unit, information for indicating the signal converting unit can be represented as maximum 5 bits. In case that an input signal entering an upmixing unit passes through an OTT or TTT box, one input signal is converted to two signals or two input signals are converted to three signals. So, the number of output channels becomes a value resulting from adding the number of OTT or TTT boxes to the input signal. Hence, the number of the signal converting units becomes a value resulting from subtracting the number of input signals and the number of TTT boxes from the number of output channels. Since it is able to use maximum 32 output channels in general, information for indicating signal converting units can be represented as a value within five bits.
Accordingly, if channel configuration information is represented by the vertical method and if a channel structure is a random channel structure, an audio signal encoding apparatus separately should represent the number of signal converting units as maximum five bits in the spatial information signal 105. In the above example, 6-bit channel configuration information and 5-bit information for indicating signal converting units are needed. Namely, total eleven bits are required. This indicates that a bit quantity required for configuring an upmixing unit is reduced rather than the channel configuration information represented by the horizontal method. Therefore, if channel configuration information is represented by the vertical method, the bit number can be reduced.
Referring to
The receiving unit 801 receives an audio signal including a downmix signal 103 and a spatial information signal 105.
The demultiplexing unit 803 parses the audio signal received by the receiving unit 801 into an encoded downmix signal 103 and an encoded spatial information signal 105 and then sends the encoded downmix signal 103 and the encoded spatial information signal to the core decoding unit 805 and the spatial information decoding unit 807, respectively.
The coder decoding unit 805 and the spatial information decoding unit 807 decode the encoded downmix signal and the encoded spatial information signal, respectively.
As mentioned in the foregoing description, the spatial information decoding unit 807 decodes the spatial information signal 105 by extracting a frame identifier, a timeslot number, a parameter set number, timeslot position information and the like from the spatial information signal 105 and by applying a parameter set to a corresponding timeslot.
The audio signal decoding apparatus is able to include the signal arranging unit 809. The signal arranging unit 809 arranges a plurality of downmix signals according to a preset arrangement to upmix the decoded downmix signal 103. In particular, the signal arranging unit 809 arranges M downmix signals into M′ audio signals in an N-M-N channel configuration.
The audio signal decoding apparatus directly can upmix downmix signals according to a sequence that the downmix signals have passed through the core decoding unit 805. Yet, in some cases, the audio signal decoding apparatus may perform upmixing after the audio signal decoding apparatus arranges a sequence of downmix signals.
Under certain circumstances, signal arrangement can be performed on signals entering a signal converting unit that upmixes two downmix signals into three signals.
In case of performing signal arrangement on audio signals or in case of performing signal arrangement on an input signal of a TTT box only, signal arrangement information indicating the corresponding case should be included in the audio signal by the audio signal encoding apparatus. IN this case, the signal arrangement information is an identifier indicating whether signal sequences will be arranged for upmixing prior to restoring an audio signal into multi-channel, whether arrangement will be performed on a specific signal only, or the like.
If a header 107 is included in the spatial information signal 105, the audio signal decoding apparatus arranges downmix signals using the audio signal arrangement information included in configuration information 109 extracted from the header 107.
If a header 107 is not included in the spatial information signal 105, the audio signal decoding apparatus is able to arrange audio signals using the audio signal arrangement information extracted from configuration information 109 included in a previous header 107.
The audio signal decoding apparatus may not perform the downmix signal arrangement. In particular, the audio signal decoding apparatus is able to generate multi-channel by directly upmixing the signal decoded and transferred to the multi-channel generating unit 811 by the core decoding unit 805 instead of performing downmix signal arrangement. This is because a desired purpose of the signal arrangement can be achieved by mapping the generated multi-channel to speakers. In this case, it is able to compress and transfer an audio signal more efficiently by not inserting information for the downmix signal arrangement in the audio signal. And, complexity of the decoding apparatus can be reduced by not performing the signal arrangement additionally.
The signal arranging unit 809 sends the arranged downmix signal to the multi-channel generating unit 811. And, the spatial information decoding unit 809 sends the decoded spatial information signal 105 to the multi-channel generating unit 811 as well. And, the multi-channel generating unit 811 generates a multi-channel audio signal using the downmix signal 103 and the spatial information signal 105.
The audio signal decoding apparatus includes the speaker mapping unit 813 to output an audio signal through the multi-channel generating unit 811 to a speaker.
The speaker mapping unit 813 decides that the multi-channel audio signal will be outputted by being mapped to which speaker. And, types of speakers used to output audio signals in general are shown in Table 1 as follows.
Generally, maximum 32 speakers are available for being mapped to an outputted audio signal. So, as shown in Table 1, the speaker mapping unit 813 enables the audio signal to be mapped to the speaker (Loudspeaker) corresponding to each number in a manner of giving a specific one of numbers (bsOutputCahnnelPos) between 0 and 31 to the multi-channel audio signal. In this case, since one of total 32 speakers should be selected to map a first audio signal among multi-channel audio signals outputted from the multi-channel generating unit 811 to a speaker, 5 bits are needed. Since one of the remaining 31 speakers should be selected to map a second audio signal to a speaker, 5 bits are needed as well. According to this method, since one of the remaining 16 speakers should be selected to map a seventeenth audio signal to a speaker, 4 bits are needed. In particular, as the number of mapping audio signals increases, an information quantity required for indicating speakers mapped to audio signals decreases. This can be expressed by ceil[log2(32−bsOutputChannelPos)] representing the bit number required for mapping an audio signal to a speaker. The required bit number decreases due to the increase of the number of audio signals to be arranged, which can be applicable to the case that the number of downmix signals arranged by the signal arranging unit 809 increases. Thus, the audio decoding apparatus maps the multi-channel audio signal to a speaker and then outputs the corresponding signal.
While the present invention has been described and illustrated herein with reference to the preferred embodiments thereof, it will be apparent to those skilled in the art that various modifications and variations can be made therein without departing from the spirit and scope of the invention. Thus, it is intended that the present invention covers the modifications and variations of this invention that come within the scope of the appended claims and their equivalents.
Accordingly, by an apparatus for decoding an audio signal and method thereof according to the present invention, a header can be selectively included in a spatial information signal.
By an apparatus for decoding an audio signal and method thereof according to the present invention, a transferred data quantity can be reduced in a manner of representing a position of a timeslot to which a parameter set will be applied as a variable bit number.
By an apparatus for decoding an audio signal and method thereof according to the present invention, audio signal compression and transfer efficiencies can be raised in a manner of representing an information quantity required for performing downmix signal arrangement or for mapping multi-channel to a speaker as a minimum variable bit number.
By an apparatus for decoding an audio signal and method thereof according to the present invention, an audio signal can be more efficiently compressed and transferred and complexity of an audio signal decoding apparatus can be reduced, in a manner of upmixing signals decoded and transferred to a multi-channel generating unit by a core decoding unit in a sequence without performing downmix signal arrangement.
To achieve these and other advantages, according to an aspect of the present invention, there is provided a method of decoding an audio signal, including receiving an audio signal including a spatial information signal and a downmix signal, obtaining position information of a timeslot using a timeslot number and a parameter number included in the audio signal, generating a multi-channel audio signal by applying the spatial information signal to the downmix signal according to the position information of the timeslot, and arranging multi-channel audio signal correspondingly to an output channel.
The position information of the timeslot may be represented as a variable bit number. And the position information may include an initial value and a difference value, wherein the initial value indicates the position information of the timeslot to which a first parameter is applied and wherein the difference value indicates the position information of the timeslot to which a second or subsequent parameter is applied. And the initial value may be represented as a variable bit number decided using at least one of the timeslot number and the parameter number. And the difference value may be represented as a variable bit number decided using at least one of the timeslot number, the parameter number and the position information of the timeslot to which a previous parameter is applied. And the method may further include arranging downmix signal for the downmix signal according to a preset method. And arranging the downmix signal may be performed on the downmix signal entering a signal converting unit upmixing two downmix signals into three signals. And if a header is included in the spatial information signal, the downmix signal arrangement may be to arrange the downmix signal using audio signal arrangement information included in configuration information extracted from the header. And information quantity required for mapping an ith audio signal or for arranging an ith downmix signal may be an minimum integer equal to or greater than log2[(the number of total audio signals or the number of total downmix signals)−(a value of the ‘i’)+1]. And the arranging of the multi-channel audio signal may further include arranging the audio signal correspondingly to a speaker.
According to another aspect of the present invention, there is provided an apparatus for decoding an audio signal, including an upmixing unit upmixing an audio signal into a multi-channel audio signal and a multi-channel arranging unit mapping the multi-channel audio signal to output channels according to a preset arrangement.
According to another aspect of the present invention, there is provided an apparatus for decoding an audio signal, including a core decoding unit decoding an encoded downmix signal, an arranging unit arranging the decoded audio signal according to a preset arrangement, and an upmixing unit upmixing the arranged audio signal into a multi-channel audio signal.
Number | Date | Country | Kind |
---|---|---|---|
10-2006-0004055 | Jan 2006 | KR | national |
10-2006-0004056 | Jan 2006 | KR | national |
10-2006-0004065 | Jan 2006 | KR | national |
10-2006-0056480 | Jun 2006 | KR | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/KR2006/003435 | 8/30/2006 | WO | 00 | 2/28/2008 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2007/027056 | 3/8/2007 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
4621862 | Kramer | Nov 1986 | A |
4661862 | Thompson | Apr 1987 | A |
4725885 | Gonzales et al. | Feb 1988 | A |
4907081 | Okumura et al. | Mar 1990 | A |
5243686 | Tokuda et al. | Sep 1993 | A |
5481643 | Ten Kate et al. | Jan 1996 | A |
5515296 | Agarwal | May 1996 | A |
5528628 | Park et al. | Jun 1996 | A |
5530750 | Akagiri | Jun 1996 | A |
5563661 | Takahashi et al. | Oct 1996 | A |
5579430 | Grill et al. | Nov 1996 | A |
5606618 | Lokhoff et al. | Feb 1997 | A |
5621856 | Akagiri | Apr 1997 | A |
5640159 | Fulran et al. | Jun 1997 | A |
5682461 | Silzle et al. | Oct 1997 | A |
5687157 | Imai et al. | Nov 1997 | A |
5890125 | Davis et al. | Mar 1999 | A |
5912636 | Gormish et al. | Jun 1999 | A |
5945930 | Kajiwara | Aug 1999 | A |
5966688 | Nandkumar et al. | Oct 1999 | A |
5974380 | Smyth et al. | Oct 1999 | A |
6021386 | Davis et al. | Feb 2000 | A |
6125398 | Mirashrafi et al. | Sep 2000 | A |
6134518 | Cohen et al. | Oct 2000 | A |
6148283 | Das | Nov 2000 | A |
6208276 | Snyder | Mar 2001 | B1 |
6295319 | Sueyoshi et al. | Sep 2001 | B1 |
6309424 | Fallon | Oct 2001 | B1 |
6339760 | Koda et al. | Jan 2002 | B1 |
6384759 | Snyder | May 2002 | B2 |
6399760 | Gimeno et al. | Jun 2002 | B1 |
6421467 | Mitra | Jul 2002 | B1 |
6442110 | Yamamoto et al. | Aug 2002 | B1 |
6453120 | Takahashi et al. | Sep 2002 | B1 |
6456966 | Iwabuchi | Sep 2002 | B1 |
6556685 | Urry et al. | Apr 2003 | B1 |
6560404 | Okada et al. | May 2003 | B1 |
6611212 | Craven et al. | Aug 2003 | B1 |
6631352 | Fujita et al. | Oct 2003 | B1 |
6636830 | Princen et al. | Oct 2003 | B1 |
7376555 | Schuijers et al. | May 2008 | B2 |
7394903 | Herre et al. | Jul 2008 | B2 |
7519538 | Villemoes et al. | Apr 2009 | B2 |
20010055302 | Taylor et al. | Dec 2001 | A1 |
20020049586 | Nishio et al. | Apr 2002 | A1 |
20020106019 | Chaddha et al. | Aug 2002 | A1 |
20030009325 | Kirchherr et al. | Jan 2003 | A1 |
20030016876 | Chai et al. | Jan 2003 | A1 |
20030138157 | Schwartz | Jul 2003 | A1 |
20030195742 | Tsushima | Oct 2003 | A1 |
20030236583 | Baumgarte et al. | Dec 2003 | A1 |
20040049379 | Thumpudi et al. | Mar 2004 | A1 |
20040057523 | Koto et al. | Mar 2004 | A1 |
20040138895 | Lokhoff et al. | Jul 2004 | A1 |
20040186735 | Ferris et al. | Sep 2004 | A1 |
20040199276 | Poon | Oct 2004 | A1 |
20040247035 | Schroder et al. | Dec 2004 | A1 |
20050058304 | Baumgarte et al. | Mar 2005 | A1 |
20050074127 | Herre et al. | Apr 2005 | A1 |
20050074135 | Kushibe | Apr 2005 | A1 |
20050091051 | Moriya et al. | Apr 2005 | A1 |
20050114126 | Geiger et al. | May 2005 | A1 |
20050137729 | Sakurai et al. | Jun 2005 | A1 |
20050157883 | Herre et al. | Jul 2005 | A1 |
20050174269 | Sherigar et al. | Aug 2005 | A1 |
20050216262 | Fejzo | Sep 2005 | A1 |
20060023577 | Shinoda et al. | Feb 2006 | A1 |
20060085200 | Allamanche et al. | Apr 2006 | A1 |
20060133618 | Villemoes et al. | Jun 2006 | A1 |
20060190247 | Lindblom | Aug 2006 | A1 |
20060239473 | Kjorling et al. | Oct 2006 | A1 |
20070038439 | Schiujers et al. | Feb 2007 | A1 |
20070150267 | Honma et al. | Jun 2007 | A1 |
20070206690 | Sperschneider et al. | Sep 2007 | A1 |
20070223749 | Kim et al. | Sep 2007 | A1 |
20070236858 | Disch et al. | Oct 2007 | A1 |
20090185751 | Kudo et al. | Jul 2009 | A1 |
Number | Date | Country |
---|---|---|
2579114 | Mar 2006 | CA |
1655651 | Aug 2005 | CN |
69712383 | Jan 2003 | DE |
372601 | Jun 1990 | EP |
599825 | Jun 1994 | EP |
0610975 | Aug 1994 | EP |
827312 | Mar 1998 | EP |
0943143 | Apr 1999 | EP |
948141 | Oct 1999 | EP |
957639 | Nov 1999 | EP |
1001549 | May 2000 | EP |
1047198 | Oct 2000 | EP |
1376538 | Jan 2004 | EP |
1396843 | Mar 2004 | EP |
1869774 | Oct 2006 | EP |
1905005 | Jan 2007 | EP |
2238445 | May 1991 | GB |
2340351 | Feb 2002 | GB |
60-096079 | May 1985 | JP |
62-094090 | Apr 1987 | JP |
09-275544 | Oct 1997 | JP |
11-205153 | Jul 1999 | JP |
11-225390 | Aug 1999 | JP |
2000-036795 | Feb 2000 | JP |
2000-090582 | Mar 2000 | JP |
2001-169399 | Jun 2001 | JP |
2001-188578 | Jul 2001 | JP |
2002-042423 | Feb 2002 | JP |
2002-191099 | Jul 2002 | JP |
2001-53617 | Sep 2002 | JP |
2002-328699 | Nov 2002 | JP |
2002-335230 | Nov 2002 | JP |
2003-005797 | Jan 2003 | JP |
2003-015692 | Jan 2003 | JP |
2003-233395 | Aug 2003 | JP |
2004-170610 | Jun 2004 | JP |
2004-220743 | Aug 2004 | JP |
2004-234014 | Aug 2004 | JP |
2005-063655 | Mar 2005 | JP |
2005-202248 | Jul 2005 | JP |
2005-332449 | Dec 2005 | JP |
2006-120247 | May 2006 | JP |
1997-0014387 | Mar 1997 | KR |
19980011111 | Apr 1998 | KR |
20000016543 | Mar 2000 | KR |
2001-0001991 | May 2001 | KR |
2003-0043620 | Jun 2003 | KR |
2003-0043622 | Jun 2003 | KR |
2158970 | Nov 2000 | RU |
2214048 | Oct 2003 | RU |
2221329 | Jan 2004 | RU |
2005103637 | Jul 2005 | RU |
204406 | Apr 1993 | TW |
289885 | Nov 1996 | TW |
317064 | Oct 1997 | TW |
360860 | Jun 1999 | TW |
378478 | Jan 2000 | TW |
384618 | Mar 2000 | TW |
405328 | Sep 2000 | TW |
550541 | Sep 2003 | TW |
567466 | Dec 2003 | TW |
569550 | Jan 2004 | TW |
200404222 | Mar 2004 | TW |
1230530 | Apr 2004 | TW |
200405673 | Apr 2004 | TW |
M257575 | Feb 2005 | TW |
WO 9527337 | Oct 1995 | WO |
9740630 | Oct 1997 | WO |
9952326 | Oct 1999 | WO |
WO 9956470 | Nov 1999 | WO |
0002357 | Jan 2000 | WO |
0060746 | Oct 2000 | WO |
WO 0079520 | Dec 2000 | WO |
03042980 | May 2003 | WO |
WO 03046889 | Jun 2003 | WO |
03090028 | Oct 2003 | WO |
03090206 | Oct 2003 | WO |
03090207 | Oct 2003 | WO |
WO 03088212 | Oct 2003 | WO |
2004008806 | Jan 2004 | WO |
2004028142 | Apr 2004 | WO |
WO2004072956 | Aug 2004 | WO |
2004080125 | Sep 2004 | WO |
WO 2004093495 | Oct 2004 | WO |
2005036925 | Apr 2005 | WO |
WO 2005043511 | May 2005 | WO |
2005059899 | Jun 2005 | WO |
2005069274 | Jul 2005 | WO |
WO 2006048226 | May 2006 | WO |
WO 2006108464 | Oct 2006 | WO |
Number | Date | Country | |
---|---|---|---|
20080235036 A1 | Sep 2008 | US |
Number | Date | Country | |
---|---|---|---|
60712119 | Aug 2005 | US | |
60719202 | Sep 2005 | US | |
60723007 | Oct 2005 | US | |
60726228 | Oct 2005 | US | |
60729225 | Oct 2005 | US | |
60748607 | Dec 2005 | US | |
60735628 | Nov 2005 | US | |
60762536 | Jan 2006 | US | |
60803825 | Jun 2006 | US |