Apparatus and method for coding a portion of an audio signal using a transient detection and a quality result
First Claim
1. An apparatus for coding a portion of an audio signal to acquire an encoded audio signal for the portion of the audio signal, comprising:
- a transient detector configured for detecting whether a transient signal is located in the portion of the audio signal to achieve a transient detection result for the portion of the audio signal;
an encoder stage configured for performing a first encoding algorithm on the portion of the audio signal to obtain a first quality result value for the portion of the audio signal, the first encoding algorithm comprising a first characteristic, and for performing a second encoding algorithm on the same portion of the audio signal from which the first quality result value was derived, to obtain a second quality result value for the portion of the audio signal, the second encoding algorithm comprising a second characteristic being different from the first characteristic;
a processor configured for determining which encoding algorithm of the first and second encoding algorithms results in the encoded audio signal for the portion of the audio signal being a better approximation to the portion of the audio signal with respect to the other encoding algorithm of the first and second encoding algorithms to achieve a quality result for the portion of the audio signal, wherein the processor is configured to determine the quality result as a distance between the first quality result value and the second quality result value;
a controller configured for determining whether the encoded audio signal for the portion of the audio signal is to be generated using either the first encoding algorithm or the second encoding algorithm based on the transient detection result for the portion of the audio signal and the quality result for the same portion of the audio signal; and
an output interface for outputting, for the portion of the audio signal, the encoded signal being either generated using the first encoding algorithm or generated using the second encoding algorithm,wherein the encoder stage is configured for using the first encoding algorithm which is better suited for transient signals than the second encoding algorithm,wherein the controller is configured for determining the second encoding algorithm, although the quality result indicates a better quality for the first encoding algorithm, when the transient detection result indicates a non-transient signal and when the quality result indicates a distance between the encoding algorithms, which is smaller than a threshold distance value, orwherein the controller is configured for determining the first encoding algorithm, although the quality result indicates a better quality for the second encoding algorithm, when the transient detection result indicates a transient signal and when the quality result indicates the distance between the encoding algorithms, which is smaller than the threshold distance value, andwherein at least one of the transient detector, the encoder stage, the processor, the controller, or the output interface comprises a hardware implementation.
1 Assignment
0 Petitions
Accused Products
Abstract
An apparatus for coding a portion of an audio signal to obtain an encoded audio signal for the portion of the audio signal includes a transient detector for detecting whether a transient signal is located in the portion of the audio signal to obtain a transient detection result, an encoder stage for performing first and second encoding algorithms on the audio signal, the first and second encoding algorithms having differing first and second characteristics, respectively, a processor for determining which encoding algorithm results in an encoded audio signal being a better approximation to the portion of the audio signal with respect to the other encoding algorithm to obtain a quality result, and a controller for determining whether the encoded audio signal for the portion of the audio signal is to be generated by either the first or the second encoding algorithm based on the transient-detection and quality results.
177 Citations
11 Claims
-
1. An apparatus for coding a portion of an audio signal to acquire an encoded audio signal for the portion of the audio signal, comprising:
-
a transient detector configured for detecting whether a transient signal is located in the portion of the audio signal to achieve a transient detection result for the portion of the audio signal; an encoder stage configured for performing a first encoding algorithm on the portion of the audio signal to obtain a first quality result value for the portion of the audio signal, the first encoding algorithm comprising a first characteristic, and for performing a second encoding algorithm on the same portion of the audio signal from which the first quality result value was derived, to obtain a second quality result value for the portion of the audio signal, the second encoding algorithm comprising a second characteristic being different from the first characteristic; a processor configured for determining which encoding algorithm of the first and second encoding algorithms results in the encoded audio signal for the portion of the audio signal being a better approximation to the portion of the audio signal with respect to the other encoding algorithm of the first and second encoding algorithms to achieve a quality result for the portion of the audio signal, wherein the processor is configured to determine the quality result as a distance between the first quality result value and the second quality result value; a controller configured for determining whether the encoded audio signal for the portion of the audio signal is to be generated using either the first encoding algorithm or the second encoding algorithm based on the transient detection result for the portion of the audio signal and the quality result for the same portion of the audio signal; and an output interface for outputting, for the portion of the audio signal, the encoded signal being either generated using the first encoding algorithm or generated using the second encoding algorithm, wherein the encoder stage is configured for using the first encoding algorithm which is better suited for transient signals than the second encoding algorithm, wherein the controller is configured for determining the second encoding algorithm, although the quality result indicates a better quality for the first encoding algorithm, when the transient detection result indicates a non-transient signal and when the quality result indicates a distance between the encoding algorithms, which is smaller than a threshold distance value, or wherein the controller is configured for determining the first encoding algorithm, although the quality result indicates a better quality for the second encoding algorithm, when the transient detection result indicates a transient signal and when the quality result indicates the distance between the encoding algorithms, which is smaller than the threshold distance value, and wherein at least one of the transient detector, the encoder stage, the processor, the controller, or the output interface comprises a hardware implementation. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method of coding a portion of an audio signal to acquire an encoded audio signal for the portion of the audio signal, comprising:
-
detecting, by a transient detector, whether a transient signal is located in the portion of the audio signal to achieve a transient detection result for the portion of the audio signal; performing, by an encoder stage, a first encoding algorithm on the portion of the audio signal to obtain a first quality result value for the portion of the audio signal, the first encoding algorithm comprising a first characteristic, and performing a second encoding algorithm on the same portion of the audio signal from which the first quality result value was derived, to obtain a second quality result value for the portion of the audio signal, the second encoding algorithm comprising a second characteristic being different from the first characteristic; determining, by a processor, which encoding algorithm of the first and second encoding algorithms results in the encoded audio signal being a better approximation to the portion of the audio signal with respect to the other encoding algorithm of the first and second encoding algorithms to achieve a quality result for the portion of the audio signal, wherein the determining comprises determining the quality result as a distance between the first quality result value and the second quality result value; and determining, by a controller, whether the encoded audio signal for the portion of the audio signal is to be generated using either the first encoding algorithm or the second encoding algorithm based on the transient detection result for the same portion of the audio signal and the quality result for the portion of the audio signal; and outputting, by an output interface, for the portion of the audio signal, the encoded signal being either generated using the first encoding algorithm or generated using the second encoding algorithm, wherein the first encoding algorithm is better suited for transient signals than the second encoding algorithm, wherein the determining whether the encoded audio signal for the portion of the audio signal is to be generated using either the first encoding algorithm or the second encoding algorithm comprises determining the second encoding algorithm, although the quality result indicates a better quality for the first encoding algorithm, when the transient detection result indicates a non-transient signal and when the quality result indicates a distance between the encoding algorithms, which is smaller than a threshold distance value, or wherein the determining whether the encoded audio signal for the portion of the audio signal is to be generated using either the first encoding algorithm or the second encoding algorithm comprises determining the first encoding algorithm, although the quality result indicates a better quality for the second encoding algorithm, when the transient detection result indicates a transient signal and when the quality result indicates the distance between the encoding algorithms, which is smaller than the threshold distance value, wherein at least one of the transient detector, the encoder stage, the processor, the controller, or the output interface comprises a hardware implementation.
-
-
11. A non-transitory storage medium having stored thereon a computer program comprising a program code for performing, when running on a computer, a method of coding a portion of an audio signal to acquire an encoded audio signal for the portion of the audio signal, the method comprising:
-
detecting whether a transient signal is located in the portion of the audio signal to achieve a transient detection result for the portion of the audio signal; performing a first encoding algorithm on the portion of the audio signal to obtain a first quality result value for the portion of the audio signal, the first encoding algorithm comprising a first characteristic, and performing a second encoding algorithm on the same portion of the audio signal from which the first quality result value was derived to obtain a second quality result value for the portion of the audio signal, the second encoding algorithm comprising a second characteristic being different from the first characteristic; determining which encoding algorithm of the first and second encoding algorithms results in the encoded audio signal being a better approximation to the portion of the audio signal with respect to the other encoding algorithm of the first and second encoding algorithms to achieve a quality result for the portion of the audio signal, wherein the determining comprises determining the quality result as a distance between the first quality result value and the second quality result value; determining whether the encoded audio signal for the portion of the audio signal is to be generated using either the first encoding algorithm or the second encoding algorithm based on the transient detection result for the same portion of the audio signal and the quality result for the portion of the audio signal; and outputting, for the portion of the audio signal, the encoded signal being either generated using the first encoding algorithm or generated using the second encoding algorithm, wherein the first encoding algorithm is better suited for transient signals than the second encoding algorithm, wherein the determining whether the encoded audio signal for the portion of the audio signal is to be generated using either the first encoding algorithm or the second encoding algorithm comprises determining the second encoding algorithm, although the quality result indicates a better quality for the first encoding algorithm, when the transient detection result indicates a non-transient signal and when the quality result indicates a distance between the encoding algorithms, which is smaller than a threshold distance value, or wherein the determining whether the encoded audio signal for the portion of the audio signal is to be generated using either the first encoding algorithm or the second encoding algorithm comprises determining the first encoding algorithm, although the quality result indicates a better quality for the second encoding algorithm, when the transient detection result indicates a transient signal and when the quality result indicates the distance between the encoding algorithms, which is smaller than the threshold distance value.
-
Specification