[go: up one dir, main page]

CN101588341B - Lost frame hiding method and device thereof - Google Patents

Lost frame hiding method and device thereof Download PDF

Info

Publication number
CN101588341B
CN101588341B CN2008100282233A CN200810028223A CN101588341B CN 101588341 B CN101588341 B CN 101588341B CN 2008100282233 A CN2008100282233 A CN 2008100282233A CN 200810028223 A CN200810028223 A CN 200810028223A CN 101588341 B CN101588341 B CN 101588341B
Authority
CN
China
Prior art keywords
signal
imdct
lost
frame
coefficients
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2008100282233A
Other languages
Chinese (zh)
Other versions
CN101588341A (en
Inventor
詹五洲
王东琦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority to CN2008100282233A priority Critical patent/CN101588341B/en
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to AT09749413T priority patent/ATE557385T1/en
Priority to PCT/CN2009/070438 priority patent/WO2009140870A1/en
Priority to JP2011509843A priority patent/JP5192588B2/en
Priority to EP09749413A priority patent/EP2270776B1/en
Priority to KR1020107024576A priority patent/KR101185472B1/en
Publication of CN101588341A publication Critical patent/CN101588341A/en
Priority to US12/913,245 priority patent/US8457115B2/en
Application granted granted Critical
Publication of CN101588341B publication Critical patent/CN101588341B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/005Correction of errors induced by the transmission channel, if related to the coding algorithm

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Computational Linguistics (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Diaphragms For Electromechanical Transducers (AREA)
  • Special Wing (AREA)
  • Small-Scale Networks (AREA)

Abstract

本发明公开了一种丢帧隐藏的方法,包括:当检测到MDCT系数丢失后,利用所述MDCT系数对应的丢失帧之前的历史信号生成第一合成信号;使用快速反变换算法对所述第一合成信号进行快速IMDCT变换,得到所述丢失的MDCT系数对应的IMDCT系数;利用所述丢失的MDCT系数对应的IMDCT系数,以及与所述IMDCT系数相邻的IMDCT系数进行TDAC处理,得到所述丢失帧对应的信号。相应地,本发明还公开了一种实现丢帧隐藏的装置。实施本发明的一种丢帧隐藏的方法及装置,通过充分利用接收到的部分信号,恢复出高质量的语音信号,提高QoS。

Figure 200810028223

The invention discloses a method for concealing lost frames, which includes: when detecting the loss of MDCT coefficients, using the historical signals before the lost frames corresponding to the MDCT coefficients to generate a first composite signal; Perform fast IMDCT transformation on a synthesized signal to obtain IMDCT coefficients corresponding to the lost MDCT coefficients; use the IMDCT coefficients corresponding to the lost MDCT coefficients and the IMDCT coefficients adjacent to the IMDCT coefficients to perform TDAC processing to obtain the The signal corresponding to the lost frame. Correspondingly, the invention also discloses a device for realizing frame loss concealment. A frame loss concealment method and device implementing the present invention recover high-quality voice signals and improve QoS by making full use of received partial signals.

Figure 200810028223

Description

一种丢帧隐藏的方法及装置Method and device for hiding frame loss

技术领域 technical field

本发明涉及电子通信领域,尤其涉及一种丢帧隐藏的方法及装置。The invention relates to the field of electronic communication, in particular to a method and device for concealing frame loss.

背景技术 Background technique

随着网络技术的发展,通过分组交换网络来传递语音包,进行实时语音通信的应用也日益广泛,例如基于IP的语音通信(Voice Over IP,VoIP)。然而,基于分组交换技术的网络最初并非为需要实时通信的应用设计的,其本身并不是绝对可靠的。在传输的过程中,数据包有可能被丢失,或者可能被延迟传送而超过了播放的时间点而被接收端丢弃,上述两种情况,都被认为是发生了网络丢包。网络丢包对于VoIP所要求的实时性和语音质量来说,都是很大的问题。VoIP的接收端负责将发送端发送过来的语音包解码为可以播放的语音信号,但在有丢包的情况下,如果不对丢失的语音包作补偿,就会使得语音信号变得不连续,并产生噪音信号,进而影响语音通话质量。因此,在实时通信系统中需要健壮的丢包隐藏方法来恢复丢失的数据包,使得在发生网络丢包的情况下仍获得良好的通话质量。With the development of network technology, the application of real-time voice communication through packet switching network to transmit voice packets is becoming more and more extensive, such as IP-based voice communication (Voice Over IP, VoIP). However, networks based on packet-switching technology were not originally designed for applications requiring real-time communication, and are not inherently infallible. During the transmission process, the data packet may be lost, or it may be delayed and discarded by the receiving end after the time point of playback. In the above two cases, it is considered that a network packet loss has occurred. Network packet loss is a big problem for the real-time and voice quality required by VoIP. The receiving end of VoIP is responsible for decoding the voice packets sent by the sending end into playable voice signals, but in the case of packet loss, if the lost voice packets are not compensated, the voice signal will become discontinuous and Noisy signal is generated, which affects the quality of voice calls. Therefore, a robust packet loss concealment method is needed in real-time communication systems to recover lost data packets, so that good call quality can still be obtained in the case of network packet loss.

目前,最为常用的丢包隐藏技术是基于基音重复的丢包隐藏技术,例如国际电信联盟制定的一套语音压缩标准G.711附录I,采用基于基音波形替代的丢包隐藏方法。基音波形替代是一种基于收端的对丢失的音频帧进行补偿的处理技术,它首先利用丢失帧之前的历史信号来计算历史信号的基音周期T0,然后通过重复复制丢失帧之前长度为T0的一段信号来重构丢失帧所对应的信号。如图1所示,帧2为丢失帧,帧长为N,帧1和帧3都是完好帧。假定已经获得历史信号(帧1之前(包括帧1)的信号)所对应的基音周期为T0,对应信号所在区间为区间1;那么就可以把历史信号最后一个基音周期所对应的信号(即区间1对应的信号)重复拷贝到帧2,直至填满,以重构丢失帧所对应的信号。在图1中,需要重复拷贝两个基音周期的信号才能填满丢失帧。At present, the most commonly used packet loss concealment technology is the packet loss concealment technology based on pitch repetition. For example, a set of voice compression standard G.711 Appendix I formulated by the International Telecommunication Union adopts a packet loss concealment method based on pitch waveform substitution. Pitch waveform replacement is a processing technology based on the receiving end to compensate for lost audio frames. It first uses the historical signal before the lost frame to calculate the pitch period T 0 of the historical signal, and then repeats the length of T 0 before the lost frame. A segment of the signal to reconstruct the signal corresponding to the lost frame. As shown in Figure 1, frame 2 is a lost frame with a frame length of N, and frame 1 and frame 3 are both good frames. Assuming that the pitch period corresponding to the historical signal (the signal before frame 1 (including frame 1)) has been obtained is T 0 , and the corresponding interval of the signal is interval 1; then the signal corresponding to the last pitch period of the historical signal (i.e. The signal corresponding to interval 1) is repeatedly copied to frame 2 until it is full, so as to reconstruct the signal corresponding to the lost frame. In Fig. 1, the signal of two pitch periods needs to be copied repeatedly to fill up the lost frame.

然而,如果直接用重复历史信号中最后一个基音的信号作为丢失帧对应的信号,那么在两个基音的相接处会产生波形突变。为保证拼接处的平滑,通常在用历史缓冲区中的最后一个基音周期的信号对丢失帧进行填充之前,要对历史缓冲区最后T0/4的信号进行交叉衰减。如图2所示,所用的窗就是简单的三角窗,其中上升窗对应图2中斜率向上的短划线,下降窗对应图2中斜率向下的短划线。将历史缓冲区最后一个基音周期T0之前的T0/4信号乘以上升窗、将缓冲区最后T0/4的信号乘以下降窗并做叠加处理,然后替换掉历史缓冲区最后T0/4的信号,以保证在进行基音重复时,保证相邻两个基音相接处的平滑过渡。However, if the signal that repeats the last pitch in the historical signal is directly used as the signal corresponding to the lost frame, then a waveform mutation will occur at the junction of the two pitches. In order to ensure the smoothness of the splicing, usually before the lost frame is filled with the signal of the last pitch period in the history buffer, cross-fading is performed on the last T 0 /4 signal of the history buffer. As shown in Figure 2, the window used is a simple triangular window, where the rising window corresponds to the dashed line with an upward slope in Figure 2, and the falling window corresponds to the dashed line with a downward slope in Figure 2. Multiply the T 0 /4 signal before the last pitch period T 0 of the history buffer by the rising window, multiply the signal of the last T 0 /4 of the buffer by the falling window and perform superposition processing, and then replace the last T 0 of the history buffer /4 signal to ensure a smooth transition where two adjacent pitches meet when the pitch is repeated.

在语音通信中,离散余弦变换(Discrete Cosine Transform,DCT)应用于宽带音频编码时,由于带通滤波器的冲击响应为有限长度,产生了所谓的块边界效应,导致会产生很大的噪声,通常采用改进的离散余弦变换(Modified DiscreteCosine Transform,MDCT)来克服这些不足。In speech communication, when the discrete cosine transform (DCT) is applied to wideband audio coding, the impact response of the bandpass filter is limited in length, resulting in the so-called block boundary effect, resulting in a lot of noise. The modified discrete cosine transform (Modified DiscreteCosine Transform, MDCT) is usually used to overcome these shortcomings.

MDCT利用时域混叠抵消(Time Domain Aliasing Cancellation,TDAC)技术来降低“边界效应”。为了求由2N个采样构成的信号的MDCT系数,首先对于输入序列x[n]用本帧的N个取样和之前相邻的一帧信号的N个样点构成2N个样本的一个序列,再定义2N点长的窗函数为h[n],h[n]满足如下条件:MDCT uses Time Domain Aliasing Cancellation (TDAC) technology to reduce "boundary effects". In order to find the MDCT coefficient of a signal composed of 2N samples, first, for the input sequence x[n], use the N samples of this frame and the N samples of the previous adjacent frame signal to form a sequence of 2N samples, and then Define a window function with a length of 2N points as h[n], and h[n] satisfies the following conditions:

h[n]2+h[n+N]2=1(1)h[n] 2 +h[n+N] 2 = 1(1)

例如h[n]可以简单定义为一个正弦窗:For example h[n] can be simply defined as a sine window:

hh [[ nno ]] == sinsin (( nno 22 NN ππ )) -- -- -- (( 22 ))

这使得各窗口中的数据间有50%重叠。x[n]的MDCT系数X[k]及其IMDCT(Inverse Modified Discrete Cosine Transform,改进的离散余弦反变换)系数Y[n]分别定义为:This results in a 50% overlap between the data in each window. The MDCT coefficient X[k] of x[n] and its IMDCT (Inverse Modified Discrete Cosine Transform, improved discrete cosine transform) coefficient Y[n] are defined as:

Xx [[ kk ]] == ΣΣ nno == 00 22 NN -- 11 xx [[ nno ]] ·· hh [[ nno ]] ·· coscos [[ (( 22 kk ++ 11 )) ππ 22 NN ·· (( nno ++ nno 00 )) ]] -- -- -- (( 33 ))

YY [[ nno ]] == 22 NN ·&Center Dot; ΣΣ kk == 00 NN -- 11 Xx [[ kk ]] ·&Center Dot; coscos [[ (( 22 kk ++ 11 )) ππ 22 NN ·&Center Dot; (( nno ++ nno 00 )) ]] -- -- -- (( 44 ))

其中,k=0,...,N-1,n=0,...,2N-1,

Figure GDA0000106808010000024
Among them, k=0,..., N-1, n=0,..., 2N-1,
Figure GDA0000106808010000024

那么重构信号y[n]可由下面的公式,对Y[n]和Y′[n]进行TDAC获得:Then the reconstructed signal y[n] can be obtained by performing TDAC on Y[n] and Y′[n] by the following formula:

y[n]=h[n+N]·Y′[n+N]+h[n]·Y[n]n=0,...,N-1,(5)y[n]=h[n+N]·Y′[n+N]+h[n]·Y[n]n=0, . . . , N-1, (5)

其中,Y′[n]表示在Y[n]之前且相邻的IMDCT系数。Among them, Y'[n] represents the IMDCT coefficients before and adjacent to Y[n].

在编码端,编码器对原始语音信号按公式(3)进行MDCT变换得到X[k],并将X[k]编码后发送给解码端;在解码端,解码端收到编码端发送的MDCT系数后,解码器对收到的MDCT系数X[k]按公式(4)进行IMDCT变换,得到X[k]对应的IMDCT系数Y[n]。At the encoding end, the encoder performs MDCT transformation on the original speech signal according to formula (3) to obtain X[k], and encodes X[k] and sends it to the decoding end; at the decoding end, the decoding end receives the MDCT sent by the encoding end After the coefficients, the decoder performs IMDCT transformation on the received MDCT coefficients X[k] according to formula (4) to obtain the IMDCT coefficients Y[n] corresponding to X[k].

为叙述方便,约定解码器对当前收到的MDCT系数X[k]进行IMDCT变换后得到的IMDCT系数为Y[n],n=0,...,2N-1,在Y[n]之前且相邻的IMDCT系数为Y′[n],n=0,...,2N-1。现以图3为例进行说明,根据上述约定,帧F0和帧F1对应的IMDCT系数为IMDCT1,用Y′[n],n=0,...,2N-1表示;帧F1和F2对应的IMDCT系数为IMDCT2,用Y[n],n=0,...,2N-1表示。在解码端,解码器把这两个IMDCT系数Y[n],n=0,...,2N-1和Y′[n],n=0,...,2N-1,代入到公式(5)中即可得到重构后的信号y[n]。For the convenience of description, it is stipulated that the IMDCT coefficient obtained by the decoder after performing IMDCT transformation on the currently received MDCT coefficient X[k] is Y[n], n=0,...,2N-1, before Y[n] And the adjacent IMDCT coefficients are Y′[n], n=0, . . . , 2N-1. Now take Fig. 3 as an example for illustration. According to the above agreement, the IMDCT coefficient corresponding to frame F0 and frame F1 is IMDCT1, expressed by Y'[n], n=0,...,2N-1; frame F1 and F2 correspond to The IMDCT coefficient of is IMDCT2, represented by Y[n], n=0, . . . , 2N-1. At the decoding end, the decoder puts these two IMDCT coefficients Y[n], n=0,..., 2N-1 and Y'[n], n=0,..., 2N-1, into the formula In (5), the reconstructed signal y[n] can be obtained.

当有MDCT系数丢失时,如图4所示,解码端接收到了帧F2和帧F3对应的MDCT系数MDCT3以及F4和F5对应的MDCT系数MDCT5,但却没有收到帧F3和帧F4所对应的MDCT系数MDCT4,那么解码器端也就不能根据公式(4)得到IMDCT4。因此,对于解码端来讲,它仅收到了IMDCT3的对应F3那部分系数和IMDCT5所对应F4那部分系数,而仅使用IMDCT3和IMDCT5是不能完全恢复帧F3和帧F4对应的信号的。When MDCT coefficients are lost, as shown in Figure 4, the decoder receives the MDCT coefficients MDCT3 corresponding to frames F2 and F3 and the MDCT coefficients MDCT5 corresponding to F4 and F5, but does not receive the MDCT coefficients MDCT5 corresponding to frames F3 and F4. MDCT coefficient MDCT4, then the decoder side can not obtain IMDCT4 according to the formula (4). Therefore, for the decoder, it only receives the coefficients corresponding to F3 of IMDCT3 and the coefficients of F4 corresponding to IMDCT5, and the signals corresponding to frames F3 and F4 cannot be completely recovered by only using IMDCT3 and IMDCT5.

发明人在实现本发明的过程中发现:目前的处理方法,需用帧F2之前(包括F2)的解码后的信号生成丢失帧的信号,并完全抛弃已经收到的IMDCT3中的对应帧F3那部分系数和IMDCT5中的对应帧F4那部分系数。而根据公式(3)和公式(4)中MDCT/IMDCT的定义,并结合公式(5),可知所抛弃的已经收到的IMDCT3的对应帧F3那部分系数和IMDCT5所对应帧F4那部分系数还是包含了可利用信息的;而且,如果设定帧长为L个采样点,那么每连续丢n个MDCT系数,受影响的信号所对应的采样点个数为(n+1)*L。丢失的MDCT系数越多,恢复的信号质量也就越差,用户体验也会越差,服务质量(Quality of Service,QoS)也就得不到保证。The inventor found in the process of realizing the present invention: the current processing method needs to use the decoded signal before the frame F2 (including F2) to generate the signal of the lost frame, and completely discard the corresponding frame F3 in the received IMDCT3. Part of the coefficients and that part of the coefficients corresponding to frame F4 in IMDCT5. According to the definition of MDCT/IMDCT in formula (3) and formula (4), and in conjunction with formula (5), it can be seen that the corresponding frame F3 coefficient of the received IMDCT3 and the corresponding frame F4 coefficient of IMDCT5 discarded It still contains usable information; moreover, if the frame length is set to L sampling points, then for every n MDCT coefficients lost continuously, the number of sampling points corresponding to the affected signal is (n+1)*L. The more MDCT coefficients are lost, the worse the quality of the recovered signal will be, the worse the user experience will be, and the quality of service (Quality of Service, QoS) will not be guaranteed.

发明内容 Contents of the invention

本发明实施例在于一种丢帧隐藏的方法及装置,充分利用接收到的部分信号,恢复出高质量的语音信号,提高QoS。The embodiment of the present invention is a method and device for concealing frame loss, which fully utilizes part of the received signals to restore high-quality voice signals and improve QoS.

一方面,本发明实施例提出了一种丢帧隐藏的方法,包括:On the one hand, the embodiment of the present invention proposes a frame loss concealment method, including:

当检测到MDCT系数丢失时,利用所述MDCT系数对应的丢失帧之前的历史信号生成第一合成信号;When it is detected that the MDCT coefficient is lost, using the historical signal before the lost frame corresponding to the MDCT coefficient to generate a first composite signal;

对所述第一合成信号进行快速IMDCT变换,得到所述丢失的MDCT系数对应的IMDCT系数,IMDCT系数计算公式如下;Carry out fast IMDCT transformation to described first synthetic signal, obtain the IMDCT coefficient corresponding to described lost MDCT coefficient, IMDCT coefficient calculation formula is as follows;

YY [[ nno ]] == hh [[ nno ]] ·&Center Dot; xx ′′ [[ nno ]] -- hh [[ NN -- nno -- 11 ]] ·· xx ′′ [[ NN -- nno -- 11 ]] nno == 00 ,, .. .. .. ,, NN -- 11 hh [[ nno ]] ·&Center Dot; xx ′′ [[ nno ]] ++ hh [[ 33 NN -- nno -- 11 ]] ·&Center Dot; xx ′′ [[ 33 NN -- nno -- 11 ]] nno == NN ,, .. .. .. ,, 22 NN -- 11

其中,Y[n]表示所述丢失的MDCT系数对应的IMDCT系数,h[n]表示窗函数,x′[n]表示所述第一合成信号,N为帧长;Wherein, Y[n] represents the IMDCT coefficient corresponding to the lost MDCT coefficient, h[n] represents a window function, x'[n] represents the first composite signal, and N is the frame length;

利用所述丢失的MDCT系数对应的IMDCT系数,以及与所述IMDCT系数相邻的IMDCT系数进行TDAC处理,得到所述丢失帧对应的信号。The IMDCT coefficient corresponding to the lost MDCT coefficient and the IMDCT coefficient adjacent to the IMDCT coefficient are used to perform TDAC processing to obtain a signal corresponding to the lost frame.

另一方面,本发明实施例提出了一种实现丢帧隐藏的装置,包括:On the other hand, an embodiment of the present invention proposes a device for implementing frame loss concealment, including:

合成信号生成模块,用于当检测到MDCT系数丢失时,利用所述MDCT系数对应的丢失帧之前的历史信号生成所述第一合成信号;A composite signal generation module, configured to generate the first composite signal using the historical signal before the lost frame corresponding to the MDCT coefficient when the loss of the MDCT coefficient is detected;

快速IMDCT计算模块,用于对所述第一合成信号进行快速反MDCT变换IMDCT变换,得到所述丢失的MDCT系数对应的IMDCT系数,所述快速IMDCT计算模块计算得到的丢失的MDCT系数对应的IMDCT系数的计算公式为:A fast IMDCT calculation module, configured to perform fast inverse MDCT transformation IMDCT transformation on the first composite signal to obtain the IMDCT coefficients corresponding to the lost MDCT coefficients, and the IMDCT corresponding to the lost MDCT coefficients calculated by the fast IMDCT calculation module The formula for calculating the coefficient is:

YY [[ nno ]] == hh [[ nno ]] ·&Center Dot; xx ′′ [[ nno ]] -- hh [[ NN -- nno -- 11 ]] ·&Center Dot; xx ′′ [[ NN -- nno -- 11 ]] nno == 00 ,, .. .. .. ,, NN -- 11 hh [[ nno ]] ·· xx ′′ [[ nno ]] ++ hh [[ 33 NN -- nno -- 11 ]] ·· xx ′′ [[ 33 NN -- nno -- 11 ]] nno == NN ,, .. .. .. ,, 22 NN -- 11

其中,Y[n]表示所述丢失的MDCT系数对应的IMDCT系数,h[n]表示窗函数,x′[n]表示所述第一合成信号,N为帧长;Wherein, Y[n] represents the IMDCT coefficient corresponding to the lost MDCT coefficient, h[n] represents a window function, x'[n] represents the first composite signal, and N is the frame length;

TDAC模块,用于利用所述丢失的MDCT系数对应的IMDCT系数,以及与所述IMDCT系数相邻的IMDCT系数进行TDAC处理,得到所述丢失帧对应的信号。The TDAC module is configured to use the IMDCT coefficient corresponding to the lost MDCT coefficient and the IMDCT coefficient adjacent to the IMDCT coefficient to perform TDAC processing to obtain a signal corresponding to the lost frame.

实施本发明实施例提出的一种丢帧隐藏的方法及装置,通过充分利用接收到的部分信号,恢复出高质量的语音信号,提高QoS。Implementing a method and device for concealing frame loss proposed by the embodiment of the present invention recovers high-quality voice signals and improves QoS by making full use of part of the received signals.

附图说明 Description of drawings

图1是目前的一种基于基音重复的丢包隐藏技术进行信号填充的示意图;FIG. 1 is a schematic diagram of a current packet loss concealment technology based on pitch repetition for signal filling;

图2是目前的一种对基音缓冲区中信号进行平滑处理的示意图Figure 2 is a current schematic diagram of smoothing the signal in the pitch buffer

图3是现有技术MDCT/IMDCT系数与信号帧对应关系示意图;3 is a schematic diagram of the corresponding relationship between MDCT/IMDCT coefficients and signal frames in the prior art;

图4是现有技术发生丢包时编码器发送和解码器接收并解码后信号的对照图;Fig. 4 is a comparison diagram of signals sent by the encoder and received and decoded by the decoder when packet loss occurs in the prior art;

图5是本发明实施例的一种丢帧隐藏的方法的流程图;FIG. 5 is a flow chart of a method for concealing frame loss according to an embodiment of the present invention;

图6是图5所述的步骤S1的详细流程图;Fig. 6 is the detailed flowchart of step S1 described in Fig. 5;

图7是本发明实施例中基于基音重复生成第一合成信号的示意图;7 is a schematic diagram of generating a first composite signal based on pitch repetition in an embodiment of the present invention;

图8是本发明实施例中基于基音重复生成第一合成信号的示意图;8 is a schematic diagram of generating a first composite signal based on pitch repetition in an embodiment of the present invention;

图9是本发明实施例中基于基音重复生成第一合成信号的示意图;9 is a schematic diagram of generating a first composite signal based on pitch repetition in an embodiment of the present invention;

图10是本发明实施例中基于基音重复生成第一合成信号的示意图;10 is a schematic diagram of generating a first composite signal based on pitch repetition in an embodiment of the present invention;

图11是本发明实施例的一种实现丢包隐藏的装置的结构示意图;FIG. 11 is a schematic structural diagram of a device for implementing packet loss concealment according to an embodiment of the present invention;

图12是图11所述合成信号生成模块的结构示意图。FIG. 12 is a schematic structural diagram of the synthetic signal generation module described in FIG. 11 .

具体实施方式 Detailed ways

下面结合附图详细叙述本发明实施例提出的一种丢帧隐藏的方法及装置的技术方案。A technical solution of a frame loss concealment method and device proposed in the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

参考图5,图示了本发实施例的一种丢帧隐藏的方法的流程图。为叙述方便,需结合图4,解码端接收到了帧F2和帧F3对应的MDCT系数MDCT3以及F4和F5对应的MDCT系数MDCT5,但却没有收到帧F3和帧F4所对应的MDCT系数MDCT4,解码器这端处理具体步骤包括:Referring to FIG. 5 , it illustrates a flow chart of a frame loss concealment method according to an embodiment of the present invention. For the convenience of description, in combination with Fig. 4, the decoder receives the MDCT coefficient MDCT3 corresponding to frame F2 and frame F3 and the MDCT coefficient MDCT5 corresponding to F4 and F5, but does not receive the MDCT coefficient MDCT4 corresponding to frame F3 and frame F4. The specific steps of the decoder side processing include:

S1,当解码器检测到MDCT系数丢失之后,利用所述MDCT系数对应的丢失帧之前的历史信号生成第一合成信号;在本例中,MDCT4对应的丢失帧为帧F3和帧F4,历史信号对应帧F2及帧F2之前的帧的信号;S1, when the decoder detects that the MDCT coefficient is lost, use the historical signal before the lost frame corresponding to the MDCT coefficient to generate the first composite signal; in this example, the lost frames corresponding to MDCT4 are frame F3 and frame F4, and the historical signal Signals corresponding to the frame F2 and the frame before the frame F2;

S2,使用快速反变换算法对所述第一合成信号进行快速IMDCT变换,得到所述丢失的MDCT系数对应的IMDCT系数;S2. Perform fast IMDCT transformation on the first synthesized signal by using a fast inverse transform algorithm to obtain IMDCT coefficients corresponding to the lost MDCT coefficients;

S3,利用所述丢失的MDCT系数对应的IMDCT系数,以及与所述IMDCT系数相邻的IMDCT系数进行TDAC处理,得到所述丢失的MDCT系数对应的丢失帧对应的信号。S3. Perform TDAC processing by using the IMDCT coefficient corresponding to the lost MDCT coefficient and the IMDCT coefficient adjacent to the IMDCT coefficient to obtain a signal corresponding to the lost frame corresponding to the lost MDCT coefficient.

在具体实施时,如图6所示,同时结合图4和图7,在步骤S1中,所述利用所述MDCT系数对应的丢失帧之前的历史信号生成第一合成信号具体包括:During specific implementation, as shown in FIG. 6, in conjunction with FIG. 4 and FIG. 7, in step S1, the generation of the first composite signal using the historical signal before the lost frame corresponding to the MDCT coefficient specifically includes:

S101,获取所述丢失帧之前的历史信号对应的基音周期T0S101. Obtain the pitch period T 0 corresponding to the historical signal before the lost frame;

S102,将历史信号最后一个长度为T0的信号复制到基音缓冲区PB0S102, copying the signal whose last length is T 0 of the historical signal to the pitch buffer PB 0 ;

S103,将所述历史信号最后5T0/4开始,长度为T0/4的信号乘上一个上升窗后的信号与从基音缓冲区中3T0/4处开始,长度为T0/4的信号乘上一个下降窗后的信号做交叉衰减处理,并将交叉衰减处理得到的信号替换所述基音缓冲区中3T0/4处开始,长度也为T0/4的信号;S103. Multiply the historical signal starting from 5T 0 /4 at the end and having a length of T 0 /4 by multiplying the signal after a rising window with the signal starting from 3T 0 /4 in the pitch buffer and having a length of T 0 /4 The signal is multiplied by a signal after a drop window for cross-fading processing, and the signal obtained by the cross-fading processing is replaced with a signal starting at 3T 0 /4 in the pitch buffer and having a length of T 0 /4;

需要说明的是,这里无需对历史信号的最后T0/4信号进行更新,因为帧F3仍有部分有效信号,而在靠近丢失帧末尾的部分信号与原始信号是比较接近的,根据叠加抵消的性质,不需要对历史信号的末尾进行交叉衰减。It should be noted that there is no need to update the last T 0 /4 signal of the historical signal here, because frame F3 still has some effective signals, and the part of the signal near the end of the lost frame is relatively close to the original signal, according to the superposition offset nature, there is no need to cross-fade the tail of the historical signal.

S104,利用所述基音缓冲区中长度为T0的信号生成第一合成信号,即:受MDCT4丢失而影响的帧F3和F4对应的信号x′[n]。S104, using the signal with length T0 in the pitch buffer to generate a first composite signal, that is, signals x'[n] corresponding to frames F3 and F4 affected by MDCT4 loss.

设基音缓冲区中的信号用p0[x],x=0,...,T0-1表示,按照公式(6)进行合成得到x′[n]:Assuming that the signal in the pitch buffer is represented by p 0 [x], x=0, ..., T 0 -1, it is synthesized according to formula (6) to obtain x′[n]:

x′[n]=p0[n%T0],n=0,1,2,...,2N-1(6)x'[n]=p 0 [n%T 0 ], n=0, 1, 2, . . . , 2N-1 (6)

其中,N为非负整数,表示帧长。Wherein, N is a non-negative integer, indicating the frame length.

同时,初始化相位doffset的初始值为0,合成两帧信号后,对所述相位按照公式(7)进行更新:At the same time, the initial value of the initial phase d offset is 0, and after synthesizing two frames of signals, the phase is updated according to the formula (7):

doffset=2N%T0(7)d offset = 2N% T 0 (7)

需要说明的是,当有MDCT系数连续丢失时,则重复使用公式(8)合成丢失帧的信号x′[n]:It should be noted that when MDCT coefficients are continuously lost, the signal x′[n] of the lost frame is synthesized by repeatedly using formula (8):

x′[n]=p0[(n+doffset)%T0],n=0,1,2,...,N-1(8)x'[n]=p 0 [(n+d offset )%T 0 ], n=0, 1, 2, . . . , N-1(8)

生成合成信号x′[n]后,对相位doffset按公式(9)进行更新:After the synthetic signal x′[n] is generated, the phase d offset is updated according to formula (9):

doffset=(doffset+N)%T0,(9)d offset = (d offset + N)% T 0 , (9)

其中,N表示帧长,doffset表示相位。Among them, N represents the frame length, and d offset represents the phase.

在本发明实施例中,利用所述MDCT系数对应的丢失帧之前的历史信号生成第一合成信号的步骤进一步包括:In the embodiment of the present invention, the step of using the historical signal before the lost frame corresponding to the MDCT coefficient to generate the first composite signal further includes:

利用所述丢失帧之后的至少一个MDCT系数对所述第一合成信号进行校正,即:利用丢失帧之后收到的完好信号一起生成x′[n],获得质量更好的信号。具体实施方式包括两种:Correcting the first synthesized signal by using at least one MDCT coefficient after the lost frame, that is, using the received intact signal after the lost frame to generate x′[n] together to obtain a signal with better quality. The specific implementation method includes two kinds:

实施方式一、利用丢失帧之后仅有1个MDCT系数对所述第一合成信号进行校正:Embodiment 1: The first composite signal is corrected by using only one MDCT coefficient after the lost frame:

首先采用图6所述的步骤S1的方式合成帧F3、帧F4和帧F5对应的信号x′[n],n=0,...,3N-1;然后,对x′[n]进行相位同步,如图8所示。由于只有一个MDCT系数对应的IMDCT系数可以利用,而且该IMDCT系数相对于原始信号是有损伤的信号,但根据加窗函数的特点,在帧F4和帧F5相接位置附近的有限个采样点与原始信号的幅度是很接近的,因此,可以利用这些有限个采样点来对合成的信号做相位同步,具体为:First adopt the method of step S1 described in Fig. 6 to synthesize the signal x'[n] corresponding to frame F3, frame F4 and frame F5, n=0,...,3N-1; then, perform x'[n] Phase synchronization, as shown in Figure 8. Since only one MDCT coefficient corresponding to the IMDCT coefficient can be used, and the IMDCT coefficient is a damaged signal relative to the original signal, but according to the characteristics of the windowing function, the limited number of sampling points near the junction of the frame F4 and the frame F5 and The amplitude of the original signal is very close, therefore, these limited sampling points can be used to synchronize the phase of the synthesized signal, specifically:

以帧F5对应的IMDCT系数的起始采样点为中点,两边各取M个样点做为固定模版窗来与信号x′[n]做波形匹配,使用公式(10)获得相位差d,Take the starting sampling point of the IMDCT coefficient corresponding to frame F5 as the midpoint, take M sampling points on both sides as a fixed template window to do waveform matching with the signal x′[n], and use the formula (10) to obtain the phase difference d,

dd == argarg (( minmin (( ΣΣ jj == -- Mm Mm || xx ′′ [[ 22 NN ++ jj ++ ii ]] -- ythe y ′′ [[ NN ++ jj ++ ii ]] || )) )) ii == -- RR ,, .. .. .. ,, RR -- -- -- (( 1010 ))

其中,[-R,R]为相位差允许的范围,y′[n],n=0,...,2N-1为IMDCT5系数Y[n],n=0,...,2N-1按公式(11)加窗后的得到的有损信号,即:Among them, [-R, R] is the allowable range of the phase difference, y'[n], n=0,..., 2N-1 is the IMDCT5 coefficient Y[n], n=0,..., 2N- 1 The lossy signal obtained after windowing according to formula (11), namely:

y′[n]=h[n]·Y[n],n=0,...,2N-1;(11)y'[n]=h[n]·Y[n], n=0,...,2N-1; (11)

然后按照公式(12)对合成信号进行调整,得到第二合成信号x″[n],n=0,...,2N-1:Then adjust the synthetic signal according to formula (12), obtain the second synthetic signal x″[n], n=0,...,2N-1:

xx &prime;&prime; &prime;&prime; [[ nno ]] == xx &prime;&prime; [[ nno ++ dd ]] dd >> == 00 ,, nno == 00 ,, .. .. .. ,, 22 NN -- 11 xx &prime;&prime; [[ nno -- dd ]] nno >> == || dd || 00 nno << || dd || dd << 00 ,, nno == 00 ,, .. .. .. ,, 22 NN -- 11 -- -- -- (( 1212 ))

最后,利用下述公式对x′[n]和x″[n]进行交叉衰减,并将交叉衰减后的信号替换x′[n]:Finally, use the following formula to perform cross-fading on x′[n] and x″[n], and replace x′[n] with the cross-faded signal:

x &prime; [ n ] = 2 N - n 2 N + 1 &CenterDot; x &prime; [ n ] + n 2 N + 1 &CenterDot; x &prime; &prime; [ n ] n=0,..,2N-1(13) x &prime; [ no ] = 2 N - no 2 N + 1 &CenterDot; x &prime; [ no ] + no 2 N + 1 &Center Dot; x &prime; &prime; [ no ] n=0, . . . , 2N-1(13)

在实施方式一中,利用了有限个采样点来做相位匹配,如果丢失帧后有多个MDCT系数可以利用时,则可以利用解码后的完好信号来做相位匹配。In Embodiment 1, a limited number of sampling points are used for phase matching, and if multiple MDCT coefficients are available after a lost frame, the decoded intact signal can be used for phase matching.

实施方式二、利用丢失帧之后连续多个MDCT系数对所述第一合成信号进行校正:Embodiment 2: The first composite signal is corrected by using multiple consecutive MDCT coefficients after the lost frame:

2.1、仅做相位同步2.1, only for phase synchronization

下面以图9为例,对本方法进行详细描述。设z[n],n=0,...,L-1为丢失帧之后的完好信号,L为丢失帧之后可以利用的完好采样点的个数。如图9所示,z[n],n=0,...,L-1对应帧F5之后,包括帧F5的信号。The method is described in detail below by taking FIG. 9 as an example. Let z[n], n=0, . . . , L-1 be the intact signal after the lost frame, and L be the number of intact sampling points that can be used after the lost frame. As shown in FIG. 9 , z[n], n=0, .

首先采用图6所述步骤S1的方法合成帧F3、帧F4和帧F5对应的信号x′[n],n=0,...,3N-1,然后利用z[n]对x′[n]进行相位匹配,获得对应的相位差d,具体为:取z[n]开始一段长度为M的信号模版,然后在x′[n]中的的采样点x′[2N]附近按照公式(14)获得相位差d:First adopt the method of step S1 described in Fig. 6 to synthesize the signal x'[n] corresponding to frame F3, frame F4 and frame F5, n=0,...,3N-1, then use z[n] to x'[ n] for phase matching to obtain the corresponding phase difference d, specifically: take z[n] to start a signal template with a length of M, and then follow the formula (14) Obtain the phase difference d:

dd == argarg (( minmin (( &Sigma;&Sigma; jj == 00 Mm -- 11 || xx &prime;&prime; [[ 22 NN ++ jj ++ ii ]] -- zz [[ jj ]] || )) )) ii == -- RR ,, .. .. .. ,, RR -- -- -- (( 1414 ))

其中,[-R,R]为相位差允许的范围。Among them, [-R, R] is the allowable range of the phase difference.

求得相位差d以后,然后按照公式(12)得到第二合成信号x″[n],n=0,...,2N-1:After obtaining the phase difference d, then obtain the second composite signal x″[n] according to the formula (12), n=0, ..., 2N-1:

最后,利用公式(13)对第一合成信号x′[n]和第二合成信号x″[n]进行交叉衰减,并将交叉衰减后的信号替换x′[n]:Finally, use the formula (13) to perform cross-fading on the first composite signal x′[n] and the second composite signal x″[n], and replace x′[n] with the cross-faded signal:

2.2、仅做后向叠加2.2, only do backward stacking

在长帧的情况下,可以通过现有技术,例如自相关的方法获得当前帧信号z[n],n=0,...,L-1的基音周期T1In the case of a long frame, the pitch period T 1 of the current frame signal z[n], n=0, .

在短帧的情况下,仅使用解码出的信号z[n]不足以获得当前帧所对应信号的基音周期T1,但考虑到在短帧情况下,丢失帧对应的信号在基音周期上不会发生大的变化,因此可以以历史信号的基音周期T0为当前帧对应的基音周期T1的初始值,然后对T1进行微调,得到T1的具体值,具体为:In the case of short frames, only using the decoded signal z[n] is not enough to obtain the pitch period T 1 of the signal corresponding to the current frame, but considering that in the case of short frames, the signal corresponding to the lost frame does not have the pitch period Large changes will occur, so the pitch period T 0 of the historical signal can be used as the initial value of the pitch period T 1 corresponding to the current frame, and then fine-tuned on T 1 to obtain the specific value of T 1 , specifically:

首先初始化T1为基音周期T0,即T1=T0,然后利用平均幅度差函数(AverageMagnitude Difference Function。AMDCF)对T1进行微调,以获得更准确的T1,具体地,使用公式(15)微调T1First initialize T 1 to the pitch period T 0 , that is, T 1 =T 0 , and then use the Average Magnitude Difference Function (AMDCF) to fine-tune T 1 to obtain a more accurate T 1 , specifically, using the formula ( 15) Fine-tuning T 1 :

TT 11 == TT 00 ++ argarg (( minmin (( &Sigma;&Sigma; jj == 00 Mm -- 11 || zz [[ jj ]] -- zz [[ jj ++ TT 00 ++ ii ]] || )) )) ii == -- RR ,, .. .. .. ,, RR -- -- -- (( 1515 ))

其中,R为设定的调整的范围,在8KHZ采样率下建议:R=3Among them, R is the set adjustment range, and it is recommended at 8KHZ sampling rate: R=3

M则为使用AMDF时对应窗口的长度,在本实施例中建议:M is the length of the corresponding window when using AMDF. In this embodiment, it is suggested that:

M=min(T0*0.55,L-T0)(16)M=min(T 0 *0.55, LT 0 ) (16)

z[n]为受影响帧之后收到的完好的信号,L为当丢失帧之后的可用采样点个数。z[n] is the intact signal received after the affected frame, and L is the number of available sampling points after the lost frame.

得到T1后,拷贝z[n]开始T1个样点到基音缓冲区PB1,对基音缓冲区PB1进行初始化。基音缓冲区PB1中的信号用p1[n],n=0,...,T1-1表示,用公式(17)表示初始化基音缓冲区PB1过程如下:After obtaining T 1 , copy the first T 1 samples of z[n] to the pitch buffer PB 1 to initialize the pitch buffer PB 1 . The signal in the pitch buffer PB 1 is represented by p 1 [n], n=0, .

p1[n]=z[n]n=0,...,T1-1(17)p 1 [n]=z[n] n=0, . . . , T 1 -1 (17)

初始化基音缓冲区PB1后,使用后向基音周期重复的方法生成第二合成信号x′′[n],n=0,...,2N-1,具体为:After initializing the pitch buffer PB 1 , use the backward pitch cycle repetition method to generate the second synthetic signal x''[n], n=0,...,2N-1, specifically:

如图10所示,帧F2对应丢失帧F3和丢失帧F4之前最后一个完好帧,帧F3和F4对应因受MDCT系数丢失而受影响的帧,帧F5对应解码器解码出的好帧。在图10中的波形图中上面短划线对应的信号是使用历史信号生成的信号x′[n],下面短划线对应的信号是使用受影响帧之后的完好信号生成的信号x″[n]。为保证后向基音周期重复填充的语音在两个基音周期的拼接处不出现波形突变,在进行后向基音周期重复填充之前,需对帧F5进行平滑处理。所述对帧F5进行平滑处理的具体方法为:As shown in Figure 10, frame F2 corresponds to the last good frame before lost frame F3 and lost frame F4, frames F3 and F4 correspond to frames affected by the loss of MDCT coefficients, and frame F5 corresponds to a good frame decoded by the decoder. In the waveform diagram in Figure 10, the signal corresponding to the upper dashed line is the signal x′[n] generated using the historical signal, and the signal corresponding to the lower dashed line is the signal x″[n] generated using the intact signal after the affected frame n].In order to ensure that the speech of the backward pitch cycle repetition filling does not have a waveform mutation at the splicing place of the two pitch cycles, before carrying out the backward pitch cycle repetition filling, the frame F5 needs to be smoothed. The frame F5 is carried out The specific method of smoothing is:

z[n]中开始长度为T1/4的信号逐个采样点乘上一个上升三角窗,和z[n]中一个基因周期长度起始的长度为T1/4的信号乘上一个下降三角窗之后的信号进行交叉衰减,用交叉衰减后的信号替换基音缓冲区PB1起始长度为T1/4的信号。用公式(18)表示如下:The signal with a starting length of T 1 /4 in z[n] is multiplied by an ascending triangular window one by one, and the signal with a length of T 1 /4 at the beginning of a gene cycle length in z[n] is multiplied by a descending triangle The signal behind the window is cross-faded, and the signal with an initial length of T 1 /4 in the pitch buffer PB 1 is replaced by the cross-faded signal. Expressed by formula (18) as follows:

p 1 [ n ] = T 1 / 4 - n T 1 / 4 + 1 * z [ T 1 + n ] + n T 1 / 4 + 1 * z [ n ] n=0,...,T1/4-1(18) p 1 [ no ] = T 1 / 4 - no T 1 / 4 + 1 * z [ T 1 + no ] + no T 1 / 4 + 1 * z [ no ] n=0, . . . , T 1 /4-1 (18)

对帧F5进行平滑处理后,使用基音缓冲区PB1起始的T1个采样点信号,用基音重复的方法生成信号x″[n],如图10中的三个箭头所示,用公式(19)表示如下:After frame F5 is smoothed, use the signal of T 1 sampling points starting from the pitch buffer PB 1 , and use the pitch repetition method to generate the signal x″[n], as shown by the three arrows in Figure 10, use the formula (19) is expressed as follows:

x″[n]=p1[((T1-2N%T1)+n)%T1],n=0,Λ,2N-1(19)x″[n]=p 1 [((T 1 -2N%T 1 )+n)%T 1 ], n=0, Λ, 2N-1 (19)

最后,将x″[n]和x′[n]进行交叉衰减,并用交叉衰减后的得到的信号,按照公式(13)更新x′[n]。Finally, x″[n] and x′[n] are cross-faded, and the signal obtained after cross-fading is used to update x′[n] according to formula (13).

需要说明的是,当丢失帧之后的可用采样点个数M不足以满足平滑处理的条件时,即T1*1.25<M时,则仅按照方法2.1中的方法对合成的信号做相位同步。It should be noted that when the number M of available sampling points after the lost frame is not enough to meet the smoothing conditions, that is, when T 1 *1.25<M, only the phase synchronization of the synthesized signal is performed according to the method in method 2.1.

上面结合图6-10详细叙述了步骤S1的具体实施方式,下面进一步叙述本发明实施例中,基于上述实施方式得到的信号x′[n],进行快速IMDCT变换,具体地,在所述步骤S2中,根据MDCT和IMDCT系数的性质,可以使用下述公式快速得到所述丢失帧对应的IMDCT系数为:The specific implementation of step S1 has been described in detail above in conjunction with FIGS. 6-10 . The following further describes in the embodiment of the present invention, based on the signal x′[n] obtained in the above implementation, fast IMDCT transformation is performed. Specifically, in the step In S2, according to the properties of MDCT and IMDCT coefficients, the following formula can be used to quickly obtain the IMDCT coefficients corresponding to the lost frame as:

YY [[ nno ]] == hh [[ nno ]] &CenterDot;&Center Dot; xx &prime;&prime; [[ nno ]] -- hh [[ NN -- nno -- 11 ]] &CenterDot;&Center Dot; xx &prime;&prime; [[ NN -- nno -- 11 ]] nno == 00 ,, .. .. .. ,, NN -- 11 hh [[ nno ]] &CenterDot;&Center Dot; xx &prime;&prime; [[ nno ]] ++ hh [[ 33 NN -- nno -- 11 ]] &CenterDot;&Center Dot; xx &prime;&prime; [[ 33 NN -- nno -- 11 ]] nno == NN ,, .. .. .. ,, 22 NN -- 11 -- -- -- (( 2020 ))

其中,Y[n]表示所述丢失的MDCT系数对应的IMDCT系数,x′[n]表示所述第一合成信号,N为帧长。Wherein, Y[n] represents the IMDCT coefficient corresponding to the lost MDCT coefficient, x'[n] represents the first synthesized signal, and N is the frame length.

在具体实施时,所述步骤S3,利用所述丢失的MDCT系数对应的IMDCT系数,以及与所述IMDCT系数相邻的IMDCT系数进行时域混叠抵消TDAC处理,得到所述丢失帧对应的信号具体包括:During specific implementation, the step S3 uses the IMDCT coefficients corresponding to the lost MDCT coefficients and the IMDCT coefficients adjacent to the IMDCT coefficients to perform time-domain aliasing cancellation TDAC processing to obtain the signal corresponding to the lost frame Specifically include:

按照公式(5)进行叠加处理得到所述丢失帧对应的信号;Perform superposition processing according to formula (5) to obtain the signal corresponding to the lost frame;

其中,y[n]表示丢失的MDCT系数对应的一个丢失帧所对应的信号,h[n]表示用于TDAC处理的窗函数,Y[n]表示所述丢失的MDCT系数对应的IMDCT系数,则Y′[n+N]表示与Y[n]相邻的,Y[n]之前的IMDCT系数。Wherein, y[n] represents the signal corresponding to a lost frame corresponding to the lost MDCT coefficient, h[n] represents the window function used for TDAC processing, and Y[n] represents the IMDCT coefficient corresponding to the lost MDCT coefficient, Then Y'[n+N] represents the IMDCT coefficients adjacent to Y[n] and before Y[n].

在本发明实施例中,利用步骤S2得到的IMDCT4的前N个系数和INMDCT3的后N个系数进行叠加,得到帧F3对应的信号y1[n]为:In the embodiment of the present invention, the first N coefficients of IMDCT4 obtained in step S2 and the last N coefficients of INMDCT3 are superimposed, and the signal y 1 [n] corresponding to frame F3 is obtained as follows:

y1[n]=h[n+N]·Y1′[n+N]+h[n]·Y1[n]n=0,...,N-1,y 1 [n]=h[n+N]·Y 1 '[n+N]+h[n]·Y 1 [n]n=0, . . . , N-1,

Y1[n]=h[n]·x′[n]-h[N-n-1]·x′[N-n-1]n=0,..,N-1;Y 1 [n]=h[n] x'[n]-h[Nn-1] x'[Nn-1]n=0,..,N-1;

其中,Y1[n]表示帧F3对应的IMDCT系数(即IMDCT4的前N个系数),Y1′[n+N]表示所述帧F2对应的IMDCT系数(即IMDCT3的后N个系数),N表示帧长;Among them, Y 1 [n] represents the IMDCT coefficient corresponding to frame F3 (i.e. the first N coefficients of IMDCT4), Y 1 '[n+N] represents the IMDCT coefficient corresponding to the frame F2 (i.e. the last N coefficients of IMDCT3) , N represents the frame length;

利用步骤S2得到的IMDCT4的后N个系数和IMDCT5的前N个系数进行叠加,得到帧F4的信号y2[n]为:Utilize the last N coefficients of IMDCT4 obtained in step S2 and the first N coefficients of IMDCT5 to superimpose, obtain the signal y 2 [n] of frame F4 as:

y2[n]=h[n+N]·Y2′[n+N]+h[n]·Y2[n]n=N,...,2N-1, y2 [n]=h[n+N]· Y2 '[n+N]+h[n]· Y2 [n]n=N, . . . , 2N-1,

Y2[n]=h[n]·x′[n]-h[3N-n-1]·x′[3N-n-1]n=N,..2N-1;Y 2 [n]=h[n] x'[n]-h[3N-n-1] x'[3N-n-1]n=N, ..2N-1;

其中,Y2[n]表示帧F4对应的IMDCT系数(即IMDCT4的后N个系数),Y2′[n+N]表示帧F5对应的IMDCT系数(IMDCT5的前N个系数),N表示帧长。Among them, Y 2 [n] represents the IMDCT coefficient corresponding to frame F4 (that is, the last N coefficients of IMDCT4), Y 2 ′[n+N] represents the IMDCT coefficient corresponding to frame F5 (the first N coefficients of IMDCT5), and N represents frame length.

有上述可知,通过实施本发明实施例的一种丢帧隐藏的方法,通过采用丢失帧的部分信号以及丢失帧后的完好信号,恢复出丢失帧的信号,充分利用了信号资源,提高了用户体验,保证了QoS。As can be seen from the above, by implementing a method for concealing lost frames in the embodiment of the present invention, the signal of the lost frame is recovered by using the partial signal of the lost frame and the intact signal after the lost frame, which makes full use of the signal resource and improves the user's performance. Experience, guaranteed QoS.

下面结合图11和图12,详细阐述本发明实施例的一种实现丢帧隐藏的装置。A device for implementing frame loss concealment according to an embodiment of the present invention will be described in detail below with reference to FIG. 11 and FIG. 12 .

如图11所示,一种实现丢帧隐藏的装置,包括:As shown in Figure 11, a device for realizing frame loss concealment includes:

合成信号生成模块100,用于当检测到MDCT系数丢失时,利用所述MDCT系数对应的丢失帧之前的历史信号合成所述第一合成信号;The composite signal generating module 100 is configured to synthesize the first composite signal using the historical signal before the lost frame corresponding to the MDCT coefficient when the loss of the MDCT coefficient is detected;

快速IMDCT计算模块200,用于使用快速反变换算法对所述第一合成信号进行快速反MDCT变换IMDCT变换,得到所述丢失的MDCT系数对应的IMDCT系数;The fast IMDCT calculation module 200 is configured to use a fast inverse transform algorithm to perform fast inverse MDCT transform IMDCT transform on the first composite signal to obtain IMDCT coefficients corresponding to the lost MDCT coefficients;

TDAC模块300,用于利用所述丢失的MDCT系数对应的IMDCT系数,以及与所述IMDCT系数相邻的IMDCT系数进行TDAC处理,得到所述丢失帧对应的信号。The TDAC module 300 is configured to use the IMDCT coefficients corresponding to the lost MDCT coefficients and IMDCT coefficients adjacent to the IMDCT coefficients to perform TDAC processing to obtain signals corresponding to the lost frames.

在具体实施时,如图12所示,所述合成信号生成模块100包括:During specific implementation, as shown in FIG. 12, the synthetic signal generation module 100 includes:

获取单元101,用于获取所述丢失帧之前的历史信号以及该历史信号对应的基音周期;An acquisition unit 101, configured to acquire a historical signal before the lost frame and a pitch period corresponding to the historical signal;

复制单元102,用于将获取单元获取的历史信号最后一个长度为基音周期的信号复制到基音缓冲区;The copying unit 102 is used to copy the last signal whose length is the pitch period of the historical signal acquired by the acquiring unit to the pitch buffer;

基音缓冲区单元103,用于缓存所述复制单元复制的一个基音周期长度的信号;a pitch buffer unit 103, configured to buffer a signal of a pitch cycle length copied by the copying unit;

交叉衰减单元104,用于将所述历史信号最后5T0/4开始,长度为T0/4的信号乘上一个上升窗后的信号与从基音缓冲区中3T0/4处开始,长度为T0/4的信号乘上一个下降窗后的信号做交叉衰减处理,并将交叉衰减处理得到的信号替换所述基音缓冲区中3T0/4处开始,长度也为T0/4的信号,其中T0表示所述基音周期;The cross-fading unit 104 is used to multiply the signal after the last 5T 0 /4 of the historical signal with a length of T 0 /4 by the signal after a rising window and start at 3T 0 /4 in the pitch buffer, and the length is The signal of T 0 /4 is multiplied by the signal after a drop window for cross-fading processing, and the signal obtained by the cross-fading processing is replaced with the signal starting at 3T 0 /4 in the pitch buffer and having a length of T 0 /4 , where T 0 represents the pitch period;

合成处理单元105,用于根据所述基音缓冲区中长度为T0的信号,采用基音重复的方法生成第一合成信号。The synthesis processing unit 105 is configured to generate a first synthesized signal by using a pitch repetition method according to the signal with a length T0 in the pitch buffer.

其中,所述第一合成信号为:Wherein, the first synthetic signal is:

x′[n]=p0[n%T0],n=0,1,2,...,2N-1,x'[n]=p 0 [n%T 0 ], n=0, 1, 2, . . . , 2N-1,

其中,p0[x],x=0,...,T0-1表示基音缓冲区中的信号,其中,T0表示所述基音周期,N为表示帧长。Wherein, p 0 [x], x=0, . . . , T 0 -1 represents the signal in the pitch buffer, wherein T 0 represents the pitch period, and N represents the frame length.

当检测到连续丢失MDCT系数时,所述第一合成信号为:When detecting continuous loss of MDCT coefficients, the first composite signal is:

x′[n]=p0[(n+doffset)%T0],n=0,1,2,...,N-1,x'[n]=p 0 [(n+d offset )% T 0 ], n=0, 1, 2, . . . , N-1,

doffset=(doffset+N)%T0d offset = (d offset + N)% T 0 ,

其中,T0表示所述基音周期,N表示帧长,doffset表示相位,其初始值为0。Wherein, T 0 represents the pitch period, N represents the frame length, d offset represents the phase, and its initial value is 0.

在具体实施时,所述合成信号生成模块100进一步包括:During specific implementation, the synthetic signal generating module 100 further includes:

校正单元106,用于利用所述丢失帧之后的至少一个MDCT系数对所述合成处理单元105合成的第一合成信号进行校正,具体包括两种实施方式:利用丢失帧之后仅有1个MDCT系数进行校正;利用丢失帧之后连续多个MDCT系数进行校正,上述结合图8-10进行了详细阐述,这里不再赘述。The correction unit 106 is configured to use at least one MDCT coefficient after the lost frame to correct the first synthesized signal synthesized by the synthesis processing unit 105, specifically including two implementation modes: using only one MDCT coefficient after the lost frame Perform correction; perform correction by using multiple consecutive MDCT coefficients after the lost frame, which has been described in detail above in conjunction with FIGS. 8-10 , and will not be repeated here.

在具体实施时,快速IMDCT计算模块200使用快速反变换算法对所述第一合成信号进行快速反MDCT变换IMDCT变换,得到所述丢失的MDCT系数对应的IMDCT系数为:During specific implementation, the fast IMDCT calculation module 200 uses a fast inverse transform algorithm to perform fast inverse MDCT transform IMDCT transform on the first composite signal, and obtain the IMDCT coefficients corresponding to the lost MDCT coefficients as:

YY [[ nno ]] == hh [[ nno ]] &CenterDot;&Center Dot; xx &prime;&prime; [[ nno ]] -- hh [[ NN -- nno -- 11 ]] &CenterDot;&Center Dot; xx &prime;&prime; [[ NN -- nno -- 11 ]] nno == 00 ,, .. .. .. ,, NN -- 11 hh [[ nno ]] &CenterDot;&CenterDot; xx &prime;&prime; [[ nno ]] ++ hh [[ 33 NN -- nno -- 11 ]] &CenterDot;&CenterDot; xx &prime;&prime; [[ 33 NN -- nno -- 11 ]] nno == NN ,, .. .. .. ,, 22 NN -- 11

x′[n]表示所述第一合成信号,N为帧长。x'[n] represents the first composite signal, and N is the frame length.

在具体实施时,TDAC模块300利用所述丢失的MDCT系数对应的IMDCT系数,以及与所述IMDCT系数相邻的IMDCT系数进行TDAC处理,得到所述丢失的MDCT系数对应的丢失帧对应的信号为:During specific implementation, the TDAC module 300 uses the IMDCT coefficients corresponding to the lost MDCT coefficients and the IMDCT coefficients adjacent to the IMDCT coefficients to perform TDAC processing, and obtains the signal corresponding to the lost frame corresponding to the lost MDCT coefficients as :

y[n]=h[n+N]·Y′[n+N]+h[n]·Y[n]n=0,...,N-1y[n]=h[n+N]·Y′[n+N]+h[n]·Y[n]n=0,...,N-1

其中,h[n]表示用于TDAC处理的窗函数,Y[n]表示所述丢失的MDCT系数对应的IMDCT系数,则Y′[n+N]表示与Y[n]相邻的前一个IMDCT系数。Among them, h[n] represents the window function used for TDAC processing, Y[n] represents the IMDCT coefficient corresponding to the lost MDCT coefficient, then Y'[n+N] represents the previous one adjacent to Y[n] IMDCT coefficients.

需要说明的是,本领域的普通技术人员应该理解,本发明实施例提出的一种丢帧隐藏的方法可以通过计算机程序、指令或可编程逻辑器件编程实现,并可以将所述程序保存到存储介质上,如:光盘、磁盘等。It should be noted that those of ordinary skill in the art should understand that a frame loss concealment method proposed in the embodiment of the present invention can be realized by programming a computer program, an instruction, or a programmable logic device, and the program can be saved to a memory On media, such as: CD, disk, etc.

由上述实施例可知,根据本发明实施例的一种丢帧隐藏的方法及装置,在叠加模式下,根据MDCT性质,使用低复杂度的快速算法得到合成信号的IMDCT系数,通过充分利用接收到的部分信号,恢复出高质量的语音信号,提高QoS。It can be seen from the above-mentioned embodiments that according to a method and device for concealing frame loss according to the embodiments of the present invention, in the superposition mode, according to the properties of MDCT, the IMDCT coefficients of the synthesized signal are obtained by using a low-complexity fast algorithm, and by making full use of the received part of the signal, restore high-quality voice signals, and improve QoS.

以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也视为本发明的保护范围。The above description is a preferred embodiment of the present invention, and it should be pointed out that for those skilled in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications are also considered Be the protection scope of the present invention.

Claims (6)

1.一种丢帧隐藏的方法,其特征在于,包括:1. A method for frame loss concealment, comprising: 当检测到改进的离散余弦变换MDCT系数丢失后,利用所述MDCT系数对应的丢失帧之前的历史信号生成第一合成信号;When the loss of the improved discrete cosine transform MDCT coefficient is detected, the first composite signal is generated by using the historical signal before the lost frame corresponding to the MDCT coefficient; 对所述第一合成信号进行快速改进的离散余弦反变换IMDCT变换,得到所述丢失的MDCT系数对应的IMDCT系数,IMDCT系数计算公式如下;Inverse discrete cosine transform (IMDCT) transformation is carried out to described first synthesis signal rapidly, obtains the IMDCT coefficient corresponding to the MDCT coefficient of described loss, and the calculation formula of IMDCT coefficient is as follows; YY [[ nno ]] == hh [[ nno ]] &CenterDot;&Center Dot; xx &prime;&prime; [[ nno ]] -- hh [[ NN -- nno -- 11 ]] &CenterDot;&Center Dot; xx &prime;&prime; [[ NN -- nno -- 11 ]] nno == 00 ,, .. .. .. ,, NN -- 11 hh [[ nno ]] &CenterDot;&Center Dot; xx &prime;&prime; [[ nno ]] ++ hh [[ 33 NN -- nno -- 11 ]] &CenterDot;&CenterDot; xx &prime;&prime; [[ 33 NN -- nno -- 11 ]] nno == NN ,, .. .. .. ,, 22 NN -- 11 其中,Y[n]表示所述丢失的MDCT系数对应的IMDCT系数,h[n]表示窗函数,x′[n]表示所述第一合成信号,N为帧长;Wherein, Y[n] represents the IMDCT coefficient corresponding to the lost MDCT coefficient, h[n] represents a window function, x'[n] represents the first composite signal, and N is the frame length; 利用所述丢失的MDCT系数对应的IMDCT系数,以及与所述IMDCT系数相邻的IMDCT系数进行时域混叠抵消TDAC处理,得到所述丢失帧对应的信号。Using the IMDCT coefficients corresponding to the lost MDCT coefficients and IMDCT coefficients adjacent to the IMDCT coefficients to perform time-domain aliasing cancellation TDAC processing to obtain signals corresponding to the lost frames. 2.如权利要求1所述的方法,其特征在于,利用所述MDCT系数对应的丢失帧之前的历史信号生成第一合成信号包括:2. The method according to claim 1, wherein generating the first synthetic signal using the historical signal before the lost frame corresponding to the MDCT coefficient comprises: 获取所述丢失帧之前的历史信号以及该历史信号对应的基音周期;Obtaining a historical signal before the lost frame and a pitch period corresponding to the historical signal; 将所述历史信号最后一个长度为T0的信号复制到基音缓冲区,其中T0表示所述基音周期;Copying the last signal whose length is T 0 of the historical signal to the pitch buffer, where T 0 represents the pitch period; 将所述历史信号最后5T0/4开始,长度为T0/4的信号乘上一个上升窗后得到的信号与从基音缓冲区中3T0/4处开始,长度为T0/4的信号乘上一个下降窗后得到的信号做交叉衰减处理,并将交叉衰减处理得到的信号替换所述基音缓冲区中3T0/4处开始,长度也为T0/4的信号;Multiply the signal obtained by multiplying the signal with a length of T 0 /4 starting at 5T 0 /4 from the last 5T 0 /4 of the historical signal by a rising window and the signal starting at 3T 0 /4 in the pitch buffer and having a length of T 0 /4 The signal obtained after being multiplied by a drop window is subjected to cross-fading processing, and the signal obtained by the cross-fading processing is replaced with a signal starting at 3T 0 /4 in the pitch buffer and having a length of T 0 /4; 利用所述基音缓冲区中长度为T0的信号采用基音重复的方法生成第一合成信号。Using the signal with length T0 in the pitch buffer to generate the first synthesized signal by using pitch repetition. 3.如权利要求2所述的方法,其特征在于,利用所述MDCT系数对应的丢失帧之前的历史信号生成第一合成信号的步骤进一步包括:3. The method according to claim 2, wherein the step of generating the first synthetic signal by using the historical signal before the lost frame corresponding to the MDCT coefficient further comprises: 利用所述丢失帧之后的至少一个MDCT系数对所述合成的第一合成信号进行校正。The synthesized first synthesized signal is corrected using at least one MDCT coefficient following the lost frame. 4.一种实现丢帧隐藏的装置,其特征在于,包括:4. A device for realizing frame loss concealment, comprising: 合成信号生成模块,用于当检测到MDCT系数丢失后,利用所述丢失的MDCT系数对应的丢失帧之前的历史信号生成第一合成信号;A composite signal generating module, configured to generate a first composite signal using the historical signal before the lost frame corresponding to the lost MDCT coefficient when the loss of the MDCT coefficient is detected; 快速IMDCT计算模块,用于对所述第一合成信号进行快速IMDCT变换,得到所述丢失的MDCT系数对应的IMDCT系数,所述快速IMDCT计算模块计算得到的丢失的MDCT系数对应的IMDCT系数的计算公式为:The fast IMDCT calculation module is used to perform fast IMDCT transformation on the first composite signal to obtain the IMDCT coefficients corresponding to the lost MDCT coefficients, and calculate the IMDCT coefficients corresponding to the lost MDCT coefficients calculated by the fast IMDCT calculation module The formula is: YY [[ nno ]] == hh [[ nno ]] &CenterDot;&CenterDot; xx &prime;&prime; [[ nno ]] -- hh [[ NN -- nno -- 11 ]] &CenterDot;&CenterDot; xx &prime;&prime; [[ NN -- nno -- 11 ]] nno == 00 ,, .. .. .. ,, NN -- 11 hh [[ nno ]] &CenterDot;&CenterDot; xx &prime;&prime; [[ nno ]] ++ hh [[ 33 NN -- nno -- 11 ]] &CenterDot;&CenterDot; xx &prime;&prime; [[ 33 NN -- nno -- 11 ]] nno == NN ,, .. .. .. ,, 22 NN -- 11 其中,Y[n]表示所述丢失的MDCT系数对应的IMDCT系数,h[n]表示窗函数,x′[n]表示所述第一合成信号,N为帧长;Wherein, Y[n] represents the IMDCT coefficient corresponding to the lost MDCT coefficient, h[n] represents a window function, x'[n] represents the first composite signal, and N is the frame length; TDAC模块,用于利用所述快速IMDCT计算模块计算得到的IMDCT系数,以及与所述IMDCT系数相邻的IMDCT系数进行TDAC处理,得到所述丢失帧对应的信号。The TDAC module is configured to use the IMDCT coefficients calculated by the fast IMDCT calculation module and the IMDCT coefficients adjacent to the IMDCT coefficients to perform TDAC processing to obtain the signal corresponding to the lost frame. 5.如权利要求4所述的装置,其特征在于,所述合成信号生成模块包括:5. The device according to claim 4, wherein the synthetic signal generation module comprises: 获取单元,用于获取所述丢失帧之前的历史信号以及该历史信号对应的基音周期;an acquisition unit, configured to acquire a historical signal before the lost frame and a pitch period corresponding to the historical signal; 复制单元,用于将获取单元获取的历史信号最后一个长度为基音周期的信号复制到基音缓冲区;The copy unit is used to copy the last signal whose length is the pitch period of the historical signal acquired by the acquisition unit to the pitch buffer; 基音缓冲区单元,用于缓存所述复制单元复制的一个基音周期长度的信号;a pitch buffer unit, configured to buffer a signal of a pitch cycle length copied by the copy unit; 交叉衰减单元,用于将所述历史信号最后5T0/4开始,长度为T0/4的信号乘上一个上升窗后的信号与从基音缓冲区中3T0/4处开始,长度为T0/4的信号乘上一个下降窗后的信号做交叉衰减处理,并将交叉衰减处理得到的信号替换所述基音缓冲区中3T0/4处开始,长度也为T0/4的信号,其中T0表示所述基音周期;The cross-fading unit is used to multiply the signal with a length of T 0 /4 starting from 5T 0 / 4 of the historical signal with the signal after a rising window and the signal starting from 3T 0 /4 in the pitch buffer and having a length of T The signal of 0/4 is multiplied by the signal after a drop window for cross-fading processing, and the signal obtained by the cross-fading processing is replaced with the signal starting at 3T 0/4 in the pitch buffer and having a length of T 0/4 , Wherein T 0 represents the pitch period; 合成处理单元,用于根据所述基音缓冲区中长度为T0的信号采用基音重复的方法生成第一合成信号。A synthesis processing unit, configured to generate a first synthesis signal by using a pitch repetition method according to the signal with a length T0 in the pitch buffer. 6.如权利要求5所述的装置,其特征在于,所述合成信号生成模块进一步包括:6. The device according to claim 5, wherein the synthetic signal generation module further comprises: 校正单元,用于利用所述丢失帧之后的至少一个MDCT系数对所述合成处理单元合成的第一合成信号进行校正。A correction unit, configured to use at least one MDCT coefficient after the lost frame to correct the first composite signal synthesized by the synthesis processing unit.
CN2008100282233A 2008-05-22 2008-05-22 Lost frame hiding method and device thereof Expired - Fee Related CN101588341B (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
CN2008100282233A CN101588341B (en) 2008-05-22 2008-05-22 Lost frame hiding method and device thereof
PCT/CN2009/070438 WO2009140870A1 (en) 2008-05-22 2009-02-16 Method and device for frame loss concealment
JP2011509843A JP5192588B2 (en) 2008-05-22 2009-02-16 Method and apparatus for frame loss concealment
EP09749413A EP2270776B1 (en) 2008-05-22 2009-02-16 Method and device for frame loss concealment
AT09749413T ATE557385T1 (en) 2008-05-22 2009-02-16 METHOD AND DEVICE FOR BRIDGING FRAME LOSS
KR1020107024576A KR101185472B1 (en) 2008-05-22 2009-02-16 Method and device for frame loss concealment
US12/913,245 US8457115B2 (en) 2008-05-22 2010-10-27 Method and apparatus for concealing lost frame

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100282233A CN101588341B (en) 2008-05-22 2008-05-22 Lost frame hiding method and device thereof

Publications (2)

Publication Number Publication Date
CN101588341A CN101588341A (en) 2009-11-25
CN101588341B true CN101588341B (en) 2012-07-04

Family

ID=41339755

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100282233A Expired - Fee Related CN101588341B (en) 2008-05-22 2008-05-22 Lost frame hiding method and device thereof

Country Status (7)

Country Link
US (1) US8457115B2 (en)
EP (1) EP2270776B1 (en)
JP (1) JP5192588B2 (en)
KR (1) KR101185472B1 (en)
CN (1) CN101588341B (en)
AT (1) ATE557385T1 (en)
WO (1) WO2009140870A1 (en)

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012032713A (en) * 2010-08-02 2012-02-16 Sony Corp Decoding apparatus, decoding method and program
JP5637379B2 (en) * 2010-11-26 2014-12-10 ソニー株式会社 Decoding device, decoding method, and program
CN102200963B (en) * 2010-12-28 2013-06-19 上海山景集成电路股份有限公司 Method of fixed-point inverse modified discrete cosine transform for audio decoding
KR101398189B1 (en) * 2012-03-27 2014-05-22 광주과학기술원 Speech receiving apparatus, and speech receiving method
TWI585748B (en) 2012-06-08 2017-06-01 三星電子股份有限公司 Frame error concealment method and audio decoding method
US9053699B2 (en) * 2012-07-10 2015-06-09 Google Technology Holdings LLC Apparatus and method for audio frame loss recovery
KR20150056770A (en) * 2012-09-13 2015-05-27 엘지전자 주식회사 Frame loss recovering method, and audio decoding method and device using same
TWI553628B (en) * 2012-09-24 2016-10-11 三星電子股份有限公司 Frame error concealment method
CN103714821A (en) 2012-09-28 2014-04-09 杜比实验室特许公司 Mixed domain data packet loss concealment based on position
CN103854649B (en) * 2012-11-29 2018-08-28 中兴通讯股份有限公司 A kind of frame losing compensation method of transform domain and device
HUE052041T2 (en) * 2013-02-13 2021-04-28 Ericsson Telefon Ab L M Frame bug fix
CN108364657B (en) 2013-07-16 2020-10-30 超清编解码有限公司 Method and decoder for processing lost frame
CN104299614B (en) 2013-07-16 2017-12-29 华为技术有限公司 Coding/decoding method and decoding apparatus
MX374981B (en) 2013-10-31 2025-03-06 Fraunhofer Ges Forschung AUDIO DECODER AND METHOD FOR PROVIDING DECODED AUDIO INFORMATION USING ERROR CONCEALMENT BASED ON A TIME-DOMAIN EXCITATION SIGNAL
BR122022008602B1 (en) 2013-10-31 2023-01-10 Fraunhofer-Gesellschaft Zur Forderung Der Angewandten Forschung E.V. AUDIO DECODER AND METHOD FOR PROVIDING DECODED AUDIO INFORMATION USING AN ERROR SMOKE THAT MODIFIES AN EXCITATION SIGNAL IN THE TIME DOMAIN
CN103714820B (en) * 2013-12-27 2017-01-11 广州华多网络科技有限公司 Packet loss hiding method and device of parameter domain
CN104021792B (en) * 2014-06-10 2016-10-26 中国电子科技集团公司第三十研究所 A kind of voice bag-losing hide method and system thereof
CN106683681B (en) 2014-06-25 2020-09-25 华为技术有限公司 Method and apparatus for handling lost frames
PH12017500438B1 (en) 2014-07-28 2022-06-01 Samsung Electronics Co Ltd Method and apparatus for packet loss concealment, and decoding method and apparatus employing same
FR3024582A1 (en) 2014-07-29 2016-02-05 Orange MANAGING FRAME LOSS IN A FD / LPD TRANSITION CONTEXT
CN112967727B (en) * 2014-12-09 2024-11-01 杜比国际公司 MDCT domain error concealment
CN106898356B (en) * 2017-03-14 2020-04-14 建荣半导体(深圳)有限公司 Packet loss hiding method and device suitable for Bluetooth voice call and Bluetooth voice processing chip
JP7178506B2 (en) * 2019-02-21 2022-11-25 テレフオンアクチーボラゲット エルエム エリクソン(パブル) Method and Associated Controller for Phase ECU F0 Interpolation Split
CN113838477B (en) * 2021-09-13 2024-08-02 上海兆言网络科技有限公司 Packet loss recovery method and device for audio data packet, electronic equipment and storage medium
CN114295577B (en) * 2022-01-04 2024-04-09 太赫兹科技应用(广东)有限公司 Terahertz detection signal processing method, device, equipment and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1901431A (en) * 2006-07-04 2007-01-24 华为技术有限公司 Lost frame hiding method and device
CN101166071A (en) * 2006-10-19 2008-04-23 北京三星通信技术研究有限公司 Error frame hiding device and method

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3240832B2 (en) * 1994-06-06 2001-12-25 日本電信電話株式会社 Packet voice decoding method
WO1999050828A1 (en) * 1998-03-30 1999-10-07 Voxware, Inc. Low-complexity, low-delay, scalable and embedded speech and audio coding with adaptive frame loss concealment
KR100898879B1 (en) * 2000-08-16 2009-05-25 돌비 레버러토리즈 라이쎈싱 코오포레이션 An audio or video perceptual coding system for modulating one or more parameters in response to side information
FR2813722B1 (en) * 2000-09-05 2003-01-24 France Telecom METHOD AND DEVICE FOR CONCEALING ERRORS AND TRANSMISSION SYSTEM COMPRISING SUCH A DEVICE
US7069208B2 (en) * 2001-01-24 2006-06-27 Nokia, Corp. System and method for concealment of data loss in digital audio transmission
JP2002244685A (en) * 2001-02-22 2002-08-30 Kowa Co Embedding and detecting digital watermarks
JP2004252109A (en) * 2003-02-19 2004-09-09 Matsushita Electric Ind Co Ltd Decoding device and decoding method
JP2004361731A (en) * 2003-06-05 2004-12-24 Nec Corp Audio decoding system and audio decoding method
JP4486387B2 (en) * 2004-03-19 2010-06-23 パナソニック株式会社 Error compensation apparatus and error compensation method
DE602005019559D1 (en) * 2004-05-11 2010-04-08 Nippon Telegraph & Telephone SOUNDPACK TRANSMISSION, SOUNDPACK TRANSMITTER, SOUNDPACK TRANSMITTER AND RECORDING MEDIUM IN WHICH THIS PROGRAM WAS RECORDED
JP4445328B2 (en) * 2004-05-24 2010-04-07 パナソニック株式会社 Voice / musical sound decoding apparatus and voice / musical sound decoding method
CN101203907B (en) * 2005-06-23 2011-09-28 松下电器产业株式会社 Audio encoding apparatus, audio decoding apparatus and audio encoding information transmitting apparatus
US8620644B2 (en) * 2005-10-26 2013-12-31 Qualcomm Incorporated Encoder-assisted frame loss concealment techniques for audio coding
US7805297B2 (en) * 2005-11-23 2010-09-28 Broadcom Corporation Classification-based frame loss concealment for audio signals

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1901431A (en) * 2006-07-04 2007-01-24 华为技术有限公司 Lost frame hiding method and device
CN101166071A (en) * 2006-10-19 2008-04-23 北京三星通信技术研究有限公司 Error frame hiding device and method

Also Published As

Publication number Publication date
JP2011521290A (en) 2011-07-21
EP2270776A4 (en) 2011-05-18
ATE557385T1 (en) 2012-05-15
WO2009140870A1 (en) 2009-11-26
EP2270776A1 (en) 2011-01-05
EP2270776B1 (en) 2012-05-09
US8457115B2 (en) 2013-06-04
CN101588341A (en) 2009-11-25
KR101185472B1 (en) 2012-10-02
KR20110002070A (en) 2011-01-06
US20110044323A1 (en) 2011-02-24
JP5192588B2 (en) 2013-05-08

Similar Documents

Publication Publication Date Title
CN101588341B (en) Lost frame hiding method and device thereof
JP5247878B2 (en) Concealment of transmission error of digital audio signal in hierarchical decoding structure
CN101325537B (en) Method and apparatus for frame-losing hide
JP4162933B2 (en) Signal modification based on continuous time warping for low bit rate CELP coding
CN101471073B (en) Package loss compensation method, apparatus and system based on frequency domain
RU2527760C2 (en) Audio signal decoder, audio signal encoder, representation of encoded multichannel audio signal, methods and software
KR101203244B1 (en) Method for generating concealment frames in communication system
JP5618826B2 (en) ITU. T Recommendation G. Apparatus and method for compensating for frame loss in PCM codec interoperable with 711
JP5072835B2 (en) Robust decoder
CN100550712C (en) A kind of signal processing method and processing unit
CN105793924A (en) Audio decoder and method for providing decoded audio information using error concealment of modified time domain excitation signal
WO2013060223A1 (en) Frame loss compensation method and apparatus for voice frame signal
CN101231849A (en) Method and device for frame error concealment on high-band signal
CN105765651A (en) Audio decoder and method for providing decoded audio information using error concealment based on time domain excitation signal
KR101839571B1 (en) Voice frequency code stream decoding method and device
CN104781876B (en) Audio coding apparatus, audio coding method and audio decoding apparatus, audio-frequency decoding method
US20070219788A1 (en) Pitch prediction for packet loss concealment
AU2013366642A1 (en) Generation of a comfort noise with high spectro-temporal resolution in discontinuous transmission of audio signals
CN105741843A (en) Packet loss compensation method and system based on time delay jitter
CN101616059B (en) Method and device for concealing lost packages
CN101364854B (en) A Voice Packet Loss Recovery Method Based on Side Information
JP2002221994A (en) Method and apparatus for assembling packet of code string of voice signal, method and apparatus for disassembling packet, program for executing these methods, and recording medium for recording program thereon
CN113950719B (en) Time-reversed audio subframe error concealment
Østergaard Low delay robust audio coding by noise shaping, fractional sampling, and source prediction
Florêncio Error-Resilient Coding and

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120704