Transient detection with hangover indicator for encoding an audio signal
First Claim
Patent Images
1. An audio encoder apparatus comprising transient detector circuitry operating on an audio signal, wherein said transient detector circuitry is configured to:
- analyze a given frame n of said audio signal to determine whether a transient is present in frame n of the audio signal, wherein frame n of the audio signal comprises at least a first block and a second block, and frame n of the audio signal is immediately followed by frame n+1 of the audio signal; and
set an istransient flag for frame n+1 to a logical value of TRUE as a result of determining that frame n is a transient frame, to enable proper encoding of said following frame n+1, whereinthe audio encoder is configured to determine whether frame n of the audio signal is a transient frame by performing a transient detector process comprising;
calculating a short term energy value for the first block of frame n (EST(1)), calculating a long term energy value for the first block of frame n (ELT(1)), and determining whether EST (1)/ELT(1) is greater than or equal to a threshold (ρ
), andthe audio encoder is configured such that the audio encoder determines that a transient is not present in frame n of the audio signal as a result of determining that EST (1)/ELT(1) is less than ρ
, whereinthe audio encoder apparatus is further configured to;
determine whether the frame n of the audio signal is a transient frame in dependence on a predetermined window function;
scale said given frame n by said window function to produce a first scaled frame;
determine a transient indicator for said given frame n based on the first scaled frame;
scale said given frame n by said window function shifted one frame forward in time to produce a second scaled frame; and
determine a transient hangover indicator for said following frame n+1 based on the second scaled frame.
0 Assignments
0 Petitions
Accused Products
Abstract
A transient detector (100) analyzes (110) a given frame n of the input audio signal to determine, based on audio signal characteristics of the given frame n, a transient hangover indicator for a following frame n+1, and signals (120) the determined transient hangover indicator to an associated audio encoder (10) to enable proper encoding of the following frame n+1.
37 Citations
10 Claims
-
1. An audio encoder apparatus comprising transient detector circuitry operating on an audio signal, wherein said transient detector circuitry is configured to:
-
analyze a given frame n of said audio signal to determine whether a transient is present in frame n of the audio signal, wherein frame n of the audio signal comprises at least a first block and a second block, and frame n of the audio signal is immediately followed by frame n+1 of the audio signal; and set an istransient flag for frame n+1 to a logical value of TRUE as a result of determining that frame n is a transient frame, to enable proper encoding of said following frame n+1, wherein the audio encoder is configured to determine whether frame n of the audio signal is a transient frame by performing a transient detector process comprising;
calculating a short term energy value for the first block of frame n (EST(1)), calculating a long term energy value for the first block of frame n (ELT(1)), and determining whether EST (1)/ELT(1) is greater than or equal to a threshold (ρ
), andthe audio encoder is configured such that the audio encoder determines that a transient is not present in frame n of the audio signal as a result of determining that EST (1)/ELT(1) is less than ρ
, whereinthe audio encoder apparatus is further configured to; determine whether the frame n of the audio signal is a transient frame in dependence on a predetermined window function; scale said given frame n by said window function to produce a first scaled frame; determine a transient indicator for said given frame n based on the first scaled frame; scale said given frame n by said window function shifted one frame forward in time to produce a second scaled frame; and determine a transient hangover indicator for said following frame n+1 based on the second scaled frame.
-
-
2. An audio encoding method, the method comprising:
-
analyzing a given frame n of an audio signal comprising a plurality of frames including frame n and a frame n+1, wherein frame n of the audio signal comprises at least a first block and a second block, and frame n of the audio signal is immediately followed by frame n+1 of the audio signal, to determine whether a transient hangover condition is satisfied for frame n+1; and triggering a transient for frame n+1 as a result of determining that the transient hangover condition for frame n+1 is satisfied, thereby enabling proper encoding of frame n+1, wherein determining that the transient hangover condition is satisfied comprises determining whether a transient is present in frame n of the audio signal, determining whether a transient is present in frame n of the audio signal comprises performing a transient detector process comprising; i) calculating a short term energy value for the first block of frame n (E(1)), ii) calculating a long term energy value for the first block of frame n (ELT(1)), and iii) determining whether a ratio of E(1) to ELT(1) satisfies a first condition, and a transient is determined not to be present in frame n of the audio signal as a result of determining that the ratio of E(1) to ELT(1) does not satisfy the first condition. - View Dependent Claims (3, 4, 5, 6, 7, 8, 9, 10)
-
Specification