# US 2019/0244625 A1 · Transient detection with hangover indicator for encoding an audio signal

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0244625 A1
- Document ID: US20190244625A1
- Status: Published application
- Kind: A1
- Application number: 16/386,863
- Filed: 2019-04-17
- Published: 2019-08-08
- Earliest claimed: 2007-08-27
- Assignees: Telefonaktiebolaget LM Ericsson (publ)
- Applicants: Telefonaktiebolaget LM Ericsson (publ)
- Inventors: Anisse TALEB; Gustaf ULLBERG
- Web page: https://patentgrep.com/patent/US20190244625A1

## CPC

- G10L 19/025: Detection of transients or attacks for time/frequency resolution switching
- G10L 19/0212: {using orthogonal transformation}
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

A transient detector analyzes 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 the determined transient hangover indicator to an associated audio encoder to enable proper encoding of the following frame n+1.

## Claims

### Claim 1

A transient detector operating on an audio signal, wherein said transient detector is configured to:
analyze a given frame n of said audio signal to determine, based on audio signal characteristics of said given frame n, a transient hangover indicator for a following frame n+1; and
signal said determined transient hangover indicator to an associated audio encoder to enable proper encoding of said following frame n+1.

### Claim 2

An audio encoder apparatus, wherein audio encoder apparatus is configured to:
analyze 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 sub-frame and a second sub-frame, 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
trigger 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
the audio encoder apparatus is configured to determine whether the transient hangover condition for frame n+1 is satisfied by performing a first process comprising determining whether a transient is present in frame n of the audio signal,
the audio encoder apparatus is configured to determine whether a transient is present in frame n of the audio signal by performing a transient detector process comprising:
i) calculating a short term energy value for the first sub-frame of frame n (E(1)),
ii) calculating a long term energy value for the first sub-frame of frame n (ELT(1)), and
iii) determining whether a ratio of E(1) to ELT(1) satisfies a first condition, and
the audio encoder apparatus is configured such that the audio encoder apparatus determines that a transient is not 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.

### Claim 3 (depends on 2)

The audio encoder apparatus of claim 2, wherein the first process further comprises determining whether audio signal characteristics representative of a transient in said given frame n is not suppressed after a windowing operation based on a window function.

### Claim 4 (depends on 3)

The audio encoder apparatus of claim 3, wherein said window function corresponds to a window function used for transform coding of frame n of said audio signal in said audio encoder apparatus, but shifted one frame forward in time.

### Claim 5 (depends on 4)

The audio encoder apparatus of claim 4, wherein the audio encoder apparatus is further configured to encode the audio signal using a lapped transform.

### Claim 6 (depends on 3)

The audio encoder apparatus of claim 3, wherein the audio encoder apparatus is further configured to:
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.

### Claim 7 (depends on 2)

The audio encoder apparatus of claim 2, wherein determining that the transient hangover condition is satisfied further comprises determining a location of the transient in said given frame n.

### Claim 8 (depends on 7)

The audio encoder apparatus of claim 7, wherein determining that the transient hangover condition is satisfied further comprises determining that the transient in said given frame n is located at the center or end of frame n.

### Claim 9 (depends on 8)

The audio encoder apparatus of claim 8, wherein determining that the transient hangover condition is satisfied further comprises determining whether a transient that is present in frame n is located at the beginning of frame n.

### Claim 10 (depends on 2)

The audio encoder apparatus of claim 2, wherein the audio encoder apparatus is further configured to encode frame n+1 based on the triggering of the transient for frame n+1.

### Claim 11

An audio encoding method, the method comprising:
obtaining 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 is immediately followed by frame n+1 of the audio signal;
determining, based on frame n, 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.

### Claim 12 (depends on 11)

The method of claim 11, wherein determining that the transient hangover condition is satisfied for frame n+1 comprises determining whether a transient is present in frame n of the audio signal.

### Claim 13 (depends on 12)

The method of claim 12, wherein
frame n of the audio signal comprises at least a first sub-frame and a second sub-frame,
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 sub-frame of frame n (E(1)),
ii) calculating a long term energy value for the first sub-frame of frame n (ELT(1)), and
iii) determining whether a ratio of E(1) to ELT(1) satisfies a first condition.

### Claim 14 (depends on 13)

The method of claim 13, wherein 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.

### Claim 15 (depends on 13)

The method of claim 13, wherein determining whether the transient hangover condition is satisfied in comprises determining whether audio signal characteristics representative of a transient in said given frame n is not suppressed after a windowing operation based on a window function.

### Claim 16 (depends on 15)

The method of claim 15, wherein said window function corresponds to a window function used for transform coding of frame n of said audio signal in said audio encoder apparatus, but shifted one frame forward in time.

### Claim 17 (depends on 16)

The method of claim 16, further comprising encoding the audio signal using a lapped transform.

### Claim 18 (depends on 15)

The method of claim 15, further comprising:
scaling said given frame n by said window function to produce a first scaled frame;
determining a transient indicator for said given frame n based on the first scaled frame;
scaling said given frame n by said window function shifted one frame forward in time to produce a second scaled frame; and
determining a transient hangover indicator for said following frame n+1 based on the second scaled frame.

### Claim 19 (depends on 13)

The method of claim 13, wherein determining that the transient hangover condition is satisfied further comprises determining a location of the transient in said given frame n.

### Claim 20 (depends on 11)

A computer program product comprising a non-transitory computer readable medium storing software for configuring an audio encoder to perform the method of claim 11.
