OA17404A - Frame error concealment. - Google Patents
Frame error concealment. Download PDFInfo
- Publication number
- OA17404A OA17404A OA1201500298 OA17404A OA 17404 A OA17404 A OA 17404A OA 1201500298 OA1201500298 OA 1201500298 OA 17404 A OA17404 A OA 17404A
- Authority
- OA
- OAPI
- Prior art keywords
- frame
- vectors
- frames
- sub
- sign
- Prior art date
Links
- 230000000875 corresponding Effects 0.000 claims abstract description 33
- 238000004590 computer program Methods 0.000 claims description 21
- 230000001052 transient Effects 0.000 claims description 16
- 238000009825 accumulation Methods 0.000 claims description 4
- 238000005516 engineering process Methods 0.000 description 37
- 238000010586 diagram Methods 0.000 description 29
- 230000005236 sound signal Effects 0.000 description 18
- 238000004458 analytical method Methods 0.000 description 10
- 238000000034 method Methods 0.000 description 9
- 238000004891 communication Methods 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 6
- 238000007789 sealing Methods 0.000 description 3
- 230000001934 delay Effects 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 238000002347 injection Methods 0.000 description 2
- 239000007924 injection Substances 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000006011 modification reaction Methods 0.000 description 2
- 230000000051 modifying Effects 0.000 description 2
- 230000003595 spectral Effects 0.000 description 2
- 230000003321 amplification Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000001413 cellular Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000001276 controlling effect Effects 0.000 description 1
- 230000003111 delayed Effects 0.000 description 1
- 235000019800 disodium phosphate Nutrition 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 229920001690 polydopamine Polymers 0.000 description 1
- 239000000243 solution Substances 0.000 description 1
Abstract
A frame error concealment method based on frames including transform coefficient vectors including the following steps : it tracks (S11) sign changes between corresponding transform coefficients of predetermined sub-vectors of consecutive good stationary frames. It accumulates (S12) the number of sign changes in corresponding sub-vectors of a predetermined number of consecutive good stationary frames. It reconstructs (S13) 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.
Description
FRAME ERROR CONCEALMENT
TECHNICAL FIELD
The proposed technology relates to frame error concealment based on frames including transform coefficient vectors.
BACKGROUND
High quality audio transmission may typically utilize transform-based coding schemes. The input audio signal is usually processed in time-blocks called frames of certain size e.g. 20ms. A frame is transformed by a suitable transform, such as e.g. the Modified Discrète Cosine Transform (MDCT), and the transform coefficients are then quantized and transmitted over the network.
However, when an audio codée is operated in a communication system which includes wireless or packet networks, a frame could get lost in the transmission, or arrive too late, in order to be used in a real-time scénario. A similar problem arises when the data within a frame has been corrupted, and the codée may be set to discard such corrupted frames. The above examples are called frame erasure or packet loss, and when it occurs the décoder typically invokes certain algorithms to avoid or reduce the dégradation in audio quality caused by the frame erasure, and such algorithms are called frame erasure (or error) concealment-algorithms (FEC) or packet loss concealment-algorithms (PLC).
Fig. 1 illustrâtes an audio signal input in an encoder 10. A transform to a frequency domain is performed in step S1, a quantization is performed in step S2, and a packetization and transmission of the quantized frequency coefficients (represented by indices) is performed in step S2. The packets are received by a décoder 12 in step S4, after transmission, and the frequency coefficients are reconstructed in step S5, wherein a frame erasure (or error) concealment algorithm is performed, as indicated by an FEC unit 14. The reconstructed frequency coefficients are inverse transformed to the time domain in step S6. Thus, Fig. 1 is a system overview, in which transmission errors are handled at the audio décoder 12 in the process of parameter/waveform reconstruction, and a frame erasure concealment-algorithm performs a reconstruction of lost or corrupt frames.
The purpose of error concealment is to synthesize lost parts of the audio signal that do not arrive or do not arrive on time at the décoder, or are corrupt. When additional delay can be tolerated and/or additional bits are available one could use various powerful FEC concepts that can be based e.g. on interpolating lost frame between two good trames or transmitting essential side information.
However, in a real-time conversational scénario it is typically not possible to introduce additional delay, and rarely possible to increase bit-budget and computational complexity of the algorithm. Three exemplary FEC- approaches for a real-time scénario are the following:
Muting, wherein missing spectral coefficients are set to zéro.
Répétition, wherein coefficients from the last good frame are repeated.
Noise injection, wherein missing spectral coefficients are the output of a random noise generator.
An example of an FEC algorithm that is commonly used by transform-based codées is a frame repeat-algorithm that uses the repetition-approach, and repeats the transform coefficients of the previously received frame, sometimes with a sealing factor, for example as described in [1], The repeated transform coefficients are then used to reconstruct the audio signal for the lost frame. Frame repeat-algorithms and algorithms for inserting noise or silence are attractive algorithms, because they hâve low computational complexity and do not require any extra bits to be transmitted or any extra delay. However, the error concealment may dégradé the reconstructed signal. For example, a muting-based FEC-scheme could create large energy discontinuities and a poor perceived quality, and the use of a noise injection algorithm could lead to négative perceptual impact, especially when applied to a région with prominent tonal components.
Another approach described in [2] involves transmission of side information for reconstruction of erroneous frames by interpolation. A drawback of this method is that it requires extra bandwidth for the side information. For MDCT coefficients without side information available, amplitudes are estimated by interpolation, whereas signs are estimated by using a probabilistic model that requires a large number of past frames (50 are suggested), which may not be available in reality.
A rather complex interpolation method with multiplicative corrections for reconstruction of lost frames is described in [3].
A further drawback of interpolation based frame error concealment methods is that they introduce extra delays (the frame after the erroneous frame has to be received before any interpolation may be attempted) that may not be acceptable in, for example, real-time applications such as conversational applications.
SUMMARY
An object of the proposed technology is improved frame error concealment.
This object is met by embodiments of the proposed technology.
According to a first aspect, there is provided a frame error concealment method based on frames including transform coefficient vectors. The method involves tracking sign changes between corresponding transform coefficients of predetermined sub-vectors of consecutive good stationary frames. The method also involves accumulating the number of sign changes in corresponding sub-vectors of a predetermined number of consecutive good stationary frames. Furthermore, the method involves reconstructing 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.
According to a second aspect, there is provided a computer program for frame error concealment based on frames including transform coefficient vectors. The computer program comprises computer readable code which when run on a processor causes the processor to perform the following actions: It tracks sign changes between corresponding transform coefficients of predetermined sub-vectors of consecutive good stationary frames. It accumulâtes 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.
According to a third aspect, there is provided a computer program product, comprising a computer readable medium and a computer program according to the second aspect stored on the computer readable medium.
According to a fourth aspect, the proposed technology involves an embodiment of a décoder configured for frame error concealment based on frames including transform coefficient vectors. The décoder includes a sign change tracker configured to track sign changes between corresponding transform coefficients of predetermined sub-vectors of consecutive good stationary frames. The décoder further includes a sign change accumulator configured to accumulate the number of sign changes in corresponding sub-vectors of a predetermined number of consecutive good stationary frames. The décoder also includes a frame reconstructor configured to reconstruct 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.
According to a fifth aspect, the proposed technology involves another embodiment of a décoder configured for frame error concealment based on frames încluding transform coefficient vectors. The décoder includes a sign change tracking module for tracking sign changes between corresponding transform coefficients of predetermined sub-vectors of consecutive good stationary frames. The décoder further includes a sign change accumulation module for accumulating the number of sign changes in corresponding sub-vectors of a predetermined number of consecutive good stationary frames. The décoder also includes a frame reconstruction module for reconstructing 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.
According to a sixth aspect, the proposed technology involves a further embodiment of a décoder configured for frame error concealment based on frames încluding transform coefficient vectors. The décoder includes a processor and a memory, where the memory contains instructions exécutable by the processor, whereby the décoder is operative to perform the following actions: It tracks sign changes between corresponding transform coefficients of predetermined sub-vectors of consecutive good stationary frames. It accumulâtes 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.
According to a seventh aspect, the proposed technology involves a user terminal încluding a décoder in accordance with the fourth, fifth or sixth aspect.
At least one of the embodiments is able to improve the subjective audio quality in case of frame loss, frame delay or frame corruption, and this improvement is achieved without transmitting additional side parameters or generating extra delays required by interpolation, and with low complexity and memory requirements.
BRIEF DESCRIPTION OF THE DRAWINGS |
The proposed technology, together with further objects and advantages thereof, may best be understood by making reference to the following description taken together with the accompanying drawings, in which:
Fig. 1 is a diagram illustrating the concept of frame error concealment;
Fig. 2 is a diagram illustrating sign change tracking;
Fig. 3 is a diagram illustrating situations in which sign changes are not considered meaningful;
Fig. 4 is a diagram illustrating frame structure;
Fig. 5 is a diagram illustrating an example of reconstruction of a sub-vector of an erroneous frame;
Fig. 6 is a flow chart illustrating a general embodiment of the proposed method;
Fig. 7 is a block diagram giving an overview of the proposed technology;
Fig. 8 is a block diagram of an example embodiment of a décoder in accordance with the proposed technology;
Fig. 9 is a block diagram of an example embodiment of a décoder in accordance with the proposed technology;
Fig. 10 is a block diagram of an example embodiment of a décoder in accordance with the proposed technology;
Fig. 11 is a block diagram of an example embodiment of a décoder in accordance with the proposed technology;
Fig. 12 is a block diagram of a user terminal; and
Fig. 13 is a diagram illustrating another embodiment of frame error concealment.
DETAILED DESCRIPTION
Throughout the drawings, the same reference désignations are used for similar or corresponding éléments.
The technology proposed herein is generally applicable to Modulated Lapped Transform (MLT) types, for example MDCT, which is the presently preferred transform. In order to simplify the description only the MDCT will be discussed below.
Furthermore, in the description below the terms lost frame, delayed frame, corrupt frame and frames contaîning corrupted data ail represent examples of erroneous frames which are to be reconstructed by the proposed frame error concealment technology. Similarly the term “good frames” will be used to indicate non- erroneous frames.
The use of a frame repeat-algorithm for concealing frame errors in a transform codée which uses the MDCT may cause dégradation in the reconstructed audio signal, due to the fact that in the MDCT-domain, the phase information is conveyed both in the amplitude and in the sign of the MDCT-coefficients. For tonal or harmonie components, the évolution of the corresponding MDCT coefficients in terms of amplitude and sign dépends on the frequency and the initial phase of the underlying tones. The MDCT coefficients for the tonal components in the lost frame may sometimes hâve the same sign and amplitude as in the previous frame, wherein a frame repeatalgorithm will be advantageous. However, sometimes the MDCT coefficients for the tonal components hâve changed sign and/or amplitude in the lost frame, and in those cases the frame repeatalgorithm will not work well. When this happens, the sign-mismatch caused by repeating the coefficients with the wrong sign will cause the energy of the tonal components to be spread out over a larger frequency région, which will resuit in an audible distortion.
The embodîments described herein analyze the sign-changes of MDCT coefficients in previously received frames, e.g. using a sign change tracking algorithm, and use the collected data regarding the sign-change for creating a low complexity FEC algorithm with improved perceptual quality.
Since the problem with phase discontinues is most audible for strong tonal components, and such components will affect a group of several coefficients, the transform coefficients may be grouped into sub-vectors on which the sign-analysis is performed. The analysis according to embodîments described herein also takes into account the signal dynamics, for example as measured by a transient detector, in order to détermine the reliability of past data. The number of sign changes of the transform coefficients may be determined for each sub-vector over a defined number of previously received frames, and this data is used for determining the signs of the transform coefficients in a reconstructed sub-vector. According to embodîments described herein, the sign of ail coefficients in a sub-vector used in a frame repeat algorithm will be switched (reversed), in case the determined number of sign-changes of the transform coefficients in each corresponding subvector over the previously received frames is high, i.e. is equal to or exceeds a defined switching threshold.
Embodîments described herein involve a decoder-based sign extrapolation-algorithm that uses collected data from a sign change tracking algorithm for extrapolating the signs of a reconstructed MDCT vector. The sign extrapolation-algorithm is activated at a frame loss.
The sign extrapolation-algorithm may further keep track of whether the previously received frames (as stored in a memory, i.e. in a décoder buffer) are stationary or if they contain transients, since
Ί the algorithm is only meaningful to perform on stationary frames, i.e. when the signal does not contain transients. Thus, according to an embodiment, the sign of the reconstructed coefficients will be randomized, in case any of the analyzed frames of interest contain a transient.
An embodiment of the sign extrapolation-algorithm is based on sign-analysis over three previously received frames, due to the fact that three frames provide sufficient data in order to achieve a good performance. In case only the last two frames are stationary, the frame n - 3 is discarded. The analysis of the sign-change over two frames is similar to the analysis of the sign-change over three frames, but the threshold level is adapted accordingly.
Fig. 2 is a diagram illustrating sign change tracking. If the recent signal history contains only good frames, the sign change is tracked in three consecutive frames, as illustrated in Fig. 2a. In case of a transient or lost frame, as in Fig. 2b and 2c, the sign change is calculated on the two available frames. The current frame has index “n”, a lost frame is denoted by a dashed box, and a transient frame by a dotted box. Thus, in Fig. 2a the sign tracking région is 3 frames, and in Fig. 2b and 2c the sign tracking région is 2 frames.
Fig. 3 is a diagram illustrating situations in which sign changes are not considered meaningful. In this case one of the last two frames before an erroneous frame n is a transient (or nonstationary) frame. In this case the sign extrapolation algorithm may force a “random” mode for ail sub-vectors of the reconstructed frame.
Tonal or harmonie components in the time-domain audio signal will affect several coefficients in the MDCT domain. A further embodiment captures this behavior in the sign-analysis by determining the number of sign-changes of groups of MDCT coefficients, instead of on the entire vector of MDCT coefficients, such that the MDCT coefficients are grouped into e.g. 4-dimensional bands in which the sign analysis is performed. Since the distortion caused by sign mismatch is most audible in the low frequency région, a further embodiment of the sign analysis is only performed in the frequency range 0-1600 Hz, in order to reduce computational complexity. If the frequency resolution of the MDCT transform used in this embodiment is e.g. 25 Hz per coefficient, the frequency range will consist of 64 coefficients which could be divided into B bands, where B = 16 in this example.
Fig. 4 is a diagram illustrating the frame structure of the above example. A number of consecutive good frames are illustrated. Frame n has been expanded to illustrate that it contains 16 bands or sub-vectors. Band b of frame n has been expanded to illustrate the 4 transform coefficients (l),...,x„(4). The transform coefficients ^(1),...,^,,-1(4) and x„_2(l),...,xn_2(4) of the corresponding sub-vector or band b of frames n-1 and n -2, respectively, are also illustrated.
According to an embodiment, the determining of the number of sign-changes of the transform coefficients in frames received by the décoder is performed by a sign change tracking-algorithm, which is active as long as the décoder receives frames, i.e. as long as there are no frame losses. During this period, the décoder may update two state variables, sn and Δπ for each sub-vector or band b used in the sign analysis, and in the example with 16 sub-vectors there will thus be 32 state variables.
The first state variable sn for each sub-vector or band b holds the number of sign switches between the current frame n and the past frame n-1, and is updated in accordance with (note that here frame n is considered to be a good frame, while frame n in Fig. 2 and 3 was an erroneous frame):
if isTransientn = 0 for b e B far ibeb îf *,A)*Vi(O<° s„(b) = sn(b) + l (D where the index ib indicates coefficients in sub-vector or band b, n is the frame number, and xn is the vector of received quantized transform coefficients.
If the frame n is a transient, which is indicated by the variable isTransientn in (1), the number of sign switches is not relevant information, and will be set to 0 for ali bands.
The variable isTransientn is obtained as a “transient bit” from the encoder, and may be determined on the encoder side as described in [4].
The second state variable Δπ for each sub-vector holds the aggregated number of sign switches between the current frame n and the past frame n -1 and between the past frame n-1 and the frame n - 2, in accordance with:
(2) if isTransientn = 0 for beB
An(Z>) = ^(è) + Vi(è)
The sign extrapolation-algorithm is activated when the décoder does not receive a frame or the frame is bad, i.e. if the data is corrupted.
According to an embodiment, when a frame is lost (erroneous), the décoder first performs a frame repeat-algorithm and copies the transform coefficients from the previous frame into the current frame. Next, the algorithm checks if the three previously received frames contain any transients by checking the stored transient flags for those frames. (However, if any of the last two previously received frames contains transients, there is no useful data in the memory to perform sign analysis on and no sign prédiction is performed, as discussed with reference to Fig. 3).
If at least the two previously received frames are stationary, the sign extrapolation-algorithm compares the number of sign-switches Δη for each band with a defined switching threshold T and switches, or flips, the signs of the corresponding coefficients in the current frame if the number of sign-switches is equal to or exceeds the switching threshold.
According to an embodiment, and under the assumption of 4-dim bands, the level of the switching threshold T dépends on the number of stationary frames in the memory, according to the following:
if 3 stationary frames if 2 stationary frames (3)
The comparison with the threshold T and the potential sign flip/switch for each band is done according to the following (wherein a sign flip or reversai is indicated by -1 ):
for beB far ibeb (4) sign(x„(ib)) +1 if\,(b)>T if\Sb)<T
In this scheme, the extrapolated sign of the transform coefficients in the first lost frame is either switched, or kept the same as in the last good frame. In case there is a sequence of lost frames, in one embodiment the sign is randomized from the second frame.
Table 1 below is a summary of the sign extrapolation-algorithm for concealment of lost frame with index “n”, according to an embodiment (Note that here frame n is considered erroneous, while frame n was considered good in the above équations. Thus, there is an index shift of 1 unit in the table):
Table 1
If any of frames n-1 and n-2 contains transient | Apply random sign to the copied frequency coefficients |
If frames n-1 and n-2 are good, but n-3 is lost or transient frame | Apply sign extrapolation with switching threshold 7=3 |
If ail n-1, n-2, n-3 are good | Apply sign extrapolation with switching threshold 7=6 |
Fig. 5 is a diagram illustrating an example of reconstruction of a sub-vector of an erroneous frame. In this example the sub-vectors from Fig. 4 will be used to illustrate the reconstruction of frame η +1, which is assumed to be erroneous. The 3 frames η, n -1, n - 2 are ail considered to be stationary ( isTransientn = 0, isTransientn_x = 0, isTransientn_2 = 0 ). First the sign change tracking of (1) above is used to calculate sn (b) and sn_j (ά). In the example there are 3 sign reversais between corresponding sub-vector coefficients of frame n and n-1, and 3 sign reversais between corresponding sub-vector coefficients of frame n -1 and n - 2. Thus, sn (Z>) = 3 and sn_i(6) = 3, which according to the sign change accumulation of (2) above implies that Δ„ (è) = 6. According to the threshold définition (3) and the sign extrapolation (4) this is sufficient (in this example) to reverse the signs of the coefficients that are copied from sub-vector b of frame n into sub-vector b of frame n +1, as illustrated in Fig. 5.
Fig. 6 is a flow chart illustrating a general embodiment of the proposed method. This flow chart may also be viewed as a computer flow diagram. Step S11 tracks sign changes between corresponding transform coefficients of predetermined sub-vectors of consecutive good stationary frames. Step S12 accumulâtes the number of sign changes in corresponding sub-vectors of a predetermined number of consecutive good stationary frames. Step S12 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. i
As noted above, the threshold may dépend on the predetermined number of consecutive good stationary frames. For example, the threshold is assigned a first value for 2 consecutive good stationary frames and a second value for 3 consecutive good stationary frames.
Furthermore, stationarity of a received frame may be determined by determining whether it contain any transients, for example by examining the variable isTransientn as described above.
A further embodiment uses three modes of switching of the sign of the transform coefficients, e.g. switch, preserve, and random, and this is realized through comparison with two different thresholds, i.e. a preserve threshold Tp and a switching threshold Ts. This means that the extrapolated sign of the transform coefficients in the first lost frame is switched in case the number of sign switches is equal to or exceeds the switching threshold Ts, and is preserved in case number of sign switches is equal to or lower than the preserve threshold Tp . Further, the signs are randomized in case the number of sign switches is larger than the preserve threshold Tp and lower than the switching threshold Ts, i.e.:
for b&B far ibeb (5)
A„(b)>Ts Tp < An(b)<Ts
A„(b)<Tp
In this scheme the sign extrapolation in the first lost frame is applied on the second and so on, as the randomization is already part of the scheme.
According to a further embodiment, a sealing factor (energy atténuation) is applied to the reconstructed coefficients, in addition to the switching of the sign:
In équation (6) G is a sealing factor which may be 1 if no gain prédiction is used, or G < 1 in the case of gain prédiction (or simple atténuation rule, like -3 dB for each consecutive lost frame).
The steps, functions, procedures, modules and/or blocks described herein may be implemented in hardware using any conventional technology, such as discrète circuit or integrated circuit technology, including both general-purpose electronic circuitry anfll application-specific circuitry.
Particular examples include one or more suitably configured digital signal processors and other known electronic circuits, e.g. discrète logic gates interconnected to perform a specialized fonction, or Application Spécifie Integrated Circuits (ASICs).
Alternatively, at least some of the steps, fonctions, procedures, modules and/or blocks described above may be implemented in software such as a computer program for execution by suitable processing circuitry including one or more processing units.
The flow diagram or diagrams presented herein may therefore be regarded as a computer flow diagram or diagrams, when performed by one or more processors. A correspondîng apparatus may be defined as a group of fonction modules, where each step performed by the processor corresponds to a fonction module. In this case, the fonction modules are implemented as a computer program running on the processor.
Examples of processing circuitry includes, but is not limited to, one or more microprocessors, one or more Digital Signal Processors, DSPs, one or more Central Processing Units, CPUs, video accélération hardware, and/or any suitable programmable logic circuitry such as one or more Field Programmable Gâte Arrays, FPGAs, or one or more Programmable Logic Controllers.
It should also be understood that it may be possible to re-use the general processing capabilities of any conventional device or unit in which the proposed technology is implemented. It may also be possible to re-use existing software, e.g. by reprogramming of the existing software or by adding new software components.
The embodiments described herein apply to a décoder for an encoded audio signal, as illustrated in Fig. 7. Thus, Fig. 7 is a schematic block diagram of a décoder 20 according to the embodiments. The décoder 20 comprises an input unit IN configured to receive an encoded audio signal. The figure illustrâtes the frame Ioss concealment by a logical frame error concealment-unit (FEC) 16, which indicates that the décoder 20 is configured to implement a concealment of a lost or corrupt audio frame, according to the above-described embodiments. The décoder 20 with its included units could be implemented in hardware. There are numerous variants of circuitry éléments that can be used and combined to achieve the functions of the units of the décoder 20. Such variants are encompassed by the embodiments. Particular examples of hardware implémentation of the décoder are implémentation in digital signal processor (DSP) hardware and integrated circuit technology, including both general-purpose electronic circuitry and application-specific circuitry.
Fig. 8 is a block diagram of an example embodiment of a décoder 20 in accordance with the proposed technology. An input unit IN extracts transform coefficient vectors from an encoded audio signal and forwards them to the FEC unit 16 of the décoder 20. The décoder 20 includes a sign change tracker 26 configured to track sign changes between corresponding transform coefficients of predetermined sub-vectors of consecutive good stationary frames. The sign change tracker 26 is connected to a sign change accumulator 28 configured to accumulate the number of sign changes in corresponding sub-vectors of a predetermined number of consecutive good stationary frames. The sign change accumulator 28 is connected to a frame reconstructor 30 configured to reconstruct 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. The reconstructed transform coefficient vector is forwarded to an output unit OUT, which coverts it into an audio signal.
Fig. 9 is a block diagram of an example embodiment of a décoder in accordance with the proposed technology. An input unit IN extracts transform coefficient vectors from an encoded audio signal and forwards them to the FEC unit 16 of the décoder 20. The décoder 20 includes:
• A sign change tracking module 26 for tracking sign changes between corresponding transform coefficients of predetermined sub-vectors of consecutive good stationary frames.
• A sign change accumulation module 28 for accumulating the number of sign changes in corresponding sub-vectors of a predetermined number of consecutive good stationary frames.
• A frame reconstruction module 30 for reconstructing 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.
The reconstructed transform coefficient vector is converted into an audio signal in an output unit OUT.
Fig. 10 is a block diagram of an example embodiment of a décoder 20 in accordance with the proposed technology. The décoder 20 described herein could altematively be implemented e.g. by one or more of a processor 22 and adéquate software with suitable storage or memory 24 therefore, in order to reconstruct the audio signal, which includes performing audio frame loss concealment according to the embodiments described herein. The incoming encoded audio signal is received by an input unit IN, to which the processor 22 and the memory 24 are connected. The decoded and reconstructed audio signal obtained from the software is outputted from the output unit OUT.
More specifically the décoder 20 includes a processor 22 and a memory 24, and the memory contains instructions exécutable by the processor, whereby the décoder 20 is operative to:
• Track sign changes between corresponding transform coefficients of predetermined subvectors of consecutive good stationary frames.
• Accumulate the number of sign changes in corresponding sub-vectors of a predetermined number of consecutive good stationary frames.
• Reconstruct 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.
Illustrated in Fig. 10 is also a computer program product 40 comprising a computer readable medium and a computer program (further described below) stored on the computer readable medium. The instructions of the computer program may be transferred to the memory 24, as indicated by the dashed arrow.
Fig. 11 is a block diagram of an example embodiment of a décoder 20 in accordance with the proposed technology. This embodiment is based on a processor 22, for example a micro processor, which executes a computer program 42 for frame error concealment based on frames including transform coefficient vectors. The computer program is stored in memory 24. The processor 22 communicates with the memory over a system bus. The incoming encoded audio signal is received by an input/output (I/O) controller 26 controlling an I/O bus, to which the processor 22 and the memory 24 are connected. The audio signal obtained from the software 130 is outputted from the memory 24 by the I/O controller 26 over the I/O bus. The computer program 42 includes code 50 for tracking sign changes between corresponding transform coefficients of predetermined sub-vectors of consecutive good stationary frames, code 52 for accumulating the number of sign changes in corresponding sub-vectors of a predetermined number of consecutive good stationary frames, and code 54 for reconstructing 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.
The computer program residing in memory may be organized as appropriate function modules configured to perform, when executed by the processor, at least part of the steps and/or tasks described above. An example of such function modules is illustrated in Fig. 9.
As noted above, the software or computer program 42 may be realized as a computer program product 40, which is normally carried or stored on a computer-readable medium. The computerreadable medium may include one or more removable or non-removable memory devices in-
cluding, but not limited to a Read-Only Memory, ROM, a Random Access Memory, RAM, a
Compact Disc, CD, a Digital Versatile Disc, DVD, a Universal Serial Bus, USB, memory, a Hard
Disk Drive, HDD storage device, a flash memory, or any other conventional memory device.
The computer program may thus be loaded into the operating memory of a computer or équivalent processing device for execution by the processing circuitry thereof.
For example, the computer program includes instructions exécutable by the processing circuitry, whereby the processing circuitry is able or operative to execute the steps, functions, procedure and/or blocks described herein.
The computer or processing circuitry does not hâve to be dedicated to only execute the steps, functions, procedure and/or blocks described herein, but may also execute other tasks.
The technology described above may be used e.g. in a receiver, which can be used in a mobile device (e.g. mobile phone, laptop) or a stationary device, such as a personal computer. This device will be referred to as a user terminal including a décoder 20 as described above. The user terminal may be a wired or wireless device.
As used herein, the term “wireless device” may refer to a User Equipment, UE, a mobile phone, a cellular phone, a Personal Digital Assistant, PDA, equipped with radio communication capabilities, a smart phone, a laptop or Personal Computer, PC, equipped with an internai or external mobile broadband modem, a tablet PC with radio communication capabilities, a portable electronic radio communication device, a sensor device equipped with radio communication capabilities or the like. In particular, the term “UE” should be interpreted as a non-limiting term comprising any device equipped with radio circuitry for wireless communication according to any relevant communication standard.
As used herein, the term “wired device” may refer to at least some of the above devices (with or without radio communication capability), for example a PC, when configured for wired connection to a network.
Fig. 12 is a block diagram of a user terminal 60. The diagram illustrâtes a user equipment, for example a mobile phone. A radio signal from an antenna is forwarded to a radio unit 62, and the digital signal from the radio unit is processed by a décoder 20 in accordance with the proposed frame error concealment technology (typically the décoder may perform other task, such as decoding of other parameters describing the segment, but these tasks are not described since they are well known in the art and do not form an essential part of the proposed technology).
The decoded audio signal is forwarded to a digital/analog (D/A) signal conversion and amplification unit 64 connected to a loudspeaker.
Fig. 13 is a diagram illustrating another embodiment of frame error concealment. The encoder side 10 is similar to the embodiment of Fig. 1. However, the encoder side includes a décoder 20 in accordance with the proposed technology. This décoder includes an frame error concealment unit (FEC) 16 as proposed herein. This unit modifies the reconstruction step S5 of Fig 1 into a reconstruction step S5’ based on the proposed technology. According to a further embodiment, the above-described error concealment algorithm may optionally be combined with another concealment algorithm on a different domain. In Fig. 13 this is illustrated by an optional frame error concealment unit FEC2 18, in which a waveform pitch-based concealment is also performed. This will modify step S6 into S6’. Thus, in this embodiment the reconstructed waveform contains contributions from both concealment schemes.
It is to be understood that the choice of interacting units or modules, as well as the naming of the units are only for exemplary purpose, and may be configured in a plurality of alternative ways in order to be able to execute the disclosed process actions.
It should also be noted that the units or modules described in this disclosure are to be regarded as logical entities and not with necessity as separate physical entities. It will be appreciated that the scope of the technology disclosed herein fully encompasses other embodiments which may become obvious to those skilled in the art, and that the scope of this disclosure is accordingly not to be limited.
Reference to an element in the singular is not intended to mean one and only one unless explicitly so stated, but rather one or more. Ail structural and functional équivalents to the éléments of the above-described embodiments that are known to those of ordinary skill in the art are expressly incorporated herein by reference and are intended to be encompassed hereby. Moreover, it is not necessary for a device or method to address each and every problem sought to be solved by the technology disclosed herein, for it to be encompassed hereby.
In the preceding description, for purposes of explanation and not limitation, spécifie details are set forth such as particular architectures, interfaces, techniques, etc. in order to provide a thorough understanding of the disclosed technology. However, it will be apparent to those skilled in the art that the disclosed technology may be practiced in other embodiments and/or combinations of embodiments that départ from these spécifie details. That is, those skilled in the art will be able to devise various arrangements which, although not explieitiy described or shown herein, embody the principles of the disclosed technology. In some instances, detailed descriptions of well-known devices, circuits, and methods are omitted so as not to obscure the description of the disclosed technology with unnecessary detail. Ail statements herein reciting principles, aspects, and embodiments of the disclosed technology, as well as spécifie examples thereof, are intended to encompass both structural and functional équivalents thereof. Additionally, it is intended that such équivalents include both currently known équivalents as well as équivalents developed in the future, e.g. any éléments developed that perform the same function, regardless of structure.
Thus, for example, it will be appreciated by those skilled in the art that the figures herein can represent conceptual views of illustrative circuitry or other functional units embodying the principles of the technology, and/or various processes which may be substantially represented in computer readable medium and executed by a computer or processor, even though such computer or processor may not be explicitly shown in the figures.
The functions of the various éléments including functional blocks may be provided through the use of hardware such as circuit hardware and/or hardware capable of executing software in the form of coded instructions stored on computer readable medium. Thus, such functions and illustrated functional blocks are to be understood as being either a hardware-implemented and/or a computer-implemented, and thus machine-implemented.
The embodiments described above are to be understood as a few illustrative examples of the présent invention. It will be understood by those skilled in the art that various modifications, combinations and changes may be made to the embodiments without departing from the scope of the présent invention. In particular, different part solutions in the different embodiments can be combined in other configurations, where technically possible.
It will be understood by those skilled in the art that various modifications and changes may be made to the proposed technology without departure from the scope thereof, which is defined by the appended daims.
REFERENCES [1] ITU-T standard G.719, section 8.6, June 2008.
[2] A. Ito et al, “Improvement of Packet Loss Concealment for MP3 Audio Based on Switching of Concealment method and Estimation of MDCT Signs”, IEEE, 2010 Sixth International Conférence on Intelligent Information Hiding and Multimedia Signal Processing, pp. 518-521.
[3] Sang-Uk Ryu and Kenneth Rose, “An MDCT Domain Frame-Loss Concealment Technique for MPEG Advanced Audio Coding”, IEEE, ICASSP 2007, pp. I-273 -1-276.
[4] ITU-T standard G.719, section 7.1, June 2008.
ABBREVIATIONS
ASIC | Application Spécifie Integrated Circuit |
CPU | Central Processing Units |
DSP | Digital Signal Processor |
FEC | Frame Erasure Concealment |
FPGA | Field Programmable Gâte Array |
MDCT Modified Discrète Cosine Transform
MLT | Modulated Lapped Transform |
PLC | Packet Loss Concealment |
Claims (13)
1. A frame error concealment method based on frames including transform coefficient vectors, including the steps of:
tracking (S11) sign changes between corresponding transform coefficients of predetermined sub-vectors, each comprising a plurality of coefficients, of consecutive good stationary frames;
accumulating (S12) the number of sign changes in corresponding sub-vectors of a predetermined number of consecutive good stationary frames;
reconstructing (S13) 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.
2. The method of claim 1, wherein the threshold dépends on the predetermined number of consecutive good stationary frames.
3. The method of claim 2, wherein the threshold is assigned a first value for 2 consecutive good stationary frames and a second value for 3 consecutive good stationary frames.
4. The method of any of the preceding claims 1-3, including the step of determining stationarity of a received frame by determining whether it contains any transients.
5. A computer program (42) for frame error concealment based on frames including transform coefficient vectors, said computer program comprising computer readable code (50, 52, 54) which when run on a processor (22) causes the processor to:
track (S11; 50) sign changes between corresponding transform coefficients of predetermined sub-vectors, each comprising a plurality of coefficients, of consecutive good stationary frames;
accumulate (S12; 52) the number of sign changes in corresponding sub-vectors of a predetermined number of consecutive good stationary frames;
reconstruct (S13; 54) 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.
6. A computer program product (40), comprising computer readable medium and a computer program (42) according to claim 5 stored on the computer readable medium.
7-9.
7. A décoder (20) configured for frame error concealment based on frames including transform coefficient vectors, said décoder including:
a sign change tracker (26) configured to track sign changes between correspondîng transform coefficients of predetermined sub-vectors, each comprising a plurality of coefficients, of consecutive good stationary frames;
a sign change accumulator (28) configured to accumulate the number of sign changes in correspondîng sub-vectors of a predetermined number of consecutive good stationary frames;
a frame reconstructor (30) configured to reconstruct 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.
8. A décoder (20) configured for frame error concealment based on frames including transform coefficient vectors, said décoder including:
a sign change tracking module (26) for tracking sign changes between correspondîng transform coefficients of predetermined sub-vectors, each comprising a plurality of coefficients, of consecutive good stationary frames;
a sign change accumulation module (28) for accumulating the number of sign changes in correspondîng sub-vectors of a predetermined number of consecutive good stationary frames;
a frame reconstruction module (30) for reconstructing 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.
9. A décoder (20) configured for frame error concealment based on frames including transform coefficient vectors, said décoder including a processor (22) and a memory (24), said memory containing instructions exécutable by said processor, whereby said décoder is operative to:
track (S11 ) sign changes between correspondîng transform coefficients of predetermined sub-vectors, each comprising a plurality of coefficients, of consecutive good stationary frames;
accumulate (S12) the number of sign changes in correspondîng sub-vectors of a predetermined number of consecutive good stationary frames;
reconstruct (S13) 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.
10. A user terminal (60) including a décoder (20) in accordance with any of the preceding claims
11. The user terminal (60) of claim 10, wherein the user terminal is a user 20
12. The user terminal (60) of claim 11, wherein the user equipment is a mobile phone.
13. The user terminal (60) of claim 10, wherein the user terminal is a Personal computer.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US61/764,254 | 2013-02-13 |
Publications (1)
Publication Number | Publication Date |
---|---|
OA17404A true OA17404A (en) | 2016-09-29 |
Family
ID=
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11227613B2 (en) | Frame error concealment | |
KR101290425B1 (en) | Systems and methods for reconstructing an erased speech frame | |
US20110196673A1 (en) | Concealing lost packets in a sub-band coding decoder | |
TWI748339B (en) | Decoder and decoding method for lc3 concealment including full frame loss concealment and partial frame loss concealment | |
CA2827000A1 (en) | Apparatus and method for error concealment in low-delay unified speech and audio coding (usac) | |
US20150036679A1 (en) | Methods and apparatuses for transmitting and receiving audio signals | |
US9978383B2 (en) | Method for processing speech/audio signal and apparatus | |
JP5143949B2 (en) | Background noise generation method and noise processing apparatus | |
KR101941619B1 (en) | Method and apparatus for decoding speech/audio bitstream | |
CN105393303A (en) | Speech signal processing device, speech signal processing method, and speech signal processing program | |
EP3928312A1 (en) | Methods for phase ecu f0 interpolation split and related controller | |
OA17404A (en) | Frame error concealment. | |
RU2795500C2 (en) | Decoder and decoding method for lc3 masking including full frame loss masking and partial frame loss masking |