| CPC G10L 19/025 (2013.01) [G10L 19/0212 (2013.01)] | 17 Claims |

|
16. A method for detecting a transient, the method comprising:
obtaining a long term energy value (ELT(m−1)) for a given frame n of an audio signal, wherein the frame n of the audio signal comprises an ordered set of sub-frames, where m>1;
for a sub-frame m of the given frame n of the audio signal, determining a short term energy value (E(m));
for the sub-frame m, calculating a long term energy value (ELT(m)) by computing a weighted average of ELT(m−1) and E(m), such that ELT(m)=α×ELT(m−1)+(1−α)×E(m), where α is less than 1 and greater than or equal to 0;
based on E(m) and ELT(m), determine whether a transient hangover condition exists for a frame n+1 of the audio signal, wherein frame n+1 of the audio signal follows frame n of the audio signal; and
as a result determining that the transient hangover condition exists for frame n+1 of the audio signal, signal a transient hangover indicator to an audio encoder to enable proper encoding of frame n+1.
|