Method for frequency domain packet loss concealment and associated decoder - Patents.com
The use of asymmetric MDCT windows and overlapping addition in packet loss compensation improves audio signal quality by integrating unreliable IFFT endpoints, maintaining spectral resolution and reducing complexity in audio codecs.
Patent Information
- Application Number
- JP2023107640
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-02-21
- Filing Date
- 2023-06-30
- Publication Date
- 2024-10-16
- Estimated Expiration
- 2040-02-20
AI Technical Summary
Existing packet loss compensation methods in audio codecs face challenges with unreliable reconstructed signals at the end of the IFFT due to symmetrical MDCT analysis windows, leading to poor quality and increased complexity, while using shorter windows reduces spectral resolution and compression efficiency.
A method and decoder that utilize asymmetric MDCT windows and overlapping addition (OLA) to fill the analysis window length with time-domain signals from the PLC prototype buffer, reducing the influence of unreliable IFFT endpoints and improving signal quality.
This approach enhances the quality of reconstructed audio signals by integrating them smoothly with the decoded signal, reducing frame interruptions and maintaining high spectral resolution, even in the presence of consecutive frame errors.
Smart Images

Figure 0007568788000003 
Figure 0007568788000004 
Figure 0007568788000005
Abstract
Description
[Technical field]
[0001] The present disclosure relates generally to a method for filling an analysis window length to compensate for a lost audio frame associated with a received audio signal, and also to a decoder configured to fill an analysis window length to compensate for a lost audio frame associated with a received audio signal. [Background technology]
[0002] The transmission of voice / audio in modern communication channels / networks is primarily done in the digital domain using voice / audio codecs. This may involve taking an analog signal and digitizing it using sampling and an analog-to-digital converter (ADC) to obtain digital samples. These digital samples can be further grouped into frames that contain samples from consecutive periods of 10-40 ms depending on the application. These frames can also be processed using compression algorithms to reduce the number of bits that need to be transmitted while still achieving as high a quality as possible. The encoded bitstream is then transmitted as data packets over a digital network to a receiver, where the process is reversed. The data packets may first be decoded to recreate the frames with digital samples, which are then input to a digital-to-analog converter (DAC) to recreate an approximation of the input analog signal at the receiver. In FIG. 1, an example of a block diagram of audio transport using an audio encoder and decoder over a network, such as a digital network, using the approach described above is provided.
[0003] When data packets are transmitted over a network, some data packets may be discarded by the network due to traffic load or as a result of bit errors that invalidate the decoding of the digital data. When these events occur, the decoder needs to replace the signal output during the period when it is not possible to perform the actual decoding. This replacement process is typically called frame / packet loss concealment (PLC). FIG. 2 shows a block diagram of a decoder 200 including packet loss concealment. When a Bad Frame Indicator (BFI) indicates a lost or corrupted frame, the PLC 202 may generate a signal to replace the lost / corrupted frame. In other cases, i.e., when the BFI does not indicate a lost or corrupted frame, the received signal is decoded by the stream decoder 204. A frame erasure may be signaled to the decoder by setting a Bad Frame Indicator variable for the current frame to active, i.e., BFI=1. The decoded or concealed frame is further input to the DAC 206 to output an analog signal. The frame / packet loss concealment is sometimes called an error concealment unit (ECU).
[0004] There are many ways to perform packet loss concealment at the decoder. Some examples are replacing the lost frames with silence and repeating the last frame (or decoding the parameters of the last frame). Other approaches try to replace the frame with the most likely continuing audio signal. For a noise like signal, one approach can generate noise with a similar spectral structure. For a tonal signal, first the characteristics (frequency, amplitude, and phase) of the current tone are estimated, and using these parameters a continuing tone can be generated at the corresponding temporal position of the lost frame.
[0005] Another approach of ECU is Phase ECU, first described in International Patent Application WO2014123470 and then in 3GPP TS 26.447 V15.0.0, section 5.4.3.5, where the decoder may continue to store the prototype of the decoded signal during normal decoding. This prototype can be used in case of erased frames. The prototype is spectrally analyzed and noise and tonal ECU functions are combined in the spectral domain. The Phase ECU identifies tones in the spectrum and calculates the spectrotemporal replacement of the associated spectral bins. Other bins (non-tonal) may be treated as noise and scrambled to avoid tonal artifacts in these spectral regions. The resulting reconstructed spectrum is inverse FFT (Fast Fourier Transform) (IFFT) transformed to the time domain and the signal is processed to produce a replacement of the erased frame. When the audio codec is based on the Modified Discrete Cosine Transform (MDCT), producing the permutation involves windowing, TDA (Time Domain Aliasing), and ITDA (Inverse TDA) in conjunction with overlapping MDCT to produce an integral continuation of the already decoded signal. This method can ensure continuous use of the MDCT memory and the creation of the MDCT memory of the first good frame used. Summary of the Invention
[0006] In PLC using sinusoidal modeling in the frequency domain, the reconstructed signal may be unreliable at the end of the IFFT signal. Part of this may be masked by the window shape of the MDCT analysis window, especially when it is symmetric with respect to the leading and trailing zeros. Leading zeros may be frequently used to lower the algorithmic delay of the coder by being positioned on future samples. Trailing zeros may be used primarily to simplify the window, but this may result in a lower transform efficiency since the trailing zeros contribute complexity without adding any information about the input signal. Therefore, it may be common to use fewer trailing zeros. A low-delay asymmetric MDCT window may have a sharper (rapidly growing / rapidly shrinking) window shape than a larger-delay symmetric MDCT window with similar frequency resolution. The sharper window shape combined with the lower reliability of the IFFT signal may include more of these less reliable parts for the MDCT analysis windowing and subsequent TDA and ITDA steps used to produce the final reconstructed signal with the updated MDCT memory (aka MDCT OLA (overlap-add) memory buffer). This may result in a lower quality reconstructed signal. One approach may be to increase the length of the prototype, but this may not be desirable as it may significantly increase the complexity of the PLC. Another approach may be to use a shorter MDCT window in the actual audio codec, but this may result in poorer frequency resolution (and poorer performance) for the audio codec.
[0007] The combination of a relatively short Inverse Fast Fourier Transform (IFFT) (e.g., of length corresponding to 16 ms, providing roughly 12 ms of reliable evolving samples in the time domain) and a low-delay MDCT analysis and synthesis step using a "windowing->TDA->ITDA" input that is significantly larger (e.g., 18 ms) than the provided 12 ms of time-domain samples is a difficult problem to solve. Using a larger IFFT increases the complexity (e.g., of the PLC), and using a smaller low-delay MDCT (LD-MDCT) window reduces the spectral resolution of the codec, which in turn reduces the compression efficiency.
[0008] According to some embodiments of the inventive concept, there is provided a method for operating a decoder to fill an analysis window length with a time domain signal to compensate for a lost audio frame associated with a received audio signal, in which a first segment of a previously received portion of the received audio signal is copied from an original buffer, and a second segment of the previously received portion of the received audio signal from the original buffer is overlap-added to a first portion of the reconstructed portion of the received audio signal and subsequently to a remaining portion of the reconstructed portion of the received audio signal.
[0009] According to a further embodiment of the inventive concept, there is provided a decoder for filling an analysis window length with a time domain signal to compensate for a lost audio frame associated with a received audio signal. The decoder includes a processor and a memory coupled to the processor, the memory including instructions that, when executed by the processor, cause the decoder to perform operations. The decoder performs operations including copying a first segment of a previously received portion of the received audio signal from an original buffer. The decoder performs further operations including convolutively adding a second segment of the previously received portion of the received audio signal from the original buffer to a first portion of a reconstructed portion of the received audio signal and subsequently to a remaining portion of the reconstructed portion of the received audio signal.
[0010] According to yet another embodiment of the inventive concept, there is provided a decoder for filling an analysis window length with a time domain signal to compensate for lost audio frames associated with a received audio signal, where the decoder is adapted to perform operations including copying a first segment of a previously received portion of the received audio signal from an original buffer, and convolutively adding a second segment of the previously received portion of the received audio signal from the original buffer to a first part of a reconstructed portion of the received audio signal and subsequently to a remaining part of the reconstructed portion of the received audio signal.
[0011] According to a further embodiment, a computer program is provided, the computer program comprising: program code executed by at least one processor of a decoder for filling an analysis window length with a time domain signal to compensate for lost audio frames associated with a received audio signal, wherein execution of the program code causes the decoder to perform operations including copying a first segment of a previously received portion of the received audio signal from an original buffer, and overlap-adding a second segment of the previously received portion of the received audio signal from the original buffer to a first part of a reconstructed portion of the received audio signal and subsequently to a remaining part of the reconstructed portion of the received audio signal.
[0012] According to yet another embodiment, a computer program product is provided that includes a non-transitory storage medium including program code executed by at least one processor (1306) of a decoder (1300) for filling an analysis window length with a time domain signal to compensate for lost audio frames associated with a received audio signal, where execution of the program code causes the decoder to perform operations including copying a first segment of a previously received portion of the received audio signal from an original buffer and overlapping and adding a second segment of the previously received portion of the received audio signal from the original buffer to a first portion of a reconstructed portion of the received audio signal and subsequently to a remaining portion of the reconstructed portion of the received audio signal.
[0013] According to some embodiments, the effect of the possibly unreliable end points of the IFFT signal can be reduced by filling the active part of the MDCT window with signals already available in the PLC prototype buffer and in the OLA between the end points of the IFFT and PLC prototype buffers.
[0014] The accompanying drawings, which are included to provide a further understanding of this disclosure and are incorporated in and constitute a part of this application, illustrate certain non-limiting embodiments of the inventive concepts. [Brief description of the drawings]
[0015] [Figure 1] FIG. 2 is a block diagram illustrating the use of an audio encoder and an audio decoder over a network. [Diagram 2] FIG. 2 is a block diagram of a decoder including packet loss compensation. [Diagram 3] FIG. 13 shows the time alignment and signal diagrams of the Phase ECU and the reproduction of signals from the PLC prototype. [Figure 4] 1 is a flowchart of an operation for reconstructing a PLC signal. [Diagram 5]1 is a flow chart for generating a time PLC signal according to some embodiments of the inventive concepts. [Figure 6] FIG. 2 is a signal diagram of a PLC process using a PLC prototype according to some embodiments of the inventive concepts. [Figure 7] FIG. 1 illustrates two windows for OLA aggregation according to some embodiments of the inventive concepts. [Figure 8] FIG. 13 illustrates a table of Phase ECU Buffer Completion Copy Lengths in accordance with some embodiments of the inventive concept. [Figure 9] FIG. 1 illustrates a table of Phase ECU buffer completion OLA lengths according to some embodiments of the inventive concept. [Figure 10] 10 is a flowchart illustrating a decoder operation according to some embodiments of the inventive concept. [Figure 11] 10 is a flowchart illustrating a decoder operation according to some embodiments of the inventive concept. [Figure 12] 10 is a flowchart illustrating a decoder operation according to some embodiments of the inventive concept. [Figure 13] FIG. 2 is a block diagram of a decoder according to some embodiments of the inventive concepts. [Figure 14] FIG. 2 is a block diagram of a decoder according to some embodiments of the inventive concepts. [Figure 15] FIG. 2 is a block diagram of a decoder according to some embodiments of the inventive concepts. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0016] The inventive concept will now be described in more detail below with reference to the accompanying drawings, in which examples of embodiments of the inventive concept are shown. However, the inventive concept may be embodied in many different forms and should not be construed as being limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the inventive concept to those skilled in the art. It should also be noted that these embodiments are not mutually exclusive. Elements from one embodiment may be implicitly assumed to be present / used in another embodiment.
[0017] The following description presents various embodiments of the disclosed subject matter. These embodiments are presented as instructional examples and are not to be construed as limiting the scope of the disclosed subject matter. For example, some details of the described embodiments may be modified, omitted, or expanded without departing from the scope of the described subject matter.
[0018] In PLC, which uses sinusoidal modeling in the frequency domain, the reconstructed signal may be unreliable at the end of the IFFT signal. Part of this may be masked by the window shape of the MDCT analysis window, especially when it is symmetric with respect to the leading and trailing zeros. Leading zeros may be used frequently to lower the algorithmic delay of the coder by being positioned on future samples. Trailing zeros may be used primarily to simplify the window, but this may result in a lower transform efficiency, since the trailing zeros contribute complexity without adding any information about the input signal. It may therefore be common to use fewer trailing zeros.
[0019] A low-delay asymmetric MDCT window may have a sharper (rapidly growing / rapidly shrinking) window shape than a larger-delay symmetric MDCT window with similar frequency resolution. A sharper window shape combined with a lower reliability of the IFFT signal may include more of these less reliable parts for the MDCT analysis windowing and subsequent TDA and ITDA steps used to produce the final reconstructed signal with the updated MDCT memory (aka MDCT OLA memory buffer). This may result in a lower quality reconstructed signal. One approach may be to increase the length of the prototype, but this may be undesirable as it may significantly increase the complexity of the PLC. Another approach may be to use a shorter MDCT window in the actual audio codec, but this may result in a worse frequency resolution (and worse performance) for the audio codec.
[0020] The combination of a relatively short Inverse Fast Fourier Transform (IFFT) (e.g., of length corresponding to 16 ms, providing roughly 12 ms of reliable evolving samples in the time domain) and a low-delay MDCT analysis and synthesis step using a "windowing->TDA->ITDA" input that is significantly larger (e.g., 18 ms) than the provided 12 ms of time domain samples is a difficult problem to solve. Using a larger IFFT increases the complexity (e.g., of the PLC), while using a smaller LD-MDCT window reduces the spectral resolution of the codec, which in turn reduces the compression efficiency, as shown in Figure 3. Figure 3 shows the time alignment and signal diagrams of the Phase ECU and the reconstruction of the signals from the PLC prototype using the prototype's phase evolution and new temporal positions (phases). The final reconstruction is performed using MDCT synthesis windowing, where the MDCT analysis windowing, TDA and ITDA steps, and the final synthesis windowing step also use the previously stored MDCT transform memory (MDCT-OLA buffer) and produce a new (MDCT-OLA signal buffer) for use during the next frame (GOOD or BAD). An asymmetric MDCT window (LA_ZEROS-3 / 8 of frame length) with look-ahead zeros is used in Figure 3. Similar operations using look-ahead zeros are discussed in 3GPP TS 26.447 V15.0.0, section 5.4.3.5, 3GPP TS 26.445 V15.1.0, section 5.3.2.2, and 3GPP TS 26.445 V15.1.0, section 6.2.4.1.
[0021] Some embodiments of the present disclosure of the inventive concept can fill the active portion of the MDCT window with signal already available in the PLC prototype buffer, and can use an OLA between the endpoints of the IFFT and the PLC prototype buffer to reduce the effect of potentially unreliable endpoint portions of the IFFT signal.
[0022] Some embodiments of the present disclosure of the inventive concept may use a prototype time domain signal. In PLC using sinusoidal modeling, the decoder keeps the prototype time domain signal in the form of the last decoded signal in the PLC prototype buffer. That is, a replacement frame for an erased frame is calculated by applying a sinusoidal model to a previously synthesized frame of a good frame signal, which then serves as the prototype frame. A good frame means a correctly received frame, while a bad frame means an erased, i.e., lost or corrupted frame.
[0023] Turning to FIG. 4, a missing or corrupted packet can be identified by the transport layer handling the connection and signaled to the decoder as a "bad frame" through a bad frame indicator (BFI). When the bad frame indicator (BFI) indicates that a missing or corrupted frame has occurred, the PLC using sinusoidal modeling in block 401 uses the last synthesized good frame signal (i.e., the prototype frame) to perform a spectrum analysis of the prototype frame signal and identify the peak of the magnitude signal. Furthermore, the fractional frequency of the peak is estimated using the peak frequency bin. In block 403, the peak frequency bin corresponding to the peak along with the frequency bins around the peak are phase shifted. For the remaining frequency bins of the frame, the magnitude of the past synthesis remains the same, but the phase may be randomized. In block 405, the time domain signal is generated using IFFT. Furthermore, as shown in block 407, MDCT windowing, TDA, and ITDA follow.
[0024] Some embodiments of the present disclosure of the inventive concept may use the PLC prototype buffer to generate a high-quality approximation signal to fill the entire MDCT analysis window. This may involve two operations: one may perform a copy of one segment of the PLC prototype buffer to the MDCT processing buffer; the other may overlap and add the remaining last part of the prototype buffer to the MDCT processing buffer with an IFFT signal that expands to an initial time, as shown in Figure 4. Then, MDCT windowing, TDA, and ITDA follow, as shown in block 407 of Figure 4.
[0025] In the operation discussed in 3GPP TS 26.447 V15.1.0, section 6.2.4.1, the time domain prototype signal from the previous frame is used only on the first frame erasure. For continuous sinusoidal modeling, the spectral representation of the prototype is preserved and used in consecutive erased frames. However, in the event of consecutive frame errors, the relevant part of the prototype buffer (or a separate time-continuous buffer) may need to be updated continuously (i.e., on BAD frames) so that the copy and OLA operations of some embodiments of the present disclosure can be performed. With the preserved spectral representation, it is not necessary to update the complete prototype buffer during the processing of consecutive erased frames.
[0026] In some embodiments, the quality can be improved if the method for packet compensation is sinusoidal modeling in the frequency domain, ensuring that the reconstructed frame is well integrated with the currently decoded signal, even when the frame reconstruction step after the IFFT of the Phase ECU provides only limited frames (i.e. samples spread over limited exact times) and even when the MDCT window is asymmetric with respect to leading and trailing zeros.
[0027] In various embodiments of the inventive concepts disclosed herein, unreliable end points of the IFFT signal may be partially replaced and asymmetric MDCT windows may be used for the windowing, TDA, and ITDA steps, which can reduce repeated interruptions of frames that would otherwise be introduced. The inventive concepts disclosed herein can improve the quality of the PLC of the tonal signal and essentially eliminate the synthetic noise floor that may otherwise result from not providing sufficiently reliable samples for the MDCT analysis windowing step.
[0028] In various embodiments of the inventive concepts disclosed herein, a relatively short IFFT (e.g., 16 ms resulting in approximately 12 ms of reliable time-evolving samples) can be used in combination with an efficient low-latency MDCT, even though the MDCT analysis / synthesis window requires more than 12 ms of reliable signal to produce high quality analysis and synthesis reconstructions, and may be interfaced to the core audio decodec (via the MDCT OLA memory buffer).
[0029] In some embodiments of the inventive concept, the MDCT may be performed in a 20 ms window stretching 10 ms ahead. The PLC prototype frame stored after the good frame may be 16 ms long. The associated transient detector may use two short FFTs of 4 ms long, i.e., one quarter of the PLC prototype frame. The actual length of these items depends on the sampling frequency used, which may be between 8 kHz and 48 kHz. These lengths affect the number of spectral bins in each transform.
[0030] In some embodiments disclosed herein, the expanded and temporally corrected signal x ph Generating (n) may be performed according to Core Phase ECU methods, see for example Core Phase ECU methods discussed in 3GPP TS 26.477 V15.0.0, section 5.4.3.5.
[0031] In some embodiments disclosed herein, a signal x ph (n) is also x in both directions. ph_ext (n) to achieve the same length as the normal MDCT window, resulting in a smooth transition from the last decoded frame to the new reconstructed signal before windowing. The left (oldest) part may require two steps, one segment copy and one segment overlap-add. In the first step, one part (time domain samples) from the prototype buffer corresponding to the previous synthesized part of the expanded and reconstructed signal can be copied. In the second step, the overlap-add segment is copied with the last part from the prototype buffer and x ph The signal x may be zero-extended between the first part of the reconstructed signal at (k) and the second part of the reconstructed signal at (k). ph_ext (n) may also be windowed (MDCT analysis window) and time-domain aliased as done in MDCT-based encoders. The leading zero samples in the asymmetric MDCT window are referred to as LA_ZEROS. The resulting windowed and time-domain aliased signal may also be overlap-add (OLA) processed with the MDCT memory / states from the previous frame as described in conventional MDCT decoders.
[0032] While some embodiments of the inventive concepts are presented in the non-limiting example of the window used in the PLC original OLA and the subsequent reconstructed PLC signal being a Hann window, embodiments of the present disclosure may also be applied to other types of windowing, e.g., Hamming windows, Kaiser windows, etc.
[0033] In some embodiments, the OLA may first apply a sample window to achieve fading out of the portion of the PLC original buffer. The window scales each sample in the buffer according to a function. TIFF0007568788000001.tif14170 Here L olais the length of the OLA segment. A second window may be used to achieve fading in the initial (oldest) part of the reconstructed IFFT time domain signal, such that the scaling of each sample is defined as The windowed scaled samples from the PLC prototype and the IFFT tail may be summed and the OLA time segment may be newly estimated. old and W new ) is preferably constructed such that the sum at any point n is 1.0.
[0034] FIG. 8 shows a table of Phase ECU buffer completion copy lengths according to some embodiments of the inventive concept. FIG. 8 shows that the length of the copy portion (Lcopy) depends on the sampling frequency. FIG. 9 shows that the length of the copy portion (Lcopy) depends on the sampling frequency f according to some embodiments of the inventive concept. s indicates the length of the Hamming part depending on
[0035] Some embodiments of the present disclosure can provide a smooth, nearly noise-free synthetic signal for a steady-state sine wave.
[0036] In some embodiments of the present disclosure, the lengths of the COPY and OLA segments may be dynamically adapted based on analysis of past synthesized signals and somewhat unreliable phase-expanded IFFT signals.
[0037] For example, if the default lengths (2.0 ms, 1.75 ms) result in severe transients in the 0.75 ms region corresponding to the oldest samples from the IFFT signal with low reliability, the COPY portion may be extended to 2.75 ms and the OLA portion may be reduced to 1 ms. The transient detector may compare the RMS (root mean square) value of the first 2 ms to the RMS of the 0.75 ms adaptation region from both sets of lengths (COPY, OLA) and may use the set of lengths that results in the lowest difference in RMS energy.
[0038] In some embodiments of the present disclosure, the complexity can be reduced by pre-processing the COPY segments with the MDCT analysis window in the GOOD non-PLC frame. The same can be done for the COPY and OLA segments using a combination of the OLA_old and MDCT windows. This redistribution of windowing complexity may result in a larger complexity being used in the BAD frames.
[0039] FIG. 5 is a flow chart for generating a time PLC signal according to some embodiments of the inventive concept. Blocks 401, 403, and 405 are described above in the description of FIG. 4. In block 501, a complete time PLC signal may be generated with a full MDCT length using copying and OLA from an original signal. In block 503, operations including persisting MDCT analysis window, TDA, ITDA, and MDCT synthesis, and MDCT-OLA may be performed to recreate the PLC signal. The generation of the time signal in FIG. 5 may reduce the use of IFFT endpoints, which may be unreliable.
[0040] 6 is a signal diagram of PLC processing according to some embodiments of the inventive concept. A window 601 illustrates the use of a PLC prototype 605 to fill an MDCT frame and perform an overlap-and-add (OLA) 607 between the PLC prototype 605 and a possibly unreliable first end point of an IFFT reconstructed signal 609. The other end points of 609 overlap with zeros in the look-ahead of the analysis MDCT window 601.
[0041] FIG. 7 shows how two windows 701 (old) and 702 (new) can be used in an OLA that contribute to summing two windowed signal portions 703 .
[0042] The operation of the decoder 1300 (see Figures 13-15) will now be discussed with reference to the flowcharts of Figures 10-12 in accordance with some embodiments of the inventive concepts. For example, modules may be stored in the memory 1308 of Figures 13-15 that may provide instructions for the processor 1306 to perform each operation of the corresponding flowchart when the instructions of the modules are executed by the processor 1306.
[0043] Fig. 10 illustrates the operation of a decoder for filling an analysis window length with a time domain signal to compensate for a lost audio frame associated with a received audio signal. In block 1000 of Fig. 10, the processor 1306 of the decoder 1300 copies a first segment of a previously received portion of the received audio signal from the original buffer 1318 to the processing buffer 1320. In block 1002, the processor 1306 of the decoder 1300 overlap-adds a second segment of a previously received portion of the received audio signal from the original buffer 1318 to the first portion of the reconstructed portion of the received audio signal to the processing buffer 1320, followed by a remaining portion of the reconstructed portion of the received audio signal.
[0044] FIG. 11 illustrates a further operation of the decoder to fill an analysis window length with a time domain signal to compensate for lost audio frames associated with the received audio signal when consecutive lost frames are possible.
[0045] In block 1100 of Figure 11, the processor 1306 of the decoder 1300 copies a first segment of a previously received portion of the received audio signal from the time continuity buffer 1316. In block 1102, the processor 1306 of the decoder 1300 overlap-adds a second segment of a previously received portion of the received audio signal from the time continuity buffer 1316 to a first portion of the reconstructed portion of the received audio signal to the processing buffer 1320, followed by a remaining portion of the reconstructed portion of the received audio signal.
[0046] The original buffer 1318 may be updated with the newly decoded signal, and the time-continuous buffer 1316 may be updated with the newly reconstructed signal after the MDCT OLA.
[0047] 12 illustrates a further operation of the decoder for filling the analysis window length with a dynamically adapted signal segment length. In block 1200 of FIG. 12, the processor 1306 of the decoder 1300 may dynamically adapt the lengths of the first and second segments based on an analysis of the previously synthesized time domain signal from the filled analysis window length.
[0048] Various operations from flowcharts 11 and 12 may be optional for some embodiments of the decoder and associated methods, for example, blocks 1100, 1102, and 1200 may be optional.
[0049] The various embodiments described above are applied to a controller in a decoder as shown in Figures 13-15. Figure 13 is a schematic block diagram of a decoder according to some embodiments. The decoder 1300 includes an input unit 1302 configured to receive an encoded audio signal. Figure 13 illustrates frame erasure concealment by a logical frame erasure concealment unit 1304, which indicates that the decoder is configured to perform concealment of lost audio frames according to various embodiments described herein. Furthermore, the decoder 1300 includes a controller 1306 (also referred to herein as a processor or a processor unit) for implementing various embodiments described herein. The controller 1306 is coupled to an input (IN), and a memory 1308 (also referred to herein as a memory circuit) is coupled to the processor 1306. The decoded and reconstructed audio signal obtained from the processor 1306 is output from an output (OUT). The memory 1308 may include computer readable program code 1310 that, when executed by the processor 1306, causes the processor to perform operations according to embodiments disclosed herein. According to other embodiments, the processor 1306 may be defined to include memory such that a separate memory is not required.
[0050] The controller 1306 is configured to fill the analysis window length with the time domain signal to compensate for the lost audio frames associated with the received audio signal. The controller 1306 may copy a first segment of the previously received portion of the received audio signal from the original buffer to the processing buffer. The controller 1306 may overlap and add (OLA) a second segment of the previously received portion of the received audio signal from the original buffer to the first part of the reconstructed portion of the received audio signal to the processing buffer, followed by a remaining part of the reconstructed portion of the received audio signal. As shown in FIG. 15, the copying may be performed by a copy unit 1312 and the OLA may be performed by an OLA unit 1314. The signal processed by the processor 1306 including the copy unit 1312 and the OLA unit 1314 may be provided from a memory 1308 including a time contiguous buffer 1316, an original buffer 1318, and a processing buffer 1320 as shown in FIG. 15.
[0051] The copy unit and the OLA unit together with the decoder may be implemented in hardware. There are many variations of circuit elements that can be used and combined to realize the functions of the units of the decoder. Such variations are encompassed by various embodiments. A specific example of a hardware implementation of the decoder is an implementation in digital signal processor (DSP) hardware and integrated circuit technology, including both general purpose electronic circuits and application specific circuits.
[0052] Abbreviation At least some of the following abbreviations may be used in this disclosure. In the event of any discrepancies between the abbreviations, the above usage shall prevail. If listed multiple times below, the first listing shall prevail over any subsequent listings. Abbreviations and Descriptions ADC Analog-to-Digital Converter BFI Bad Frame Indicator DAC Digital to Analog Converter FFT Fast Fourier Transform IFFT Inverse Fast Fourier Transform ITDA Inverse Time Domain Aliasing LA_ZEROS Look-ahead zeros MDCT Modified Discrete Cosine Transform OLA overlap addition TDA Time Domain Aliasing
[0053] References [1]3GPP TS 26.447 V15.0.0 clause 5.4.3.5 [2]3GPP TS 26.445 V15.1.0 clause 5.3.2.2 [2]3GPP TS 26.445 V15.1.0 clause 6.2.4.1 The following references are hereby incorporated by reference: 3GPP TS 26.447 V15.0.0, section 5.4.3.5, 3GPP TS 26.445 V15.1.0, section 5.3.2.2, and 3GPP TS 26.445 V15.1.0, section 6.2.4.1.
[0054] Exemplary embodiments are discussed below, and reference numbers / letters are provided within parentheses as examples / illustrations without limiting the exemplary embodiments to the particular elements designated by the reference numbers / letters.
[0055] 1. A method for compensating for lost audio frames of a received audio signal by filling an analysis window length with a time domain signal, comprising: copying (1000, 1312) a first segment of a previously received portion of a received audio signal from an original buffer (1318) to a processing buffer (1320); and overlapping (1002, 1314) a second segment of a previously received portion of the received audio signal from an original buffer (1318) to a first portion of a reconstructed portion of the received audio signal to a processing buffer (1320) and subsequently to a remaining portion of the reconstructed portion of the received audio signal.
[0056] 2. The method of embodiment 1, wherein the previously received portion of the received audio signal is a time domain signal.
[0057] 3. The method of embodiment 1 or 2, wherein the reconstructed portion of the received audio signal comprises a transformed signal that evolves over time.
[0058] 4. The method of any of embodiments 1 to 3, wherein the processing buffer is a lapped transform modified discrete cosine transform (MDCT) buffer.
[0059] 5. The method of any of embodiments 1 to 4, wherein the MDCT analysis window is asymmetric.
[0060] 6. Copying (1100, 1312) a first segment of a previously received portion of the received audio signal from a time contiguous buffer (1316); 6. The method of any of the preceding embodiments, further comprising: copying and overlap-adding (1102, 1314) for successive erased frames, including overlap-adding a second segment of a previously received portion of the received audio signal from a time contiguous buffer (1316) to a first portion of the reconstructed portion of the received audio signal to a processing buffer (1320) and subsequently to a remaining portion of the reconstructed portion of the received audio signal.
[0061] 7. The method of any of the preceding embodiments, wherein the time-continuous buffer is updated with the newly reconstructed signal after MDCT overlap-add.
[0062] 8. The overlapping and summing part of the analysis window is applying (701, 1314) a first window to obtain a first scaled sample of a previously received portion of the received audio signal from the original buffer; applying (702, 1314) a second window to obtain second scaled samples of the reconstructed portion of the received audio signal; 8. The method of any of the preceding embodiments, further comprising: aggregating (703, 1314) the first scaled sample and the second scaled sample to form a convolution portion of the analysis window.
[0063] 9. The method of any of the preceding embodiments, wherein the length of the first segment depends on the sampling frequency.
[0064] 10. The method of any of the preceding embodiments, wherein the length of the overlap-sum portion of the analysis window depends on the sampling frequency.
[0065] 11. The method of any of embodiments 1 to 10, further comprising dynamically adapting (1200, 1306) the lengths of the first segment and the second segment based on an analysis of the previously synthesized time domain signal from the filled analysis window length.
[0066] 12. A decoder (1300) for filling an analysis window length with a time domain signal to compensate for a lost audio frame of a received audio signal, comprising: A processor (1306); A decoder (1300) comprising: a memory (1308) coupled to a processor, the memory (1308) containing instructions that, when executed by the processor, cause the decoder to perform operations according to any of embodiments 1 to 11.
[0067] 13. A decoder (1300) for filling an analysis window length with a time domain signal to compensate for a lost audio frame of a received audio signal, the decoder (1300) being adapted to perform according to any of embodiments 1 to 11.
[0068] 14. A computer program comprising program code executed by at least one processor (1306) of a decoder (1300) for filling an analysis window length with a time domain signal to compensate for lost audio frames of a received audio signal, wherein execution of the program code causes the decoder (1300) to perform operations according to any one of embodiments 1 to 11.
[0069] 15. A computer program product including a non-transitory storage medium including program code executed by at least one processor (1306) of a decoder (1300) for filling an analysis window length with a time domain signal to compensate for lost audio frames of a received audio signal, wherein execution of the program code causes the decoder (1300) to perform operations according to any one of embodiments 1 to 11.
[0070] Further explanation Generally, all terms used herein shall be interpreted according to their ordinary meaning in the relevant technical field, unless a different meaning is expressly given and / or implied from the context in which the term is used. All references to a / an / the element, apparatus, component, means, step, etc. shall be openly interpreted as referring to at least one instance of that element, apparatus, component, means, step, etc., unless expressly stated otherwise. The steps of any method disclosed herein need not be performed in the exact order disclosed, unless a step is expressly described as following or preceding another step, and / or where it is implicit that a step must follow or precede another step. Any feature of any of the embodiments disclosed herein may be applied to any other embodiment, wherever appropriate. Similarly, any advantage of any of the embodiments may be applied to any other embodiment, and vice versa. Other objects, features, and advantages of the enclosed embodiments will become apparent from the following description.
[0071] Any suitable step, method, feature, function, or benefit disclosed herein may be performed through one or more functional units or modules of one or more virtual devices. Each virtual device may include several of these functional units. These functional units may be implemented by processing circuitry, which may include one or more microprocessors or microcontrollers and other digital hardware, which may include digital signal processors (DSPs) and dedicated digital logic, etc. The processing circuitry may be configured to execute program code stored in memory, which may include one or several types of memory, such as read-only memory (ROM), random access memory (RAM), cache memory, flash memory devices, optical storage devices, etc. The program code stored in memory includes program instructions for executing one or more communication and / or data communication protocols, and instructions for executing one or more of the techniques described herein. In some implementations, the processing circuitry may be used to cause the corresponding functional units to perform corresponding functions according to one or more embodiments of the present disclosure.
[0072] The term unit may have its conventional meaning in the field of electronic equipment, electrical devices, and / or electronic devices, and may include, for example, electrical and / or electronic circuits, devices, modules, processors, memories, logic solid state and / or discrete devices, computer programs or instructions for performing each task, procedure, calculation, output, and / or display function, etc., such as those described herein.
[0073] In the above description of various embodiments of the inventive concept, it should be understood that the terminology used herein is merely for describing specific embodiments, and is not intended to limit the inventive concept. Unless otherwise specified, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those skilled in the art to which the inventive concept belongs. It will be further understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning in accordance with the meaning of those terms in the context of this specification and related art, and are not interpreted in an ideal or overly formal sense unless expressly so defined herein.
[0074] When an element is referred to as being "connected," "coupled," "responsive" to another element, or variants thereof, the element may be directly connected, coupled, or responsive to the other element, or there may be intervening elements. In contrast, when an element is referred to as being "directly connected," "directly coupled," "directly responsive" to another element, or variants thereof, there are no intervening elements. Like numbers refer to like elements throughout. Furthermore, as used herein, "coupled," "connected," "responsive," or variants thereof may include wirelessly coupled, wirelessly connected, or wirelessly responsive. As used herein, the singular forms "a," "an," and "the" are intended to include the plural forms unless the context clearly dictates otherwise. For the sake of brevity and / or clarity, well-known features or constructions may not be described in detail. The term "and / or" includes any and all combinations of one or more of the associated listed items.
[0075] Terms such as first, second, third, etc. may be used herein to describe various elements / operations, but it will be understood that these elements / operations should not be limited by these terms. These terms are merely used to distinguish one element / operation from another. Thus, a first element / operation in some embodiments may be called a second element / operation in other embodiments without departing from the teachings of the inventive concept. The same reference numbers or the same reference designators refer to the same or similar elements throughout this specification.
[0076] As used herein, the terms "comprise," "comprising," "comprises," "include," "including," "includes," "have," "has," "having," or variations thereof, are open-ended and include one or more stated features, integers, elements, steps, components, or functions, but do not exclude the presence or addition of one or more other features, integers, elements, steps, components, functions, or groups thereof. Additionally, as used herein, the common abbreviation "eg," derived from the Latin "exempli gratia," may be used to introduce or designate a general example or examples of an item previously mentioned, without limiting such items. The common abbreviation "ie," derived from the Latin "id est," may be used to designate a particular item from a more general recitation.
[0077] Exemplary embodiments are described herein with reference to block diagrams and / or flowchart illustrations of computer-implemented methods, apparatus (systems and / or devices), and / or computer program products. It will be understood that blocks of the block diagrams and / or flowchart illustrations, and combinations of blocks in the block diagrams and / or flowchart illustrations, may be implemented by computer program instructions executed by one or more computer circuits. These computer program instructions may be provided to processor circuitry, of general-purpose computer circuitry, special-purpose computer circuitry, and / or other programmable data processing circuitry, to produce a machine such that the instructions, executing via a processor of a computer and / or other programmable data processing apparatus, transform and control transistors, values stored in memory locations, and other hardware components in such circuits to implement the function / action specified in the block diagram and / or flowchart block(s).
[0078] These computer program instructions may also be stored on a tangible computer readable medium that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored on the computer readable medium create an article of manufacture that includes instructions that implement the function / act specified in the block(s) of the block diagrams and / or flowcharts. Thus, embodiments of the inventive concepts may be embodied in hardware and / or in software (including firmware, resident software, microcode, etc.) executing on a processor, such as a digital signal processor, which may be collectively referred to as a "circuit," "module," or variants thereof.
[0079] It should also be noted that in some alternative implementations, the functions / acts described in the blocks may occur out of the order described in the flowcharts. For example, two blocks shown in succession may in fact be executed substantially simultaneously, or the blocks may sometimes be executed in reverse order, depending on the functionality / acts involved. Furthermore, the functionality of a given block of the flowcharts and / or block diagrams may be separated into multiple blocks, and / or the functionality of two or more blocks of the flowcharts and / or block diagrams may be at least partially integrated. Finally, other blocks may be added / inserted between the blocks shown, and / or blocks / acts may be omitted without departing from the scope of the inventive concept. Also, while some of the figures include arrows on communication paths to indicate a primary direction of communication, it should be understood that communication may occur in the opposite direction to the illustrated arrows.
[0080] Many variations and modifications may be made to the embodiments without substantially departing from the principles of the inventive concept. All such variations and modifications are intended to be included herein within the scope of the inventive concept. Therefore, the subject matter disclosed above should be considered as illustrative and not limiting, and the example embodiments are intended to encompass all such modifications, extensions, and other embodiments that fall within the spirit and scope of the inventive concept. Thus, to the fullest extent permitted by law, the scope of the inventive concept should be determined by the broadest permissible interpretation of the present disclosure, including the example embodiments and their equivalents, and is not intended to be limited or restricted by the foregoing detailed description.
Claims
1. 1. A method for compensating for a lost audio frame associated with a received audio signal by filling a modified discrete cosine transform (MDCT) analysis window length with a time domain signal, the method comprising: copying (1000) a first segment of a previously received audio signal from a master buffer (1318); overlapping (1002) a second segment of the previously received audio signal from the master buffer (1318) with a first portion of the reconstructed portion of the previously received audio signal; generating a time signal that fills an MDCT analysis window with the copied segment followed by the overlap-added segment followed by a remainder of the reconstructed portion of the previously received audio signal; A method comprising:
2. 2. The method of claim 1, wherein copying the first segment of the previously received audio signal from the original buffer (1318) includes copying the first segment of the previously received audio segment to a processing buffer (1320), and wherein overlapping and adding the second segment of the previously received audio signal from the original buffer to the first portion of the reconstructed portion of the previously received audio signal includes overlapping and adding the second segment of the previously received audio signal from the original buffer to the first portion of the reconstructed portion of the previously received audio signal to the processing buffer (1320).
3. The method of claim 2, wherein the processing buffer (1320) is a overlapped modified discrete cosine transform (MDCT) buffer.
4. Copying (1100, 1312) a first segment of the reproduced audio signal from a time continuity buffer (1316); adding (1102, 1314) a second segment of the reconstructed audio signal from the time continuity buffer (1316) to a first portion of the reconstructed portion followed by a remaining portion of the reconstructed portion of the reconstructed audio signal to the processing buffer (1320); The method of claim 2 or 3, further comprising copying and overlap-adding for consecutive erased frames, including:
5. The method of claim 4, wherein the time-continuous buffer is updated with a newly reconstructed signal after the overlapping addition.
6. The method of claim 1 , wherein the previously received audio signal is a time domain signal.
7. The method of claim 1 , wherein the reconstructed portion of the previously received audio signal comprises a transformed signal that evolves over time.
8. The method according to claim 1 , wherein the MDCT analysis window is asymmetric.
9. The MDCT analysis window overlap addition unit includes: applying (701, 1314) a first window to obtain a first scaled sample of the previously received audio signal from the prototype buffer; applying (702, 1314) a second window to obtain second scaled samples of the reconstructed portion of the previously received audio signal; aggregating (703, 1314) the first scaled samples and the second scaled samples to form the overlap-sum portion of the MDCT analysis window; The method of any one of claims 1 to 8, comprising:
10. The method according to claim 1 , wherein the length of the first segment depends on a sampling frequency.
11. The method according to claim 10, which is dependent on claim 9, wherein the length of the overlap-and-add part of the MDCT analysis window depends on the sampling frequency.
12. 12. The method of claim 1, further comprising dynamically adapting (1200, 1306) the lengths of the first and second segments based on an analysis of a previously synthesized time domain signal from a filled MDCT analysis window length.
13. 13. A decoder (1300) for filling a modified discrete cosine transform (MDCT) analysis window length with a time domain signal to compensate for a lost audio frame associated with a received audio signal, comprising: The decoder comprises: copying a first segment of a previously received audio signal from a master buffer (1318); convolutively adding a second segment of the previously received audio signal from the prototype buffer (1318) to a first portion of the reconstructed portion of the previously received audio signal; generating a time signal that fills an MDCT analysis window with the copied segment followed by the overlap-added segment followed by a remainder of the reconstructed portion of the previously received audio signal; The decoder (1300) is adapted to perform a procedure including:
14. A decoder (1300) according to claim 13, adapted to perform the steps of the method according to any one of claims 2 to 12.
15. 1. A computer program product comprising: program code executed by at least one processor (1306) of a decoder (1300) for filling a modified discrete cosine transform (MDCT) analysis window length with a time domain signal to compensate for a lost audio frame associated with a received audio signal, the computer program product comprising: A computer program product, the program code being executed by the decoder (1300) to perform a method according to any one of claims 1 to 12.
Citation Information
Patent Citations
Method and apparatus for controlling concealment of audio frame loss
JP2016510432A
Audio Frame Loss Concealment
JP2016511433A
Packet loss compensation device, packet loss compensation method, and audio processing system
JP2016528535A
Packet loss concealment method and device, and decoding method and device using the same
JP2017521728A
