Apparatus and a method for calculating a number of spectral envelopes
First Claim
1. An apparatus for calculating a number of spectral envelopes to be derived by a spectral band replication (SBR) encoder, wherein the SBR encoder is adapted to encode an audio signal using a plurality of sample values within a predetermined number of subsequent time portions in an SBR frame extending from an initial time to a final time, the predetermined number of subsequent time portions being arranged in a time sequence given by the audio signal, the apparatus comprising:
- a decision value calculator configured to determining a decision value, the decision value measuring a deviation in spectral energy distributions of a pair of neighboring time portions;
a detector configured to detecting a violation of a threshold by the decision value;
a processor configured to determining a first envelope border between the pair of neighboring time portions when the violation of the threshold is detected;
a processor configured to determining a second envelope border between a different pair of neighboring time portions or at the initial time or at the final time for an envelope comprising the first envelope border based on the violation of the threshold for the other pair or based on a temporal position of the pair or the different pair in the SBR frame; and
a number processor configured to establishing the number of spectral envelopes comprising the first envelope border and the second envelope border,wherein the predetermined number of time portions is equal to n with n−
1 borders between neighboring time portions, which are numbered and ordered with respect to the time so that the borders comprise even and odd borders, and wherein the number processor is adapted to establish n as the number of spectral envelopes if the detector detects the violation at an odd border.
1 Assignment
0 Petitions
Accused Products
Abstract
An apparatus calculates a number of spectral envelopes to be derived by a spectral band replication (SBR) encoder, wherein the SBR encoder is adapted to encode an audio signal using a plurality of sample values within a predetermined number of subsequent time portions in an SBR frame extending from an initial time to a final time, the predetermined number of subsequent time portions being arranged in a time sequence given by the audio signal. The apparatus has a decision value calculator for determining a decision value, the decision value measuring a deviation in spectral energy distributions of a pair of neighboring time portions. The apparatus further has a detector for detecting a violation of a threshold by the decision value and a processor for determining a first envelope border between the pair of neighboring time portions when the violation of the threshold is detected.
-
Citations
18 Claims
-
1. An apparatus for calculating a number of spectral envelopes to be derived by a spectral band replication (SBR) encoder, wherein the SBR encoder is adapted to encode an audio signal using a plurality of sample values within a predetermined number of subsequent time portions in an SBR frame extending from an initial time to a final time, the predetermined number of subsequent time portions being arranged in a time sequence given by the audio signal, the apparatus comprising:
-
a decision value calculator configured to determining a decision value, the decision value measuring a deviation in spectral energy distributions of a pair of neighboring time portions; a detector configured to detecting a violation of a threshold by the decision value; a processor configured to determining a first envelope border between the pair of neighboring time portions when the violation of the threshold is detected; a processor configured to determining a second envelope border between a different pair of neighboring time portions or at the initial time or at the final time for an envelope comprising the first envelope border based on the violation of the threshold for the other pair or based on a temporal position of the pair or the different pair in the SBR frame; and a number processor configured to establishing the number of spectral envelopes comprising the first envelope border and the second envelope border, wherein the predetermined number of time portions is equal to n with n−
1 borders between neighboring time portions, which are numbered and ordered with respect to the time so that the borders comprise even and odd borders, and wherein the number processor is adapted to establish n as the number of spectral envelopes if the detector detects the violation at an odd border. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for calculating a number of spectral envelopes to be derived by a spectral band replication (SBR) encoder, wherein the SBR encoder is adapted to encode an audio signal using a plurality of sample values within a predetermined number of subsequent time portions in an SBR frame extending from an initial time to a final time, the predetermined number of subsequent time portions being arranged in a time sequence given by the audio signal, the method comprising:
-
determining a decision value, the decision value measuring a deviation in spectral energy distributions of a pair of neighboring time portions; detecting a violation of a threshold by the decision value; determining a first envelope border between the pair of neighboring time portions when the violation of the threshold is detected; determining a second envelope border between a different pair of neighboring time portions or at the initial time or at the final time for an envelope comprising the first envelope border based on the violation of the threshold for the other pair or based on a temporal position of the pair or the different pair in the SBR frame; and establishing the number of spectral envelopes comprising the first envelope border and the second envelope border, wherein the predetermined number of time portions is equal to n with n−
1 borders between neighboring time portions, which are numbered and ordered with respect to the time so that the borders comprise even and odd borders, and wherein n is established as the number of spectral envelopes if violation at an odd border is detected.
-
-
9. A non-transitory storage medium having stored thereon a computer program for performing, when running on a processor, a method for calculating a number of spectral envelopes to be derived by a spectral band replication (SBR) encoder, wherein the SBR encoder is adapted to encode an audio signal using a plurality of sample values within a predetermined number of subsequent time portions in an SBR frame extending from an initial time to a final time, the predetermined number of subsequent time portions being arranged in a time sequence given by the audio signal, the method comprising:
determining a decision value, the decision value measuring a deviation in spectral energy distributions of a pair of neighboring time portions;
detecting a violation of a threshold by the decision value;
determining a first envelope border between the pair of neighboring time portions when the violation of the threshold is detected;
determining a second envelope border between a different pair of neighboring time portions or at the initial time or at the final time for an envelope comprising the first envelope border based on the violation of the threshold for the other pair or based on a temporal position of the pair or the different pair in the SBR frame; and
establishing the number of spectral envelopes comprising the first envelope border and the second envelope border, wherein the predetermined number of time portions is equal to n with n−
1 borders between neighboring time portions, which are numbered and ordered with respect to the time so that the borders comprise even and odd borders, and wherein n is established as the number of spectral envelopes if violation at an odd border is detected.
-
10. An apparatus for calculating a number of spectral envelopes to be derived by a spectral band replication (SBR) encoder, wherein the SBR encoder is adapted to encode an audio signal using a plurality of sample values within a predetermined number of subsequent time portions in an SBR frame extending from an initial time to a final time, the predetermined number of subsequent time portions being arranged in a time sequence given by the audio signal, the apparatus comprising:
-
a decision value calculator configured to determining a decision value, the decision value measuring a deviation in spectral energy distributions of a pair of neighboring time portions; a detector configured to detecting a violation of a threshold by the decision value; a processor configured to determining a first envelope border between the pair of neighboring time portions when the violation of the threshold is detected; a processor configured to determining a second envelope border between a different pair of neighboring time portions or at the initial time or at the final time for an envelope comprising the first envelope border based on the violation of the threshold for the other pair or based on a temporal position of the pair or the different pair in the SBR frame; and a number processor configured to establishing the number of spectral envelopes comprising the first envelope border and the second envelope border, wherein the detector is adapted to determine the second border such that the spectral envelopes comprise a same temporal length and the number of spectral envelopes is a power of two. - View Dependent Claims (11, 12)
-
-
13. A method for calculating a number of spectral envelopes to be derived by a spectral band replication (SBR) encoder, wherein the SBR encoder is adapted to encode an audio signal using a plurality of sample values within a predetermined number of subsequent time portions in an SBR frame extending from an initial time to a final time, the predetermined number of subsequent time portions being arranged in a time sequence given by the audio signal, the method comprising:
-
determining a decision value, the decision value measuring a deviation in spectral energy distributions of a pair of neighboring time portions; detecting a violation of a threshold by the decision value; determining a first envelope border between the pair of neighboring time portions when the violation of the threshold is detected; determining a second envelope border between a different pair of neighboring time portions or at the initial time or at the final time for an envelope comprising the first envelope border based on the violation of the threshold for the other pair or based on a temporal position of the pair or the different pair in the SBR frame; and establishing the number of spectral envelopes comprising the first envelope border and the second envelope border, wherein the second border is determined such that the spectral envelopes comprise a same temporal length and the number of spectral envelopes is a power of two.
-
-
14. A non-transitory storage medium having stored thereon a computer program for performing, when running on a processor, a method for calculating a number of spectral envelopes to be derived by a spectral band replication (SBR) encoder, wherein the SBR encoder is adapted to encode an audio signal using a plurality of sample values within a predetermined number of subsequent time portions in an SBR frame extending from an initial time to a final time, the predetermined number of subsequent time portions being arranged in a time sequence given by the audio signal, the method comprising:
determining a decision value, the decision value measuring a deviation in spectral energy distributions of a pair of neighboring time portions;
detecting a violation of a threshold by the decision value;
determining a first envelope border between the pair of neighboring time portions when the violation of the threshold is detected;
determining a second envelope border between a different pair of neighboring time portions or at the initial time or at the final time for an envelope comprising the first envelope border based on the violation of the threshold for the other pair or based on a temporal position of the pair or the different pair in the SBR frame; and
establishing the number of spectral envelopes comprising the first envelope border and the second envelope border, wherein the second border is determined such that the spectral envelopes comprise a same temporal length and the number of spectral envelopes is a power of two.
-
15. An apparatus for calculating a number of spectral envelopes to be derived by a spectral band replication (SBR) encoder, wherein the SBR encoder is adapted to encode an audio signal using a plurality of sample values within a predetermined number of subsequent time portions in an SBR frame extending from an initial time to a final time, the predetermined number of subsequent time portions being arranged in a time sequence given by the audio signal, the apparatus comprising:
-
a decision value calculator configured to determining a decision value, the decision value measuring a deviation in spectral energy distributions of a pair of neighboring time portions; a detector configured to detecting a violation of a threshold by the decision value; a processor configured to determining a first envelope border between the pair of neighboring time portions when the violation of the threshold is detected; a processor configured to determining a second envelope border between a different pair of neighboring time portions or at the initial time or at the final time for an envelope comprising the first envelope border based on the violation of the threshold for the other pair or based on a temporal position of the pair or the different pair in the SBR frame; a number processor configured to establishing the number of spectral envelopes comprising the first envelope border and the second envelope border; and a switch decision unit configured to provide a switch decision signal, the switch decision signal signals a speech-like audio signal and a general audio-like audio signal, wherein the detector is adapted to lower the threshold for speech-like audio signals.
-
-
16. A method for calculating a number of spectral envelopes to be derived by a spectral band replication (SBR) encoder, wherein the SBR encoder is adapted to encode an audio signal using a plurality of sample values within a predetermined number of subsequent time portions in an SBR frame extending from an initial time to a final time, the predetermined number of subsequent time portions being arranged in a time sequence given by the audio signal, the method comprising:
-
determining a decision value, the decision value measuring a deviation in spectral energy distributions of a pair of neighboring time portions; detecting a violation of a threshold by the decision value; determining a first envelope border between the pair of neighboring time portions when the violation of the threshold is detected; determining a second envelope border between a different pair of neighboring time portions or at the initial time or at the final time for an envelope comprising the first envelope border based on the violation of the threshold for the other pair or based on a temporal position of the pair or the different pair in the SBR frame; establishing the number of spectral envelopes comprising the first envelope border and the second envelope border, wherein a switch decision signal is provided, the switch decision signal signaling a speech-like audio signal and a general audio-like audio signal, wherein the threshold is lowered for speech-like audio signals.
-
-
17. A non-transitory storage medium having stored thereon a computer program for performing, when running on a processor, a method for calculating a number of spectral envelopes to be derived by a spectral band replication (SBR) encoder, wherein the SBR encoder is adapted to encode an audio signal using a plurality of sample values within a predetermined number of subsequent time portions in an SBR frame extending from an initial time to a final time, the predetermined number of subsequent time portions being arranged in a time sequence given by the audio signal, the method comprising:
determining a decision value, the decision value measuring a deviation in spectral energy distributions of a pair of neighboring time portions;
detecting a violation of a threshold by the decision value;
determining a first envelope border between the pair of neighboring time portions when the violation of the threshold is detected;
determining a second envelope border between a different pair of neighboring time portions or at the initial time or at the final time for an envelope comprising the first envelope border based on the violation of the threshold for the other pair or based on a temporal position of the pair or the different pair in the SBR frame; and
establishing the number of spectral envelopes comprising the first envelope border and the second envelope border, wherein a switch decision signal is provided, the switch decision signal signaling a speech-like audio signal and a general audio-like audio signal, wherein the threshold is lowered for speech-like audio signals.
-
18. An encoder for encoding an audio signal comprising:
-
a core coder configured to encoding the audio signal within a core frequency band; an apparatus configured to calculating a number of spectral envelopes to be derived by a spectral band replication (SBR) encoder, wherein the SBR encoder is adapted to encode an audio signal using a plurality of sample values within a predetermined number of subsequent time portions in an SBR frame extending from an initial time to a final time, the predetermined number of subsequent time portions being arranged in a time sequence given by the audio signal, the apparatus comprising;
a decision value calculator configured to determining a decision value, the decision value measuring a deviation in spectral energy distributions of a pair of neighboring time portions;
a detector configured to detecting a violation of a threshold by the decision value;
a processor configured to determining a first envelope border between the pair of neighboring time portions when the violation of the threshold is detected;
a processor configured to determining a second envelope border between a different pair of neighboring time portions or at the initial time or at the final time for an envelope comprising the first envelope border based on the violation of the threshold for the other pair or based on a temporal position of the pair or the different pair in the SBR frame; and
a number processor configured to establishing the number of spectral envelopes comprising the first envelope border and the second envelope border,wherein the predetermined number of time portions is equal to n with n−
1 borders between neighboring time portions, which are numbered and ordered with respect to the time so that the borders comprise even and odd borders, and wherein the number processor is adapted to establish n as the number of spectral envelopes if the detector detects the violation at an odd border;
orwherein the detector is adapted to determine the second border such that the spectral envelopes comprise a same temporal length and the number of spectral envelopes is a power of two;
orfurther comprising a switch decision unit configured to provide a switch decision signal, the switch decision signal signals a speech-like audio signal and a general audio-like audio signal, wherein the detector is adapted to lower the threshold for speech-like audio signals; and an envelope data calculator configured to calculating envelope data based on the audio signal and the number.
-
Specification