IP Library › Granted Patent US 12,315,519
Granted Patent B2
US 12,315,519 · App. 18/386,020 · Granted May 27, 2025

Frame error concealment

Inventors: Sebastian Näslund (Solna, SE); Volodya Grancharov (Solna, SE); Jonas Svedberg (Luleå, SE)
Assignee: TELEFONAKTIEBOLAGET LM ERICSSON (PUBL)
G10L19/005G10L19/025
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 12,315,519
App. No.
18/386,020
Granted
May 27, 2025
Kind
B2
Abstract

A frame error concealment method based on frames including transform coefficient vectors including the following steps: It tracks sign changes between corresponding transform coefficients of predetermined sub-vectors of consecutive good stationary frames. It accumulates the number of sign changes in corresponding sub-vectors of a predetermined number of consecutive good stationary frames. It reconstructs an erroneous frame with the latest good stationary frame, but with reversed signs of transform coefficients in sub-vectors having an accumulated number of sign changes that exceeds a predetermined threshold.

Claims (69)

1. A frame loss concealment method performed by an audio decoder, the method comprising:

receiving a first frame comprising B bands of n transform coefficients, where B>1 and n>1;

receiving a second frame comprising B bands of n transform coefficients;

for the first band of the first frame, storing a first counter value (C [1] (1));

for the first band of the second frame, storing a second counter value (C [2] (1))

setting a value of a state variable (denoted ΔC [2] (1)) equal to C [2] (1)+C [1] (1);

using ΔC [2] (1) in a process for producing a constructed frame corresponding to a lost frame wherein

the constructed frame comprises an ordered set of B vectors of n transform coefficients, and

the process for producing the constructed frame comprises, for each one of the n transform coefficients of the first vector of the constructed frame, determining a sign for the transform coefficient based on ΔC [2] (1) and a threshold value (T).

2. The method of claim 1 , wherein signs of copied transform coefficients are randomized if any of two previous frames contains transient.

3. The method of claim 1 , further comprising assigning a value to T based on a number of consecutive frames immediately preceding the lost frame that do not contain transient.

4. The method of claim 3 , wherein assigning a value to T based on a number of consecutive frames immediately preceding the lost frame that do not contain transient comprises:

assigning a first value to T if the number of consecutive frames immediately preceding the lost frame that do not contain transient is two; and

assigning a second value to T if the number of consecutive frames immediately preceding the lost frame that do not contain transient is three.

5. The method of claim 4 , wherein when the band comprises 4 coefficients, the first value is 3 and the second value is 6.

6. A computer program product comprising a non-transitory computer readable medium storing a computer program for frame loss concealment, the computer program comprising computer readable code which when run on a processor causes the processor to perform the method of claim 1 .

7. An apparatus for frame loss concealment, comprising:

a memory; and

a processor coupled to the memory, wherein the apparatus is configured to perform a method comprising:

receiving a first frame comprising B bands of n transform coefficients, where B>1 and n>1;

receiving a second frame comprising B bands of n transform coefficients;

for the first band of the first frame, storing a first counter value (C [1] (1));

for the first band of the second frame, storing a second counter value (C [2] (1)) setting a value of a state variable (denoted ΔC [2] (1)) equal to C [2] (1)+C [1] (1);

using ΔC [2] (1) in a process for producing a constructed frame corresponding to a lost frame, wherein

the constructed frame comprises an ordered set of B vectors of n transform coefficients, and

the process for producing the constructed frame comprises, for each one of the n transform coefficients of the first vector of the constructed frame, determining a sign for the transform coefficient based on ΔC [2] (1) and a threshold value (T).

8. The apparatus of claim 7 , wherein the apparatus is configured to randomize signs of copied transform coefficients if any of two previous frames contains transient.

9. The apparatus of claim 7 , wherein the apparatus is configured to assign a value to T based on a number of consecutive frames immediately preceding the lost frame that do not contain transient.

10. The apparatus of claim 9 , wherein the apparatus is configured such that:

the apparatus assigns a first value to T if the number of consecutive frames immediately preceding the lost frame that do not contain transient is two; and

the apparatus assigns a second value to T if the number of consecutive frames immediately preceding the lost frame that do not contain transient is three.

11. The apparatus of claim 10 , wherein the first value is 3 and the second value is 6.

12. An audio decoder comprising the apparatus of claim 7 .

13. A mobile communication device comprising the apparatus of claim 7 .

14. An apparatus for frame loss concealment, comprising:

a receiver for receiving a first audio frame, the first audio frame comprising a plurality of bands, each of the plurality of bands of the first audio frame comprising a plurality of transform coefficients;

a memory; and

a processor coupled to the memory, wherein the apparatus is configured to:

determine that a next audio frame immediately following the first audio frame is lost; and

after determining that the next audio frame is lost, produce a reconstructed frame using the first audio frame, wherein

the reconstructed audio frame comprises a plurality of bands, wherein each one of the plurality of bands of the reconstructed audio frame corresponds to one of the plurality of bands of the first audio frame and wherein each band of the reconstructed audio frame comprises a plurality of transform coefficients,

for each transform coefficient included in the reconstructed audio frame, the absolute value of the transform coefficient is identical to the absolute value of a corresponding transform coefficient included in the first audio frame, and

for a first band of the reconstructed audio frame, the sign of each transform coefficient included in the first band of the reconstructed audio frame is determined based on a sign switch value that indicates a number of transform coefficient sign switches accumulated over two consecutive audio frames, the two consecutive audio frames including the first audio frame and a second audio frame that immediately precedes the first audio frame.

15. An apparatus for frame loss concealment, comprising:

a receiver for receiving a first audio frame, the first audio frame comprising a plurality of bands comprising a first band and a second band, each of the plurality of bands of the first audio frame comprising a plurality of transform coefficients;

a memory; and

a processor coupled to the memory, wherein the apparatus is configured to:

determine that a next audio frame immediately following the first audio frame is lost; and

as a result of determining that the next audio frame is lost, construct a replacement audio frame, wherein

the replacement audio frame comprises a plurality of bands comprising a first band and a second band,

the first band of the replacement audio frame corresponds to the first band of the first audio frame,

the second band of the replacement audio frame corresponds to the second band of the first audio frame,

the first band of the replacement audio frame comprises a plurality of transform coefficients, each of which corresponds to one of the transform coefficients included in the first band of the first audio frame,

for each transform coefficient included in the first band of the replacement audio frame, the absolute value of the transform coefficient is identical to the absolute value of its corresponding transform coefficient included in the first band of the first audio frame,

for each transform coefficient included in the first band of the replacement audio frame, the sign of the transform coefficient is determined based on a first sign switch value that indicates a first accumulated number of transform coefficient sign switches accumulated over two consecutive audio frames, the two consecutive audio frames including the first audio frame and a second audio frame that immediately precedes the first audio frame,

the second band of the replacement audio frame comprises a plurality of transform coefficients, each of which corresponds to one of the transform coefficients included in the second band of the first audio frame,

for each transform coefficient included in the second band of the replacement audio frame, the absolute value of the transform coefficient is identical to the absolute value of its corresponding transform coefficient included in the second band of the first audio frame, and

for each transform coefficient included in the second band of the replacement audio frame, the sign of the transform coefficient is determined based on a second sign switch value that indicates a second accumulated number of transform coefficient sign switches accumulated over the two consecutive audio frames.

16. The apparatus of claim 15 , wherein the apparatus is further configured to calculate the first sign switch value, wherein calculating the first sign switch value comprises calculating S n (1)+S n-1 (1), wherein S n (1) is a state value associated with the first band of the first audio frame and S n-1 (1) is a state value associated with a first band of an audio frame that preceded the first audio frame.

17. The apparatus of claim 15 , wherein the apparatus is further configured to calculate the first sign switch value, wherein calculating the first sign switch value comprises:

determining whether x n (1)*x n-1 (1)<0; and

calculating (S n (1)=S n (1)+1) as a result of determining that x n (1)*x n-1 (1)<0, wherein

the first band of the first audio frame comprises a first transform coefficient,

x n (1) is the value of the first transform coefficient of the first band of the first audio frame,

x n-1 (1) is the value of a first transform coefficient included in a first band of an audio frame that preceded the first audio frame,

S n (1) is the first sign switch value.

18. The apparatus of claim 15 , wherein

the first sign switch value is associated with the first band of the first audio frame and indicates a first number of transform coefficient sign switches, and

the second sign switch value is associated with the second band of the first audio frame and indicates a second number of transform coefficient sign switches.

Continuity (7)
Continuation 17570460 · Jan 7, 2022
Continuation 16747269 · Jan 20, 2020
Continuation 15989618 · May 25, 2018
Continuation 15271930 · Sep 21, 2016
Continuation 14767499
Provisional Application 61764254 · Feb 13, 2013
Related Publication 20240144939A1 · May 2, 2024
References Cited (36)
US 5699485A · Shoham · 1997 [cited by examiner]
US 9514756B2 · Nälund et al. · 2016 [cited by examiner]
US 10013989B2 · Nälund et al. · 2018 [cited by examiner]
US 10566000B2 · Nälund et al. · 2020 [cited by examiner]
US 11227613B2 · Nälund et al. · 2022 [cited by examiner]
US 11837240B2 · Nälund et al. · 2023 [cited by examiner]
US 20050154584A1 · Jelinek · 2005 [cited by examiner]
US 20060176802A1 · Ko et al. · 2006 [cited by applicant]
US 20090103517A1 · Ohmuro et al. · 2009 [cited by applicant]
US 20090192803A1 · Nagaraja · 2009 [cited by examiner]
US 20100049506A1 · Zhan et al. · 2010 [cited by applicant]
US 20100094642A1 · Zhan et al. · 2010 [cited by applicant]
US 20110125505A1 · Vaillancourt · 2011 [cited by examiner]
US 20110191111A1 · Chu et al. · 2011 [cited by applicant]
US 20130144632A1 · Sung · 2013 [cited by examiner]
US 20150379998A1 · Nälund et al. · 2015 [cited by examiner]
CA 2425034 · 2002 [cited by applicant]
CN 101572685 · 2009 [cited by applicant]
CN 101662442 · 2010 [cited by applicant]
CN 101917257 · 2010 [cited by applicant]
EP 1288916 · 2003 [cited by applicant]
RU 2419891 · 2011 [cited by applicant]
RU 2459282 · 2012 [cited by applicant]
WO 2007051124 · 2007 [cited by applicant]
WO 2008066264 · 2008 [cited by applicant]
WO 2009010831 · 2009 [cited by applicant]
Akinori Ito et al. “Robust Transmission of Audio Signals over the Internet: An Advanced Packet Loss Concealment for MP3-Based Audio Signals” Interdisciplinary Information Sciences, vol. 18. No. 2. (2012) pp. 99-105. [cited by applicant]
Zhu Meng Yao et al. “Efficient Algorithm for Packet Loss Concealment Based on Sinusoid and Transient in MDCT Domain” 2009 Pacific-Asia Conference on Circuits, Communications and Systems, IEEE Computer Society, 2009, pp.… [cited by applicant]
International Preliminary Report on Patentability issued in corresponding International application No. PCT/SE2013/051332, dated Apr. 22, 2015, 13 pages. [cited by applicant]
International Search Report and issued in corresponding International application No. PCT/SE2013/051332, dated May 22, 2014, 3 pages. [cited by applicant]
Ryu, S., et al., “Encoder Assisted Frame Loss Concealment For MPEG- AAC Decoder”, Acoustics, Speech and Signal Processing, 2006, ICASSP 2006 Proceedings, 2006 IEEE International Conference On Toulouse, France May 14-19,… [cited by applicant]
Extended European Search Report dated Oct. 19, 2016 in corresponding European Application No. EP16179227.0, 11 pages. [cited by applicant]
Search Report dated Dec. 6, 2016 issued in corresponding Russian Application No. 2015138979/08(059777), 2 pages (English translation only). [cited by applicant]
The extended European Search Report issued in Application No. 18191125.6 dated Nov. 20, 2018, 10 pages. [cited by applicant]
Russian Office Action and Search Report dated May 28, 2019 issued in Russian Patent Application No. 2017126008. (5 pages). [cited by applicant]
Brazilian Office Action dated Sep. 3, 2019 issued in Brazilian Patent Application No. BR112015017082-0. (5 pages). [cited by applicant]