IP Library › Granted Patent US 10,032,457
Granted Patent B1
US 10,032,457 · App. 15/616,920 · Granted Jul 24, 2018

Circuit and method for compensating for lost frames

Inventors: Lianxue Liu (Shanghai, CN); Weifeng Wang (Shanghai, CN)
Assignee: BEKEN CORPORATION
G10L19/005G10L19/167G06F11/1492G10L25/06
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,032,457
App. No.
15/616,920
Granted
Jul 24, 2018
Kind
B1
Abstract

A circuit to compensate for a lost audio frame, comprising: an identifier configured to identify a reference audio segment with a first length followed by the lost audio frame with a second length; a searcher coupled to the identifier and configured to search for a first audio segment similar to the reference audio segment in a cached audio segment followed by the reference audio segment by utilizing a cross-correlation search; the identifier further configured to identify a second audio segment subsequent to the first audio segment as a pre-compensated audio frame; an adjustor coupled to the identifier and configured to adjust an amplitude of the second audio segment based on a scale factor; and an output coupled to the adjustor to output the adjusted second audio segment as a compensated audio frame.

Claims (22)

1. A circuit to compensate for a lost audio frame, comprising:

an identifier configured to identify a reference audio segment with a first length followed by the lost audio frame with a second length;

a searcher coupled to the identifier and configured to search for a first audio segment similar to the reference audio segment in a cached audio segment preceding the reference audio segment by utilizing a cross-correlation search, wherein a length of the cached audio segment is larger than a total length of the first length and the second length, and the first audio segment has a same length as the reference audio segment;

the identifier further configured to identify a second audio segment subsequent to the first audio segment as a pre-compensated audio frame, wherein the second audio segment has a same length as the lost audio frame;

an adjustor coupled to the identifier and configured to adjust an amplitude of the second audio segment based on a scale factor, wherein the adjustor further comprises a calculator configured to calculate the scale factor according to an energy ratio of the reference audio segment to the first audio segment; and

an output coupled to the adjustor to output the adjusted second audio segment as a compensated audio frame.

2. The circuit of claim 1 , wherein the circuit further comprises an adder coupled to the identifier to overlap-add:

i) the reference audio segment and the first audio segment by using a window function to make phase continuous before the lost audio frame; and

ii) a first good frame subsequent to the lost audio frame and a third audio segment with a third length subsequent to the second audio segment by using the window function to make phase continuous after the lost audio frame, wherein the third length equals to a length of the window.

3. The circuit of claim 1 , wherein the circuit further comprises a detector coupled to the identifier and configured to detect whether a current lost audio frame is a first lost audio frame or a frame after the first lost audio frame.

4. The circuit of claim 3 , wherein the circuit further comprises an attenuator coupled to the detector and configured to linearly ramp down an amplitude of the current lost audio frame and linearly ramp up an amplitude of a first good frame subsequent to the last lost audio frame if the current lost audio frame is a frame after the first lost audio frame, and the attenuator will not ramp down an amplitude of a frame located after a fifth lost audio frame to avoid absolute mute.

5. A method for compensating for a lost audio frame, comprising:

identifying a reference audio segment with a first length followed by the lost audio frame with a second length;

searching for a first audio segment similar to the reference audio segment in a cached audio segment preceding the reference audio segment by utilizing a cross-correlation search, wherein a length of the cached audio segment is larger than a total length of the first length and the second length, and the first audio segment has a same length as the reference audio segment;

identifying a second audio segment subsequent to the first audio segment as a pre-compensated audio frame, wherein the second audio segment has a same length as the lost audio frame;

adjusting an amplitude of the second audio segment based on a scale factor, wherein the scale factor is calculated according to an energy ratio of the reference audio segment to the first audio segment; and

outputting the adjusted second audio segment as a compensated audio frame.

6. The method of claim 5 , further comprising overlap-adding:

i) the reference audio segment and the first audio segment by using a window function to make phase continuous before the lost audio frame; and

ii) a first good frame subsequent to the lost audio frame and a third audio segment with a third length subsequent to the second audio segment by using the window function to make phase continuous after the lost audio frame, wherein the third length equals to a length of the window.

7. The method of claim 5 , further comprising detecting whether a current lost audio frame is a first lost audio frame or a frame after the first lost audio frame, and if the current lost audio frame is the frame after the first lost audio frame, linearly ramping down an amplitude of the current lost audio frame and linearly ramping up an amplitude of a first good frame subsequent to a last lost audio frame.

8. The method of claim 7 , further comprising an amplitude of a frame located after a fifth lost audio frame will not be ramped down to avoid absolute mute.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 8, 2017
From: LIU, LIANXUE; WANG, WEIFENG
To: BEKEN CORPORATION
Reel/Frame 042640/0951 →
Priority Claims (1)
CN 2017 1 0345216 · May 16, 2017 · national
Cited By (3)
US 12,277,501 US 12,437,770 US 12,572,204