Audio encoder for encoding and audio decoder for decoding

By combining time domain and frequency domain joint multi-channel coding technology in the audio codec and dynamically switching encoders, the problem of low efficiency caused by fixed multi-channel coding selection in the existing technology is solved, and the processing of different signals is realized. Efficient encoding and decoding.

CN112614497BActive Publication Date: 2024-10-01FRAUNHOFER GESELLSCHAFT ZUR FORDERUNG DER ANGEWANDTEN FORSCHUNG EV
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202110019042.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2015-06-17
Filing Date
2016-03-07
Publication Date
2024-10-01
Estimated Expiration
2036-03-07

AI Technical Summary

Technical Problem

When existing audio codecs use multi-channel encoding technology, the selection of core encoders is fixed and cannot be dynamically switched to match signal characteristics, resulting in low encoding efficiency.

Method used

Using a switchable perceptual codec, combined with time domain and frequency domain joint multi-channel coding technology, the controller decides to use a linear prediction domain encoder or a frequency domain encoder, and dynamically switches to adapt to different signal characteristics to achieve multi-channel Flexible choice of encoding technologies.

Benefits of technology

It achieves efficient encoding and decoding of different signal content types, avoids the inefficiency problem caused by fixed selection of multi-channel encoding technology, provides seamless encoding and decoding switching, and improves the encoding quality of audio signals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112614497B_ABST
    Figure CN112614497B_ABST
Patent Text Reader

Abstract

A schematic block diagram of an audio encoder (2) for encoding a multi-channel audio signal (4) is shown. The audio encoder comprises a linear prediction domain encoder (6), a frequency domain encoder (8) and a controller (10) for switching between the linear prediction domain encoder (6) and the frequency domain encoder (8). The controller is configured so that parts of the multi-channel signal are represented by coding frames of the linear prediction domain encoder or by coding frames of the frequency domain encoder. The linear prediction domain encoder comprises a downmixer (12) for downmixing the multi-channel signal (4) to obtain a downmix signal (14). The linear prediction domain encoder further comprises a linear prediction domain core encoder (16) for encoding the downmix signal, and furthermore, the linear prediction domain encoder comprises a first joint multi-channel encoder (18) for generating first multi-channel information (20) from the multi-channel signal (4).
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of Chinese invention patent application No. 201680014669.3 entitled “Audio encoder for encoding and audio decoder for decoding” filed on March 7, 2016. The related applications of the parent case are incorporated herein by reference. Technical Field

[0002] The present invention relates to an audio encoder for encoding a multi-channel audio signal and an audio decoder for decoding the encoded audio signal. Embodiments relate to a switched perceptual audio codec including waveform preserving and parametric stereo coding. Background Art

[0003] Perceptual coding of audio signals is widely used in practice for the purpose of data reduction for efficient storage or transmission of such signals. In particular, when the highest efficiency is to be achieved, a codec is used that is closely adapted to the signal input characteristics. An example is the MPEG-D USAC core codec, which can be used to code mainly speech signals using Algebraic Code-Excited Linear Prediction (ACELP), background noise and mixed signals using Transform Coded Excitation (TCX), and music content using Advanced Audio Coding (AAC). All three inner codec configurations can be switched instantly in a signal-adaptive manner in response to the signal content.

[0004] In addition, joint multi-channel coding techniques (mid / side coding, etc.) are used or parametric coding techniques are used for maximum efficiency. Parametric coding techniques basically aim at the re-creation of perceptually equivalent audio signals rather than the faithful reconstruction of a given waveform. Examples include noise filling, bandwidth extension, and spatial audio coding.

[0005] In state-of-the-art codecs, when a signal adaptive core codec is combined with joint multi-channel coding or parametric coding techniques, the core codec is switched to match the signal characteristics, but the choice of multi-channel coding technique (e.g., M / S stereo, spatial audio coding, or parametric stereo) remains fixed and independent of the signal characteristics. These techniques are typically applied to the core codec as a pre-processor for the core encoder and a post-processor for the core decoder, both of which are unaware of the actual choice of the core codec.

[0006] On the other hand, the choice of parametric coding technique for bandwidth extension is sometimes made signal-dependently. For example, techniques applied in the time domain are more efficient for speech signals, while frequency domain processing is more relevant for other signals. In this case, the multichannel coding technique employed must be compatible with both bandwidth extension techniques.

[0007] Related topics in the state of the art include:

[0008] PS and MPS as pre-processor / post-processor for MPEG-D USAC core codec

[0009] MPEG-D USAC Standard

[0010] MPEG-H 3D Audio Standard

[0011] In MPEG-D USAC, a switchable core coder is described. However, in USAC, the multichannel coding technique is defined as a fixed choice common to the entire core coder, independent of its internal switching of the coding principle to ACELP or TCX ("LPD") or AAC ("FD"). Therefore, if a switched core codec configuration is desired, the codec is restricted to always using parametric multichannel coding (PS) for the entire signal. However, for encoding (for example) music signals, it would be more appropriate to use joint stereo coding, which can dynamically switch between L / R (left / right) and M / S (mid / side) schemes per band and per frame.

[0012] Therefore, improved methods are needed. Summary of the invention

[0013] The object of the present invention is to provide an improved concept for processing audio signals. This object is achieved by an audio encoder for encoding a multi-channel signal, an audio decoder for decoding an encoded audio signal, a method for encoding a multi-channel signal, and a method for decoding an encoded audio signal.

[0014] The present invention is based on the finding that it is advantageous to use a (time domain) parametric encoder of a multichannel encoder for parametric multichannel audio coding. The multichannel encoder may be a multichannel residual encoder, which may reduce the bandwidth for the transmission of the coding parameters compared to separate coding for each channel. This may be advantageously used, for example, in conjunction with a frequency domain joint multichannel audio encoder. Time domain and frequency domain joint multichannel coding techniques may be combined so that, for example, a frame-based decision may direct the current frame to a time-based or frequency-based coding period. In other words, an embodiment shows an improved concept for combining a switchable core codec using joint multichannel coding and parametric spatial audio coding into a fully switchable perceptual codec, which allows different multichannel coding techniques to be used depending on the choice of the core encoder. This concept is advantageous because, compared to existing methods, an embodiment shows a multichannel coding technique that can be switched immediately with the core encoder and is therefore closely matched to and adapted to the choice of the core encoder. Thus, the depicted problems that arise due to a fixed choice of multichannel coding techniques may be avoided. Furthermore, a fully switchable combination of a given core encoder and its associated and adapted multi-channel coding techniques is implemented. For example, such an encoder (e.g. AAC (Advanced Audio Coding) using L / R or M / S stereo coding) is able to encode a music signal in a frequency domain (FD) core encoder using a dedicated joint stereo or multi-channel coding (e.g. M / S stereo). This decision can be applied to each frequency band in each audio frame separately. In the case of (e.g.) a speech signal, the core encoder can immediately switch to a linear predictive decoding (LPD) core encoder and its associated different techniques (e.g. parametric stereo coding techniques).

[0015] The embodiment shows a unique stereo processing for the mono LPD path, and a seamless switching scheme based on stereo signals that combines the output of the stereo FD path with the output from the LPD core encoder and its dedicated stereo encoding. This is advantageous because seamless codec switching without artifacts is achieved.

[0016] Embodiments relate to an encoder for encoding a multi-channel signal. The encoder includes a linear prediction domain encoder and a frequency domain encoder. In addition, the encoder includes a controller for switching between the linear prediction domain encoder and the frequency domain encoder. In addition, the linear prediction domain encoder may include: a downmixer for downmixing the multi-channel signal to obtain a downmix signal; a linear prediction domain core encoder for encoding the downmix signal; and a first multi-channel encoder for generating first multi-channel information from the multi-channel signal. The frequency domain encoder includes a second joint multi-channel encoder for generating second multi-channel information from the multi-channel signal, wherein the second multi-channel encoder is different from the first multi-channel encoder. The controller is configured so that a portion of the multi-channel signal is represented by a coded frame of the linear prediction domain encoder or by a coded frame of the frequency domain encoder. The linear prediction domain encoder may include an ACELP core encoder and (for example) a parametric stereo coding algorithm as a first joint multi-channel encoder. The frequency domain encoder may include (for example) an AAC core encoder using (for example) L / R or M / S processing as a second joint multi-channel encoder as a second joint multi-channel encoder. The controller may analyze the multi-channel signal (e.g. speech or music) with respect to, for example, frame characteristics and for deciding, for each frame or sequence of frames or portion of the multi-channel audio signal, whether a linear prediction domain encoder or a frequency domain encoder should be used to encode this portion of the multi-channel audio signal.

[0017] The embodiment further shows an audio decoder for decoding an encoded audio signal. The audio decoder includes a linear prediction domain decoder and a frequency domain decoder. In addition, the audio decoder includes: a first joint multi-channel decoder for generating a first multi-channel representation using the output of the linear prediction domain decoder and using multi-channel information; and a second multi-channel decoder for generating a second multi-channel representation using the output of the frequency domain decoder and second multi-channel information. In addition, the audio decoder includes a first combiner for combining the first multi-channel representation and the second multi-channel representation to obtain a decoded audio signal. The combiner can perform seamless artifact-free switching between the first multi-channel representation as, for example, a linearly predicted multi-channel audio signal and the second multi-channel representation as, for example, a frequency domain decoded multi-channel audio signal.

[0018] Embodiments show a combination of ACELP / TCX coding in the LPD path within a switchable audio encoder with dedicated stereo coding and independent AAC stereo coding in the frequency domain path. Furthermore, embodiments show seamless instantaneous switching between LPD and FD stereo, with other embodiments involving independent selection of joint multi-channel coding for different signal content types. For example, for speech encoded primarily using the LPD path, parametric stereo is used, while for music encoded in the FD path, a more adaptive stereo coding is used that can dynamically switch between L / R and M / S schemes per band and per frame.

[0019] According to an embodiment, for speech, which is primarily encoded using the LPD path and is typically located in the center of the stereo image, simple parametric stereo is appropriate, while music encoded in the FD path typically has a more complex spatial distribution and can utilize a more adaptive stereo coding that can dynamically switch between L / R and M / S schemes per band and per frame.

[0020] Other embodiments show an audio encoder comprising: a downmixer (12) for downmixing a multichannel signal to obtain a downmix signal; a linear prediction domain core encoder for encoding the downmix signal; a filter bank for generating a spectral representation of the multichannel signal; and a joint multichannel encoder for generating multichannel information from the multichannel signal. The downmix signal has a low frequency band and a high frequency band, wherein the linear prediction domain core encoder is used to apply a bandwidth extension process for parametric encoding of the high frequency band. In addition, the multichannel encoder is used to process the spectral representation comprising the low frequency band and the high frequency band of the multichannel signal. This is advantageous because each parametric encoding can use its best time-frequency decomposition to obtain its parameters. This can be implemented, for example, using a combination of algebraic codebook excited linear prediction (ACELP) plus time domain bandwidth extension (TDBWE) and parametric multichannel coding (e.g., DFT) using an external filter bank, wherein ACELP can encode the low frequency band of the audio signal and TDBWE can encode the high frequency band of the audio signal. This combination is particularly efficient, since it is known that the best bandwidth extension for speech should be in the time domain and the multichannel processing in the frequency domain. Since ACELP+TDBWE does not have any time-to-frequency converter, an external filter bank or a transform like DFT is advantageous. Furthermore, the framing of the multichannel processor can be the same as the one used in ACELP. Even though the multichannel processing is done in the frequency domain, the time resolution used to calculate its parameters or to perform downmixing should ideally be close to or even equal to the framing of ACELP.

[0021] The described embodiments are advantageous because independent selection of joint multi-channel encoding for different signal content types can be applied. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Embodiments of the present invention will now be discussed with reference to the accompanying drawings, in which:

[0023] Figure 1 A schematic block diagram showing an encoder for encoding a multi-channel audio signal;

[0024] Figure 2 A schematic block diagram showing a linear prediction domain encoder according to an embodiment;

[0025] Figure 3 A schematic block diagram showing a frequency domain encoder according to an embodiment;

[0026] Figure 4 A schematic block diagram showing an audio encoder according to an embodiment;

[0027] FIG5 a shows a schematic block diagram of an active down-mixer according to an embodiment;

[0028] FIG5 b shows a schematic block diagram of a passive down-mixer according to an embodiment;

[0029] Figure 6 A schematic block diagram showing a decoder for decoding an encoded audio signal;

[0030] Figure 7 A schematic block diagram showing a decoder according to an embodiment;

[0031] Figure 8 A schematic block diagram showing a method for encoding a multi-channel signal;

[0032] Fig. 9 A schematic block diagram showing a method of decoding an encoded audio signal;

[0033] Fig.10 shows a schematic block diagram of an encoder for encoding a multi-channel signal according to another aspect;

[0034] Fig.11 showing a schematic block diagram of a decoder for decoding an encoded audio signal according to another aspect;

[0035] Fig.12 A schematic block diagram showing an audio encoding method for encoding a multi-channel signal according to another aspect;

[0036] Fig.13 A schematic block diagram showing a method of decoding an encoded audio signal according to another aspect;

[0037] Fig.14 A schematic timing diagram showing seamless switching from frequency domain coding to LPD coding;

[0038] Fig.15 A schematic timing diagram showing seamless switching from frequency domain decoding to LPD domain decoding;

[0039] Fig.16 A schematic timing diagram showing seamless switching from LPD coding to frequency domain coding;

[0040] Fig.17 A schematic timing diagram showing seamless switching from LPD decoding to frequency domain decoding;

[0041] Fig.18 shows a schematic block diagram of an encoder for encoding a multi-channel signal according to another aspect;

[0042] Fig.19 showing a schematic block diagram of a decoder for decoding an encoded audio signal according to another aspect;

[0043] Fig. 20 A schematic block diagram showing an audio encoding method for encoding a multi-channel signal according to another aspect;

[0044] Fig.21 A schematic block diagram showing a method of decoding an encoded audio signal according to another aspect. DETAILED DESCRIPTION

[0045] In the following, embodiments of the present invention will be described in more detail. Elements having the same or similar functions shown in the various drawings will be associated with the same reference numerals.

[0046] Figure 1A schematic block diagram of an audio encoder 2 for encoding a multi-channel audio signal 4 is shown. The audio encoder comprises a linear prediction domain encoder 6, a frequency domain encoder 8 and a controller 10 for switching between the linear prediction domain encoder 6 and the frequency domain encoder 8. The controller can analyze the multi-channel signal and decide whether linear prediction domain encoding or frequency domain encoding is advantageous for a portion of the multi-channel signal. In other words, the controller is configured so that a portion of the multi-channel signal is represented by a coding frame of the linear prediction domain encoder or by a coding frame of the frequency domain encoder. The linear prediction domain encoder comprises a downmixer 12 for downmixing the multi-channel signal 4 to obtain a downmix signal 14. The linear prediction domain encoder also comprises a linear prediction domain core encoder 16 for encoding the downmix signal, and furthermore, the linear prediction domain encoder comprises a first joint multi-channel encoder 18 for generating first multi-channel information 20 from the multi-channel signal 4, the first multi-channel information comprising, for example, interaural level difference (ILD) and / or interaural phase difference (IPD) parameters. The multi-channel signal may be, for example, a stereo signal, wherein the down-mixer converts the stereo signal into a mono signal. The linear prediction domain core encoder may encode the mono signal, wherein the first joint multi-channel encoder may generate stereo information of the encoded mono signal as the first multi-channel information. Fig.10 and Fig.11 The frequency domain encoder and controller are optional when compared to the described other aspects. However, for signal adaptive switching between time domain coding and frequency domain coding, it is advantageous to use a frequency domain encoder and controller.

[0047] Furthermore, the frequency domain encoder 8 comprises a second joint multi-channel encoder 22 for generating second multi-channel information 24 from the multi-channel signal 4, wherein the second joint multi-channel encoder 22 is different from the first multi-channel encoder 18. However, for signals better encoded by the second encoder, the second joint multi-channel encoder 22 obtains second multi-channel information allowing a second reproduction quality that is higher than the first reproduction quality of the first multi-channel information obtained by the first multi-channel encoder.

[0048] In other words, according to an embodiment, the first joint multi-channel encoder 18 is used to generate the first multi-channel information 20 allowing a first reproduction quality, wherein the second joint multi-channel encoder 22 is used to generate the second multi-channel information 24 allowing a second reproduction quality, wherein the second reproduction quality is higher than the first reproduction quality. This situation is at least relevant for signals (such as speech signals) that are better encoded by the second multi-channel encoder.

[0049] Thus, the first multi-channel encoder may be a parametric joint multi-channel encoder including, for example, a stereo prediction encoder, a parametric stereo encoder, or a rotation-based parametric stereo encoder. Furthermore, the second joint multi-channel encoder may be waveform preserving, such as, for example, band selective switching to a mid / side or left / right stereo encoder. Figure 1 , the encoded downmix signal 26 may be transmitted to an audio decoder and selectively served to a first joint multi-channel processor, where, for example, the encoded downmix signal may be decoded and a residual signal from the multi-channel signal before encoding and after decoding the encoded signal may be calculated to improve the decoding quality of the encoded audio signal at the decoder side. In addition, after determining a suitable encoding scheme for the current portion of the multi-channel signal, the controller 10 may control the linear prediction domain encoder and the frequency domain encoder using control signals 28a, 28b, respectively.

[0050] Figure 2 A block diagram of a linear prediction domain encoder 6 according to an embodiment is shown. An input to the linear prediction domain encoder 6 is a downmix signal 14 downmixed by a downmixer 12. Furthermore, the linear prediction domain encoder comprises an ACELP processor 30 and a TCX processor 32. The ACELP processor 30 is used to operate on a downsampled downmix signal 34, which may be downsampled by a downsampler 35. Furthermore, a time domain bandwidth extension processor 36 may parametrically encode a frequency band of a portion of the downmix signal 14, which is removed from the downsampled downmix signal 34 input to the ACELP processor 30. The time domain bandwidth extension processor 36 may output a parametrically encoded frequency band 38 of a portion of the downmix signal 14. In other words, the time domain bandwidth extension processor 36 may calculate a parameterized representation of a frequency band of the downmix signal 14 which may include frequencies higher than the cutoff frequency of the downsampler 35. Therefore, the downsampler 35 may have other properties to provide those frequency bands above the cutoff frequency of the downsampler to the time domain bandwidth extension processor 36, or to provide the cutoff frequency to the time domain bandwidth extension (TD-BWE) processor to enable the TD-BWE processor 36 to calculate parameters 38 for the correct part of the downmix signal 14.

[0051] In addition, the TCX processor is used to operate on a downmix signal, which is (for example) not downsampled or is downsampled to a lesser extent than for the ACELP processor. The downsampling to a lesser extent than for the ACELP processor may be downsampling using a higher cutoff frequency when compared to the downsampled downmix signal 35 input to the ACELP processor 30, wherein a larger number of frequency bands of the downmix signal are provided to the TCX processor. The TCX processor may also include a first time-frequency converter 40, such as an MDCT, DFT or DCT. The TCX processor 32 may also include a first parameter generator 42 and a first quantizer encoder 44. The first parameter generator 42 (e.g., an intelligent gap filling (IGF) algorithm) may calculate a first parameterized representation 46 of a first set of frequency bands, wherein the first quantizer encoder 44 (e.g., using a TCX algorithm) calculates a first set 48 of quantized encoded spectral lines for a second set of frequency bands. In other words, the first quantizer encoder may parameterize encode relevant frequency bands (eg, pitch bands) of the inbound signal, wherein the first parameter generator applies, for example, an IGF algorithm to the remaining frequency bands of the inbound signal to further reduce the bandwidth of the encoded audio signal.

[0052] The linear prediction domain encoder 6 may also include a linear prediction domain decoder 50 for decoding a downmix signal 14, for example, represented by a downsampled downmix signal 52 processed by ACELP and / or a first parameterized representation 46 of a first set of frequency bands and / or a first set 48 of quantized encoded spectral lines for a second set of frequency bands. The output of the linear prediction domain decoder 50 may be an encoded and decoded downmix signal 54. This signal 54 may be input to a multichannel residual encoder 56, which may use the encoded and decoded downmix signal 54 to calculate and encode a multichannel residual signal 58, wherein the encoded multichannel residual signal represents an error between a decoded multichannel representation using the first multichannel information and the multichannel signal before downmixing. Thus, the multichannel residual encoder 56 may include a joint encoder-side multichannel decoder 60 and a difference processor 62. The joint encoder-side multi-channel decoder 60 can generate a decoded multi-channel signal using the first multi-channel information 20 and the encoded and decoded downmix signal 54, wherein the difference processor can form the difference between the decoded multi-channel signal 64 and the multi-channel signal 4 before downmixing to obtain a multi-channel residual signal 58. In other words, the joint encoder-side multi-channel decoder in the audio encoder can perform a decoding operation, which is advantageous, and the same decoding operation is performed on the decoder side. Therefore, the first joint multi-channel information that can be derived by the audio decoder after transmission is used in the joint encoder-side multi-channel decoder for decoding the encoded downmix signal. The difference processor 62 can calculate the difference between the decoded joint multi-channel signal and the original multi-channel signal 4. The encoded multi-channel residual signal 58 can improve the decoding quality of the audio decoder, because the difference between the decoded signal and the original signal due to (for example) parametric encoding can be reduced by understanding the difference between the two signals. This enables the first joint multi-channel encoder to operate in a manner that derives multi-channel information for the full bandwidth of the multi-channel audio signal.

[0053] In addition, the downmix signal 14 may include a low-frequency band and a high-frequency band, wherein the linear prediction domain encoder 6 is used to apply bandwidth extension processing for parameterized coding high-frequency band using, for example, a time-domain bandwidth extension processor 36, wherein the linear prediction domain decoder 6 is used to obtain only a low-frequency band signal representing the low-frequency band of the downmix signal 14 as a downmix signal 54 encoded and decoded, and wherein the encoded multi-channel residual signal only has the frequency in the low-frequency band of the multi-channel signal before downmixing. In other words, the bandwidth extension processor can calculate the bandwidth extension parameters for the frequency band higher than the cut-off frequency, wherein the ACELP processor encodes the frequency lower than the cut-off frequency. The decoder is therefore used to reconstruct higher frequencies based on the encoded low-frequency band signal and the bandwidth parameters 38.

[0054] According to other embodiments, the multi-channel residual encoder 56 can calculate the side signal, and wherein the downmix signal is the corresponding intermediate signal of the M / S multi-channel audio signal. Therefore, the multi-channel residual encoder can calculate and encode the difference of the predicted side signal of the calculated side signal (which can calculate the full-band spectrum representation of the multi-channel audio signal obtained by the free filter bank 82) and the multiple of the encoded and decoded downmix signal 54, wherein the multiple can be represented by the prediction information that becomes part of the multi-channel information. However, the downmix signal only includes the low-frequency band signal. Therefore, the residual encoder can also calculate the residual (or side) signal for the high frequency band. This calculation can be (for example) performed by simulating time-domain bandwidth extension (as performed in the linear prediction domain core encoder) or by predicting the side signal as the difference between the calculated (full-band) side signal and the calculated (full-band) intermediate signal, wherein the prediction factor is used to minimize the difference between the two signals.

[0055] Figure 3 A schematic block diagram of a frequency domain encoder 8 according to an embodiment is shown. The frequency domain encoder includes a second time-frequency converter 66, a second parameter generator 68, and a second quantizer encoder 70. The second time-frequency converter 66 may convert a first channel 4a of a multi-channel signal and a second channel 4b of a multi-channel signal into spectral representations 72a, 72b. The spectral representations 72a, 72b of the first channel and the second channel may be analyzed and each split into a first set of frequency bands 74 and a second set of frequency bands 76. Thus, the second parameter generator 68 may generate a second parameterized representation 78 of the second set of frequency bands 76, wherein the second quantizer encoder may generate a quantized and encoded representation 80 of the first set of frequency bands 74. The frequency domain encoder or more particularly, the second time-frequency converter 66 may perform, for example, an MDCT operation for the first channel 4a and the second channel 4b, wherein the second parameter generator 68 may perform an intelligent gap filling algorithm and the second quantizer encoder 70 may perform, for example, an AAC operation. Hence, as has been described with respect to the linear prediction domain encoder, the frequency domain encoder can also operate in a way that it derives multi-channel information for the full bandwidth of the multi-channel audio signal.

[0056] Figure 4 A schematic block diagram of an audio encoder 2 according to a preferred embodiment is shown. The LPD path 16 consists of a joint stereo or multi-channel encoding with an "active or passive DMX" downmix calculation 12, which indicates that the LPD downmix can be active ("frequency selective") or passive ("constant mixing factor"), as depicted in FIG5. The downmix can also be encoded by a switchable mono ACELP / TCX core supported by a TD-BWE module or an IGF module. It should be noted that ACELP operates on downsampled input audio data 34. Any ACELP initialization due to switching can be performed on the downsampled TCX / IGF output.

[0057] Since ACELP does not contain any internal time-frequency decomposition, LPD stereo coding adds an additional complex modulation filter bank by means of the analysis filter bank 82 before LP coding and the synthesis filter bank after LPD decoding. In a preferred embodiment, an oversampled DFT with low overlapping areas is used. However, in other embodiments, any oversampled time-frequency decomposition with similar time resolution can be used. The stereo parameters can then be calculated in the frequency domain.

[0058] The parametric stereo encoding is performed by a "LPD stereo parameters encoding" block 18, which outputs LPD stereo parameters 20 to the bitstream. Optionally, a subsequent block "LPD stereo residual encoding" adds a vector quantized low-pass downmix residual 58 to the bitstream.

[0059] The FD path 8 is configured to have its own internal joint stereo or multi-channel coding. For joint stereo coding, the path again uses its own critically sampled and real-valued filter bank 66, ie (for example) MDCT.

[0060] The signals provided to the decoder may be multiplexed into a single bitstream, for example. The bitstream may include an encoded downmix signal 26, which may also include at least one of the following: parametrically encoded time-domain bandwidth extended frequency bands 38, an ACELP processed downsampled downmix signal 52, first multi-channel information 20, an encoded multi-channel residual signal 58, a first parameterized representation 46 of a first set of frequency bands, a first set 48 of quantized encoded spectral lines of a second set of frequency bands, and second multi-channel information 24 including a quantized and encoded representation 80 of the first set of frequency bands and a second parameterized representation 78 of the first set of frequency bands.

[0061] The embodiments show an improved method for combining a switchable core codec, joint multi-channel coding and parametric spatial audio coding into a fully switchable perceptual codec that allows different multi-channel coding techniques to be used depending on the choice of the core coder. In particular, within the switchable audio coder, native frequency domain stereo coding is combined with ACELP / TCX based linear predictive coding (which has its own dedicated independent parametric stereo coding).

[0062] 5a and 5b show an active down-mixer and a passive down-mixer, respectively, according to an embodiment. The active down-mixer operates in the frequency domain using, for example, a time-frequency converter 82 for transforming the time-domain signal 4 into a frequency-domain signal. After down-mixing, a frequency-time conversion (e.g., IDFT) may convert the down-mix signal from the frequency domain into a down-mix signal 14 in the time domain.

[0063] Fig. 5b shows a passive down-mixer 12 according to an embodiment. The passive down-mixer 12 comprises an adder, wherein the first channel 4a and the first channel 4b are combined after being weighted using weight a 84a and weight b 84b, respectively. In addition, the first channel 4a and the second channel 4b may be input to a time-frequency converter 82 before being transmitted to the LPD stereo parametric encoding.

[0064] In other words, the downmixer is for converting the multichannel signal into a spectral representation, and wherein the downmixing is performed using the spectral representation or using the time domain representation, and wherein the first multichannel encoder is for generating separate first multichannel information for each frequency band of the spectral representation using the spectral representation.

[0065] Figure 6 A schematic block diagram of an audio decoder 102 for decoding an encoded audio signal 103 according to an embodiment is shown. The audio decoder 102 comprises a linear prediction domain decoder 104, a frequency domain decoder 106, a first joint multi-channel decoder 108, a second multi-channel decoder 110 and a first combiner 112. The encoded audio signal 103, which may be a multiplexed bitstream of the encoder parts described previously, such as frames of an audio signal, may be decoded by the joint multi-channel decoder 108 using the first multi-channel information 20 or decoded by the frequency domain decoder 106 and multi-channel decoded by the second joint multi-channel decoder 110 using the second multi-channel information 24. The first joint multi-channel decoder may output a first multi-channel representation 114, and the output of the second joint multi-channel decoder 110 may be a second multi-channel representation 116.

[0066] In other words, the first joint multi-channel decoder 108 generates a first multi-channel representation 114 using the output of the linear prediction domain encoder and using the first multi-channel information 20. The second multi-channel decoder 110 generates a second multi-channel representation 116 using the output of the frequency domain decoder and the second multi-channel information 24. In addition, the first combiner combines the first multi-channel representation 114 and the second multi-channel representation 116 (e.g., on a frame basis) to obtain a decoded audio signal 118. In addition, the first joint multi-channel decoder 108 can be a parametric joint multi-channel decoder using, for example, complex prediction, parametric stereo operation, or rotation operation. The second joint multi-channel decoder 110 can be a waveform-preserving joint multi-channel decoder using, for example, band selective switching to a mid / side or left / right stereo decoding algorithm.

[0067] Figure 7A schematic block diagram of a decoder 102 according to another embodiment is shown. Herein, the linear prediction domain decoder 102 includes an ACELP decoder 120, a low-band synthesizer 122, an upsampler 124, a time-domain bandwidth extension processor 126 or a second combiner 128 for combining the upsampled signal and the bandwidth-extended signal. In addition, the linear prediction domain decoder may include a TCX decoder 132 and a smart gap filling processor 132, which Figure 7 1 is depicted as a block in FIG. 1. In addition, the linear prediction domain decoder 102 may include a full-band synthesis processor 134 for combining the outputs of the second combiner 128, the TCX decoder 130 and the IGF processor 132. As has been shown with respect to the encoder, the time-domain bandwidth extension processor 126, the ACELP decoder 120 and the TCX decoder 130 work in parallel to decode the respective transmitted audio information.

[0068] A cross path 136 may be provided for initializing a low-band synthesizer using information derived from a low-band spectrum-time conversion (using, for example, a frequency-time converter 138) from a TCX decoder 130 and an IGF processor 132. With reference to a model of a channel, the ACELP data may model the shape of the channel, wherein the TCX data may model the excitation of the channel. The cross path 136 represented by a low-band frequency-time converter (such as an IMDCT decoder) enables the low-band synthesizer 122 to recalculate or decode the encoded low-band signal using the shape of the channel and the current excitation. In addition, the synthesized low-band is upsampled by an upsampler 124 and combined with a high-band 140 through a time-domain bandwidth extension using, for example, a second combiner 128, to, for example, reshape the upsampled frequency to recover, for example, the energy of each upsampled frequency band.

[0069] The full-band synthesizer 134 may use the full-band signal of the second combiner 128 and the excitation from the TCX processor 130 to form a decoded downmix signal 142. The first joint multi-channel decoder 108 may include a time-frequency converter 144 for converting the output of the linear prediction domain decoder (e.g., the decoded downmix signal 142) into a spectral representation 145. In addition, an upmixer (e.g., implemented in a stereo decoder 146) may be controlled by the first multi-channel information 20 to upmix the spectral representation into a multi-channel signal. In addition, a frequency-time converter 148 may convert the upmix result into a time representation 114. The time-frequency and / or frequency-time converter may include complex operations or oversampling operations, such as DFT or IDFT.

[0070] Furthermore, the first joint multi-channel decoder or more particularly the stereo decoder 146 may use the multi-channel residual signal 58 provided, for example, by the multi-channel encoded audio signal 103 to generate the first multi-channel representation. Furthermore, the multi-channel residual signal may comprise a lower bandwidth than the first multi-channel representation, wherein the first joint multi-channel decoder is configured to reconstruct an intermediate first multi-channel representation using the first multi-channel information and to add the multi-channel residual signal to the intermediate first multi-channel representation. In other words, the stereo decoder 146 may comprise multi-channel decoding using the first multi-channel information 20 and, after the spectral representation of the decoded downmix signal has been upmixed to the multi-channel signal, optionally comprises an improvement of the reconstructed multi-channel signal by adding the multi-channel residual signal to the reconstructed multi-channel signal. Thus, the first multi-channel information and the residual signal may have acted on the multi-channel signal.

[0071] The second joint multi-channel decoder 110 may use the spectral representation obtained by the frequency domain decoder as input. The spectral representation includes at least a first channel signal 150a and a second channel signal 150b for a plurality of frequency bands. In addition, the second joint multi-channel processor 110 may be applicable to a plurality of frequency bands of the first channel signal 150a and the second channel signal 150b. The joint multi-channel operation, such as a mask, indicates left / right or middle / side joint multi-channel coding for each frequency band, and wherein the joint multi-channel operation is a middle / side or left / right conversion operation for converting the frequency band indicated by the mask from a middle / side representation to a left / right representation, which is a conversion of the result of the joint multi-channel operation to a time representation to obtain a second multi-channel representation. In addition, the frequency domain decoder may include a frequency-time converter 152, which is, for example, an IMDCT operation or an operation of specific sampling. In other words, the mask may include a flag indicating, for example, L / R or M / S stereo coding, wherein the second joint multi-channel encoder applies the corresponding stereo coding algorithm to each audio frame. Optionally, intelligent gap filling may be applied to the encoded audio signal to further reduce the bandwidth of the encoded audio signal. Thus, for example, the tonal bands may be encoded at high resolution using the aforementioned stereo coding algorithm, wherein other bands may be parametrically encoded using, for example, the IGF algorithm.

[0072] In other words, in the LPD path 104, the transmitted mono signal is reconstructed by a switchable ACELP / TCX 120 / 130 decoder supported, for example, by the TD-BWE 126 or the IGF module 132. Any ACELP initialization due to the switch will be performed on the downsampled TCX / IGF output. The output of the ACELP is upsampled to the full sampling rate using, for example, an upsampler 124. All signals are mixed in the time domain at a high sampling rate using, for example, a mixer 128 and further processed by an LPD stereo decoder 146 to provide LPD stereo.

[0073] The LPD "stereo decode" consists of an upmix of the transmitted downmix governed by the application of the transmitted stereo parameters 20. Optionally, the downmix residual 58 is also included in the bitstream. In this case, the residual is decoded by "stereo decode" 146 and included in the upmix calculation.

[0074] The FD path 106 is configured to have its own independent internal joint stereo or multi-channel decoding. For joint stereo decoding, the path again uses its own critically sampled and real-valued filter bank 152, such as (ie) IMDCT.

[0075] The LPD stereo output and the FD stereo output are mixed in the time domain using, for example, a first combiner 112 to provide a final output 118 of the full switching encoder.

[0076] Although multi-channels are described with respect to stereo decoding in the relevant figures, the same principles are generally applicable to multi-channel processing utilizing two or more channels.

[0077] Figure 8 A schematic block diagram of a method 800 for encoding a multi-channel signal is shown. The method 800 comprises: a step 805 of performing linear prediction domain encoding; a step 810 of performing frequency domain encoding; a step 815 of switching between linear prediction domain encoding and frequency domain encoding, wherein the linear prediction domain encoding comprises downmixing the multi-channel signal to obtain a downmix signal, performing linear prediction domain core encoding on the downmix signal, and generating a first joint multi-channel encoding of first multi-channel information from the multi-channel signal, wherein the frequency domain encoding comprises a second joint multi-channel encoding of second multi-channel information from the multi-channel signal, wherein the second joint multi-channel encoding is different from the first multi-channel encoding, and wherein the switching is performed such that a portion of the multi-channel signal is represented by a linear prediction domain encoded coded frame or by a frequency domain encoded coded frame.

[0078] Fig. 9 A schematic block diagram of a method 900 for decoding an encoded audio signal is shown. The method 900 comprises: a step 905 of linear prediction domain decoding; a step 910 of frequency domain decoding; a step 915 of first joint multi-channel decoding using the output of the linear prediction domain decoding and using first multi-channel information to generate a first multi-channel representation; a step 920 of second multi-channel decoding using the output of the frequency domain decoding and second multi-channel information to generate a second multi-channel representation; and a step 925 of combining the first multi-channel representation and the second multi-channel representation to obtain a decoded audio signal, wherein the second multi-channel information decoding is different from the first multi-channel decoding.

[0079] Fig.10A schematic block diagram of an audio encoder for encoding a multi-channel signal according to another aspect is shown. The audio encoder 2' comprises a linear prediction domain encoder 6 and a multi-channel residual encoder 56. The linear prediction domain encoder comprises a downmixer 12 for downmixing a multi-channel signal 4 to obtain a downmix signal 14, and a linear prediction domain core encoder 16 for encoding the downmix signal 14. The linear prediction domain encoder 6 also comprises a joint multi-channel encoder 18 for generating multi-channel information 20 from the multi-channel signal 4. In addition, the linear prediction domain encoder comprises a linear prediction domain decoder 50 for decoding the encoded downmix signal 26 to obtain an encoded and decoded downmix signal 54. The multi-channel residual encoder 56 can use the encoded and decoded downmix signal 54 to calculate and encode a multi-channel residual signal. The multi-channel residual signal can represent an error between a decoded multi-channel representation 54 using the multi-channel information 20 and the multi-channel signal 4 before downmixing.

[0080] According to an embodiment, the downmix signal 14 includes a low frequency band and a high frequency band, wherein the linear prediction domain encoder can use a bandwidth extension processor to apply bandwidth extension processing for parameterized coding of the high frequency band, wherein the linear prediction domain decoder is used to obtain only a low frequency band signal representing the low frequency band of the downmix signal as a downmix signal 54 encoded and decoded, and wherein the encoded multi-channel residual signal has only a band corresponding to the low frequency band of the multi-channel signal before downmixing. In addition, the same description of the audio encoder 2 can be applied to the audio encoder 2 '. However, other frequency encodings of the encoder 2 are omitted. This omission simplifies the encoder configuration, and is therefore advantageous in the following cases: the encoder is only used for audio signals that only include signals that can be parameterized encoded in the time domain without significant quality loss, or the quality of the decoded audio signal is still within the specification. However, dedicated residual stereo encoding is advantageous for increasing the reproduction quality of the decoded audio signal. More specifically, the difference between the audio signal before encoding and the encoded and decoded audio signal is derived and transmitted to the decoder to increase the reproduction quality of the decoded audio signal, since the difference between the decoded audio signal and the encoded audio signal is already known to the decoder.

[0081] Fig.11An audio decoder 102' for decoding an encoded audio signal 103 according to another aspect is shown. The audio decoder 102' comprises a linear prediction domain decoder 104, and a joint multi-channel decoder 108 for generating a multi-channel representation 114 using the output of the linear prediction domain decoder 104 and the joint multi-channel information 20. In addition, the encoded audio signal 103 may include a multi-channel residual signal 58, which may be used by the multi-channel decoder to generate the multi-channel representation 114. In addition, the same explanations related to the audio decoder 102 may apply to the audio decoder 102'. Herein, the residual signal from the original audio signal to the decoded audio signal is used and applied to the decoded audio signal to achieve at least almost the same quality of the decoded audio signal compared to the original audio signal, even in the case of parametric and therefore lossy encoding. However, the frequency decoding part shown with respect to the audio decoder 102 is omitted in the audio decoder 102'.

[0082] Fig.12 A schematic block diagram of an audio coding method 1200 for encoding a multi-channel signal is shown. The method 1200 comprises: a step 1205 of linear prediction domain coding, which comprises downmixing the multi-channel signal to obtain a downmixed multi-channel signal, and a linear prediction domain core encoder generating multi-channel information from the multi-channel signal, wherein the method further comprises linear prediction domain decoding the downmix signal to obtain an encoded and decoded downmix signal; and a step 1210 of multi-channel residual coding, which uses the encoded and decoded downmix signal to calculate an encoded multi-channel residual signal, the multi-channel residual signal representing an error between a decoded multi-channel representation using the first multi-channel information and the multi-channel signal before downmixing.

[0083] Fig.13 A schematic block diagram of a method 1300 for decoding an encoded audio signal is shown. The method 1300 comprises a step 1305 of linear prediction domain decoding, and a step 1310 of joint multi-channel decoding, which uses the output of the linear prediction domain decoding and the joint multi-channel information to generate a multi-channel representation, wherein the encoded multi-channel audio signal comprises a channel residual signal, wherein the joint multi-channel decoding uses the multi-channel residual signal to generate the multi-channel representation.

[0084] The described embodiments may find use in distribution of all types of broadcast of stereo or multi-channel audio content (speech and similar music with constant perceived quality at a given low bit rate) such as for digital radio, Internet streaming and audio communication applications.

[0085] Figures 14 to 17An embodiment describing how to apply the proposed seamless switching between LPD coding and frequency domain coding and vice versa. In general, the previous windowing or processing is indicated using a thin line, the thick line indicates the current windowing or processing to which the switching is applied, and the dashed line indicates the current processing only for the transition or switching. Switching or transition from LPD coding to frequency coding.

[0086] Fig.14 A schematic timing diagram of an embodiment indicating a seamless switch between frequency domain coding to time domain coding is shown. This diagram may be relevant if, for example, the controller 10 indicates that the current frame is better encoded using LPD coding rather than FD coding for the previous frame. During frequency domain coding, stop windows 200a and 200b may be applied to each stereo signal (which may optionally be extended to more than two channels). The stop window is different from the standard MDCT overlap-add that fades at the beginning 202 of the first frame 204. The left part of the stop window may be a classical overlap-add used to encode the previous frame using, for example, MDCT time-frequency transform. Therefore, the frame before the switch is still properly encoded. For the current frame 204 to which the switch is applied, additional stereo parameters are calculated, even if the first parameterized representation of the intermediate signal for time domain coding is calculated for the subsequent frame 206. The two additional stereo analyses are performed to be able to generate the intermediate signal 208 for LPD preview. However, the stereo parameters are (additionally) transmitted in the two first LPD stereo windows. Normally, the stereo parameters are sent with a delay of two LPD stereo frames. In order to update the ACELP memory (e.g. for LPC analysis or forward aliasing cancellation (FAC)), the intermediate signals also become available in the past. Thus, LPD stereo windows 210a to 210d for the first stereo signal and LPD stereo windows 212a to 212d for the second stereo signal may be applied in the analysis filter bank 82 before, for example, applying a time-frequency transformation using DFT. The intermediate signals may include a typical crossfade ramp when TCX coding is used, resulting in an exemplary LPD analysis window 214. If ACELP is used to encode an audio signal (such as a mono low-band signal), a number of frequency bands to which LPC analysis is applied are simply selected, indicated by a rectangular LPD analysis window 216.

[0087] Furthermore, the timing indicated by the vertical line 218 shows that the current frame with the transition applied includes information from the frequency domain analysis windows 200a, 200b as well as the calculated intermediate signal 208 and the corresponding stereo information. During the horizontal portion of the frequency analysis window between the lines 202 and 218, the frame 204 is perfectly encoded using frequency domain coding. From the line 218 to the end of the frequency analysis window at the line 220, the frame 204 includes information from both the frequency domain coding and the LPD coding, and from the line 220 to the end of the frame 204 at the vertical line 222, only the LPD coding contributes to the coding of the frame. Further attention is paid to the middle portion of the coding, since the first and last (third) portions are derived from only one coding technique without aliasing. However, for the middle portion, it should be distinguished between ACELP and TCX mono signal coding. Since the TCX coding uses fade-in and fade-out, as has been applied with respect to the frequency domain coding, a simple fade-out of the frequency coded signal and a fade-in of the TCX coded intermediate signal provide complete information for coding the current frame 204. If ACELP is used for mono signal coding, more complex processing may be applied, since region 224 may not include complete information for the encoded audio signal. A proposed method is forward aliasing correction (FAC), described, for example, in the USAC specification in section 7.16.

[0088] According to an embodiment, the controller 10 is configured to switch from encoding a previous frame using the frequency domain encoder 8 to decoding an upcoming frame using the linear prediction domain encoder within a current frame 204 of the multi-channel audio signal. The first joint multi-channel encoder 18 may calculate the synthesized multi-channel parameters 210a, 210b, 212a, 212b from the multi-channel audio signal of the current frame, wherein the second joint multi-channel encoder 22 is configured to weight the second multi-channel signal using a stopping window.

[0089] Fig.15 Display corresponds to Fig.14 Schematic timing diagram of the decoder of the encoder operation. Herein, the reconstruction of the current frame 204 is described according to an embodiment. Fig.14 As can be seen in the encoder timing diagram of , the frequency domain stereo channels are provided from the previous frame where the stop windows 200a and 200b are applied. As in the mono case, the transition from FD to LPD mode is first performed on the decoded intermediate signal. This is achieved by artificially creating the intermediate signal 226 from the time domain signal 116 decoded in FD mode, where ccfl is the core code frame length and L_fac represents the length of the frequency aliasing cancellation window or frame or block or transform.

[0090] x[n-ccfl / 2]=0.5·l i-1[n]+0.5·r i-1 [n], for

[0091] This signal is then transmitted to the LPD decoder 120 for updating the memory and applying FAC decoding, as is done for the transition from FD mode to ACELP in the mono case. The processing is described in the USAC specification [ISO / IEC DIS 23003-3, USAC] in section 7.16. In the case of FD mode to TCX, a conventional overlap-add is performed. For example, by using the transmitted stereo parameters 210 and 212 for stereo processing, where the transition has been completed, the LPD stereo decoder 146 receives as input signals the decoded (in the frequency domain, after applying the time-frequency conversion of the time-frequency converter 144) intermediate signal. The stereo decoder then outputs a left channel signal 228 and a right channel signal 230 overlapped with the previous frame decoded in FD mode. The signals (i.e., the FD decoded time domain signal and the LPD decoded time domain signal for the frame to which the transition is applied) are then cross-faded on each channel (in the combiner 112) for smoothing the transition in the left and right channels:

[0092]

[0093]

[0094] exist Fig.15 In , the transition is schematically illustrated using M=ccfl / 2. Furthermore, the combiner may perform cross-fading at consecutive frames that are decoded using only FD or LPD decoding without transitions between these modes.

[0095] In other words, the overlap-add process of FD decoding (especially when MDCT / IMDCT is used for time-frequency / frequency-time conversion) is replaced by a fade-in and fade-out of the FD-decoded audio signal and the LPD-decoded audio signal. Therefore, the decoder should calculate the LPD signal for the fade-out portion of the FD-decoded audio signal to the fade-in portion of the LPD-decoded audio signal. According to an embodiment, the audio decoder 102 is configured to switch from decoding the previous frame using the frequency domain decoder 106 to decoding the upcoming frame using the linear prediction domain decoder 104 within the current frame 204 of the multi-channel audio signal. The combiner 112 may calculate the synthesized intermediate signal 226 from the second multi-channel representation 116 of the current frame. The first joint multi-channel decoder 108 may use the synthesized intermediate signal 226 and the first multi-channel information 20 to generate the first multi-channel representation 114. In addition, the combiner 112 is configured to combine the first multi-channel representation and the second multi-channel representation to obtain a decoded current frame of the multi-channel audio signal.

[0096] Fig.16 A schematic timing diagram in an encoder for performing a transition from encoding with LPD to decoding with FD in a current frame 232 is shown. In order to switch from LPD to FD encoding, start windows 300a, 300b may be applied for FD multi-channel encoding. The start windows have a similar function when compared to stop windows 200a, 200b. The start windows 300a, 300b perform a fade-in during the fade-out of the TCX-encoded mono signal of the LPD encoder between vertical lines 234 and 236. When ACELP is used instead of TCX, the mono signal does not perform a smooth fade-out. Nevertheless, the correct audio signal can be reconstructed in the decoder using, for example, FAC. The LPD stereo windows 238 and 240 are calculated by default and refer to the mono signal encoded with ACELP or TCX (indicated by the LPD analysis window 241).

[0097] Fig.17 Display corresponds to about Fig.16 Schematic timing diagram in a decoder of the described timing diagram of the encoder.

[0098] For the transition from LPD mode to FD mode, an extra frame is decoded by the stereo decoder 146. The intermediate signal from the LPD mode decoder is extended with zeros for frame index i=ccfl / M.

[0099]

[0100] Stereo decoding as previously described can be performed by retaining the last stereo parameters and by switching off the side signal inverse quantization (i.e., setting code_mode to 0). Furthermore, right windowing after the inverse DFT is not applied, which results in steep edges 242a, 242b of the additional LPD stereo windows 244a, 244b. It can be clearly seen that the shape edges are located at the planar segments 246a, 246b, where the entire information of the corresponding part of the frame can be derived from the FD-coded audio signal. Therefore, right windowing (without steep edges) may result in unwanted interference of the LPD information with the FD information and is therefore not applied.

[0101] The resulting left and right (LPD decoded) channels 250a, 250b are then combined (using the LPD decoded intermediate signals and stereo parameters indicated by the LPD analysis window 248) to the FD mode decoded channels of the next frame by using overlap-add processing in the case of TCX to FD mode or by using FAC for each channel in the case of ACELP to FD mode. Fig.17 A schematic illustration of the transition is depicted in , where M = ccfl / 2.

[0102] According to an embodiment, the audio decoder 102 may switch from decoding a previous frame using the linear prediction domain decoder 104 to decoding an upcoming frame using the frequency domain decoder 106 within a current frame 232 of the multi-channel audio signal. The stereo decoder 146 may calculate a synthetic multi-channel audio signal from a decoded mono signal of the linear prediction domain decoder for the current frame using the multi-channel information of the previous frame, wherein the second joint multi-channel decoder 110 may calculate a second multi-channel representation for the current frame and weight the second multi-channel representation using the start window. The combiner 112 may combine the synthetic multi-channel audio signal and the weighted second multi-channel representation to obtain a decoded current frame of the multi-channel audio signal.

[0103] Fig.18 A schematic block diagram of an encoder 2" for encoding a multi-channel signal 4 is shown. The audio encoder 2" includes a downmixer 12, a linear prediction domain core encoder 16, a filter bank 82, and a joint multi-channel encoder 18. The downmixer 12 is used to downmix the multi-channel signal 4 to obtain a downmix signal 14. The downmix signal can be a mono signal, such as an intermediate signal of an M / S multi-channel audio signal. The linear prediction domain core encoder 16 can encode the downmix signal 14, wherein the downmix signal 14 has a low frequency band and a high frequency band, wherein the linear prediction domain core encoder 16 is used to apply bandwidth extension processing for parametric encoding of the high frequency band. In addition, the filter bank 82 can generate a spectral representation of the multi-channel signal 4, and the joint multi-channel encoder 18 can be used to process the spectral representation of the low frequency band and the high frequency band of the multi-channel signal to generate multi-channel information 20. The multi-channel information may include ILD and / or IPD and / or Interaural Intensity Difference (IID) parameters, thereby enabling the decoder to recalculate the multi-channel audio signal from the mono signal. More detailed drawings of other aspects of embodiments according to this aspect may be found in the previous figures, in particular in Figure 4 Found in.

[0104] According to an embodiment, the linear prediction domain core encoder 16 may also include a linear prediction domain decoder for decoding the encoded downmix signal 26 to obtain an encoded and decoded downmix signal 54. Herein, the linear prediction domain core encoder may form an intermediate signal of the encoded M / S audio signal for transmission to the decoder. In addition, the audio encoder also includes a multi-channel residual encoder 56 for calculating an encoded multi-channel residual signal 58 using the encoded and decoded downmix signal 54. The multi-channel residual signal represents the error between the decoded multi-channel representation using the multi-channel information 20 and the multi-channel signal 4 before downmixing. In other words, the multi-channel residual signal 58 can be a side signal of the M / S audio signal, which corresponds to the intermediate signal calculated using the linear prediction domain core encoder.

[0105] According to other embodiments, the linear prediction domain core encoder 16 is used to apply bandwidth extension processing for parameterized encoding of the high frequency band and only obtain the low frequency band signal of the low frequency band representing the downmix signal as the downmix signal encoded and decoded, and wherein the encoded multi-channel residual signal 58 only has the frequency band corresponding to the low frequency band of the multi-channel signal before downmixing.Additionally or optionally, the multi-channel residual encoder can simulate the time domain bandwidth extension of the high frequency band applied to the multi-channel signal in the linear prediction domain core encoder, and calculate the residual or side signal for the high frequency band so that the mono or intermediate signal can be more accurately decoded to derive the decoded multi-channel audio signal.The simulation may include the same or similar calculation, which is performed in the decoder to decode the high frequency band extended by bandwidth.As an alternative or supplementary method for simulating bandwidth extension, the side signal can be predicted.Therefore, the multi-channel residual encoder can calculate the full-band residual signal from the parameterized representation 83 of the multi-channel audio signal 4 after the time-frequency conversion in the filter bank 82. This full-band side signal may be compared to a frequency representation of the full-band mid signal similarly derived from the parameterized representation 83. The full-band mid signal may, for example, be calculated as the sum of the left and right channels of the parameterized representation 83, and the full-band side signal may be calculated as the difference of the left and right channels. Furthermore, the prediction may thus calculate a prediction factor for the full-band mid signal, minimizing the absolute difference between the product of the prediction factor and the full-band mid signal and the full-band side signal.

[0106] In other words, a linear prediction domain encoder may be used to calculate the downmix signal 14 as a parameterized representation of an intermediate signal of the M / S multi-channel audio signal, wherein the multi-channel residual encoder may be used to calculate a side signal corresponding to the intermediate signal of the M / S multi-channel audio signal, wherein the residual encoder may use an analog time domain bandwidth extension to calculate the high frequency band of the intermediate signal, or wherein the residual encoder may use found prediction information to predict the high frequency band of the intermediate signal, the prediction information minimizing a difference between a calculated side signal from a previous frame and a calculated full-band intermediate signal.

[0107] Other embodiments show a linear prediction domain core encoder 16 including an ACELP processor 30. The ACELP processor may operate on a downsampled downmix signal 34. In addition, a time domain bandwidth extension processor 36 is used to parametrically encode the frequency bands of the portion of the downmix signal removed from the ACELP input signal by the third downsampling. Additionally or alternatively, the linear prediction domain core encoder 16 may include a TCX processor 32. The TCX processor 32 may operate on a downmix signal 14 that is not downsampled or is downsampled to a lesser extent than the downsampling for the ACELP processor. In addition, the TCX processor may include a first time-frequency converter 40, a first parameter generator 42 for generating a parameterized representation 46 of a first set of frequency bands, and a first quantizer encoder 44 for generating a set 48 of quantized encoded spectral lines of a second set of frequency bands. The ACELP processor and the TCX processor may be executed separately (eg, encoding a first number of frames using ACELP and encoding a second number of frames using TCX), or in a joint manner where both ACELP and TCX contribute information to decode one frame.

[0108] Other embodiments show a time-frequency converter 40 different from the filter bank 82. The filter bank 82 may include filter parameters optimized to generate a spectral representation 83 of the multichannel signal 4, wherein the time-frequency converter 40 may include filter parameters optimized to generate a parameterized representation 46 of the first set of frequency bands. In another step, it must be noted that the linear prediction domain encoder uses a different filter bank or even no filter bank in the case of bandwidth extension and / or ACELP. In addition, the filter bank 82 can calculate separate filter parameters to generate the spectral representation 83 independently of the previous parameter selection of the linear prediction domain encoder. In other words, multichannel encoding in LPD mode can use a filter bank (DFT) for multichannel processing, which is not the filter bank used in bandwidth extension (time domain for ACELP and MDCT for TCX). The advantage of this case is that each parameterized encoding can use its best time-frequency decomposition to obtain its parameters. For example, a combination of ACELP+TDBWE and parameterized multichannel encoding using an external filter bank (e.g., DFT) is advantageous. This combination is particularly efficient, since it is known that the best bandwidth extension for speech should be in the time domain and multi-channel processing should be in the frequency domain. Since ACELP+TDBWE does not have any time-to-frequency converter, an external filter bank or transform like DFT is preferred or even may be necessary. Other concepts always use the same filter bank and therefore do not use different filter banks, for example:

[0109] -IGF and joint stereo coding for AAC in MDCT

[0110] -SBR+PS for HeAACv2 in QMF

[0111] -SBR+MPS212 for USAC in QMF

[0112] According to other embodiments, the multichannel encoder comprises a first frame generator and the linear prediction domain core encoder comprises a second frame generator, wherein the first and second frame generators are used to form frames from the multichannel signal 4, wherein the first and second frame generators are used to form frames with similar lengths. In other words, the framing of the multichannel processor may be the same as the framing used in ACELP. Even if the multichannel processing is performed in the frequency domain, the time resolution used to calculate its parameters or downmix should ideally be close to or even equal to the framing of ACELP. Similar length in this case may refer to the framing of ACELP, which may be equal to or close to the time resolution used to calculate the parameters for the multichannel processing or downmix.

[0113] According to other embodiments, the audio encoder further comprises a linear prediction domain encoder 6 (which comprises a linear prediction domain core encoder 16 and a multi-channel encoder 18), a frequency domain encoder 8 and a controller 10 for switching between the linear prediction domain encoder 6 and the frequency domain encoder 8. The frequency domain encoder 8 may comprise a second joint multi-channel encoder 22 for encoding second multi-channel information 24 from the multi-channel signal, wherein the second joint multi-channel encoder 22 is different from the first joint multi-channel encoder 18. Furthermore, the controller 10 is configured such that parts of the multi-channel signal are represented by coded frames of the linear prediction domain encoder or by coded frames of the frequency domain encoder.

[0114] Fig.19A schematic block diagram of a decoder 102″ for decoding an encoded audio signal 103 according to another aspect is shown, the encoded audio signal comprising a core-encoded signal, bandwidth extension parameters and multi-channel information. The audio decoder comprises a linear prediction domain core decoder 104, an analysis filter bank 144, a multi-channel decoder 146 and a synthesis filter bank processor 148. The linear prediction domain core decoder 104 can decode the core-encoded signal to generate a mono signal. This signal can be a (full-band) intermediate signal of the M / S encoded audio signal. The analysis filter bank 144 can convert the mono signal into a spectral representation 145, wherein the multi-channel decoder 146 can generate a first sound from the spectral representation of the mono signal and the multi-channel information 20 The multi-channel decoder can therefore use multi-channel information, which for example includes a side signal corresponding to the decoded intermediate signal. The synthesis filter bank processor 148 is used to synthesis filter the first channel spectrum to obtain the first channel signal and to synthesis filter the second channel spectrum to obtain the second channel signal. Therefore, preferably, the reverse operation compared to the analysis filter bank 144 can be applied to the first channel signal and the second channel signal, and if the analysis filter bank uses DFT, the reverse operation can be IDFT. However, the filter bank processor can use, for example, the same filter bank to process the two channel spectra in parallel or in a continuous order. Further detailed drawings on this aspect can be found in the previous figures, especially with respect to Figure 7 see.

[0115] According to other embodiments, the linear prediction domain core decoder comprises: a bandwidth extension processor 126 for generating a high-band portion 140 from a bandwidth extension parameter and a low-band mono signal or a core-encoded signal to obtain a decoded high-band 140 of an audio signal; a low-band signal processor for decoding the low-band mono signal; and a combiner 128 for calculating a full-band mono signal using the decoded low-band mono signal and the decoded high-band of the audio signal. The low-band mono signal may be, for example, a baseband representation of an intermediate signal of an M / S multi-channel audio signal, wherein the bandwidth extension parameter may be applied to calculate the full-band mono signal from the low-band mono signal (in the combiner 128).

[0116] According to other embodiments, the linear prediction domain decoder comprises ACELP decoder 120, low frequency band synthesizer 122, up sampler 124, time domain bandwidth extension processor 126 or second combiner 128, wherein second combiner 128 is used for combining the low frequency band signal through up sampling and the high frequency band signal 140 through bandwidth extension to obtain the mono signal of full band through ACELP decoding. The linear prediction domain decoder may also comprise TCX decoder 130 and intelligent gap filling processor 132 to obtain the mono signal of full band through TCX decoding. Therefore, full band synthesis processor 134 may combine the mono signal of full band through ACELP decoding and the mono signal of full band through TCX decoding. In addition, cross path 136 may be provided to be used for using the information drawn from TCX decoder and IGF processor through low frequency band spectrum-time conversion to initialize the low frequency band synthesizer.

[0117] According to other embodiments, the audio decoder comprises: a frequency domain decoder 106; a second joint multi-channel decoder 110 for generating a second multi-channel representation 116 using the output of the frequency domain decoder 106 and the second multi-channel information 22, 24; and a first combiner 112 for combining the first channel signal and the second channel signal with the second multi-channel representation 116 to obtain a decoded audio signal 118, wherein the second joint multi-channel decoder is different from the first joint multi-channel decoder. Thus, the audio decoder can switch between parametric multi-channel decoding or frequency domain decoding using LPD. This method has been described in detail with respect to the previous figures.

[0118] According to other embodiments, the analysis filter bank 144 includes a DFT to convert a mono signal into a spectral representation 145, and wherein the full-band synthesis processor 148 includes an IDFT to convert the spectral representation 145 into a first channel signal and a second channel signal. Furthermore, the analysis filter bank may apply a window to the DFT-converted spectral representation 145 such that a right portion of the spectral representation of a previous frame and a left portion of the spectral representation of a current frame overlap, wherein the previous frame and the current frame are consecutive. In other words, a cross-fade may be applied from one DFT block to another to perform a smooth transition between consecutive DFT blocks and / or to reduce block artifacts.

[0119] According to other embodiments, the multi-channel decoder 146 is used to obtain the first channel signal and the second channel signal from the mono signal, wherein the mono signal is an intermediate signal of the multi-channel signal, and wherein the multi-channel decoder 146 is used to obtain the M / S multi-channel decoded audio signal, wherein the multi-channel decoder is used to calculate the side signal from the multi-channel information. In addition, the multi-channel decoder 146 can be used to calculate the L / R multi-channel decoded audio signal from the M / S multi-channel decoded audio signal, wherein the multi-channel decoder 146 can use the multi-channel information and the side signal to calculate the L / R multi-channel decoded audio signal for the low frequency band. Additionally or alternatively, the multi-channel decoder 146 can calculate the predicted side signal from the intermediate signal, and wherein the multi-channel decoder is further used to calculate the L / R multi-channel decoded audio signal for the high frequency band using the predicted side signal and the ILD value of the multi-channel information.

[0120] In addition, the multi-channel decoder 146 can also be used to perform complex operations on the L / R decoded multi-channel audio signal, wherein the multi-channel decoder can use the energy of the encoded intermediate signal and the energy of the decoded L / R multi-channel audio signal to calculate the amplitude of the complex operation to obtain energy compensation. In addition, the multi-channel decoder is used to calculate the phase of the complex operation using the IPD value of the multi-channel information. After decoding, the energy, level or phase of the decoded multi-channel signal may be different from the decoded mono signal. Therefore, the complex operation can be determined so that the energy, level or phase of the multi-channel signal is adjusted to the value of the decoded mono signal. In addition, the phase can be adjusted to the value of the phase of the multi-channel signal before encoding using (for example) the calculated IPD parameter from the multi-channel information calculated on the encoder side. In addition, the human perception of the decoded multi-channel signal can be adapted to the human perception of the original multi-channel signal before encoding.

[0121] Fig. 20 A schematic illustration of a flow chart of a method 2000 for encoding a multi-channel signal is shown. The method comprises: a step 2050 of downmixing the multi-channel signal to obtain a downmix signal; a step 2100 of encoding the downmix signal, wherein the downmix signal has a low frequency band and a high frequency band, wherein a linear prediction domain core encoder is used to apply a bandwidth extension process for parametrically encoding the high frequency band; a step 2150 of generating a spectral representation of the multi-channel signal; and a step 2200 of processing the spectral representation comprising the low frequency band and the high frequency band of the multi-channel signal to generate multi-channel information.

[0122] Fig.21A schematic illustration of a flow chart of a method 2100 for decoding an encoded audio signal comprising a core encoded signal, bandwidth extension parameters, and multi-channel information is shown. The method comprises: a step 2105 of decoding the core encoded signal to generate a mono signal; a step 2110 of converting the mono signal into a spectral representation; a step 2115 of generating a first channel spectrum and a second channel spectrum from the spectral representation of the mono signal and the multi-channel information; and a step 2120 of synthesis filtering the first channel spectrum to obtain the first channel signal and synthesis filtering the second channel spectrum to obtain the second channel signal.

[0123] Other embodiments are described below.

[0124] Bitstream syntax changes

[0125] The syntax of UsacCoreCoderData() in section 5.3.2 Auxiliary Payload of the USAC specification [1] should be modified as follows:

[0126] Table 1 - Syntax of UseCoreCoderData()

[0127]

[0128]

[0129] The following table should be added:

[0130] Table 1 - Syntax of lpd_stereo_stream()

[0131]

[0132]

[0133] The following payload description should be added in Section 6.2USAC Payload.

[0134] 6.2.x lpd_stereo_stream()

[0135] The detailed decoding procedure is described in the 7.x LPD Stereo Decoding chapter.

[0136] Terms and Definitions

[0137] lpd_stereo_stream() is used to decode stereo data in LPD mode.

[0138] res_mode is a flag indicating the frequency resolution of the parameter band.

[0139] q_mode Flag indicating the time resolution of the parameter band.

[0140] ipd_mode is a bit field defining the maximum value of the parameter band used for the IPD parameters.

[0141] pred_mode is a flag indicating whether to use prediction.

[0142] cod_mode is a bit field defining the maximum value of the parameter band in which the side signal is quantized.

[0143] Ild_idx[k][b] ILD parameter index for frame k and band b.

[0144] Ipd_idx[k][b] IPD parameter index for frame k and band b.

[0145] pred_gain_idx[k][b] prediction gain index for frame k and band b.

[0146] cod_gain_idx Global gain index of the quantized side signal.

[0147] Assisting elements

[0148] ccfl core code frame length.

[0149] M is the stereo LPD frame length as defined in Table 7.x.1.

[0150] band_config() returns the number of encoded parameter bands. Function defined in 7.x

[0151] band_limits() returns the number of encoded parameter bands. Function defined in 7.x

[0152] max_band() returns the number of encoded parameter bands. Function defined in 7.x

[0153] ipd_max_band() returns the number of encoded parameter bands.

[0154] cod_max_band() returns a function that returns the number of parameter bands encoded.

[0155] cod_L Number of DFT lines used for the decoded side signal.

[0156] Decoding process

[0157] LPD stereo coding

[0158] Tool Description

[0159] LPD stereo is a discrete M / S stereo coding, where the middle channel is encoded by the mono LPD core encoder and the side signal is encoded in the DFT domain. The decoded middle signal is output from the LPD mono decoder and then processed by the LPD stereo module. Stereo decoding is performed in the DFT domain, where the L and R channels are decoded. The two decoded channels are transformed back to the time domain and can then be combined in this domain with the decoded channels from the FD mode. The FD coding mode uses its own stereo tools, i.e. discrete stereo with or without complex prediction.

[0160] Data Elements

[0161] res_mode is a flag indicating the frequency resolution of the parameter band.

[0162] q_mode Flag indicating the time resolution of the parameter band.

[0163] ipd_mode is a bit field defining the maximum value of the parameter band used for the IPD parameters.

[0164] pred_mode is a flag indicating whether to use prediction.

[0165] cod_mode is a bit field defining the maximum value of the parameter band in which the side signal is quantized.

[0166] Ild_idx[k][b] ILD parameter index for frame k and band b.

[0167] Ipd_idx[k][b] IPD parameter index for frame k and band b.

[0168] pred_gain_idx[k][b] prediction gain index for frame k and band b.

[0169] cod_gain_idx Global gain index of the quantized side signal.

[0170] Assisting elements

[0171] ccfl core code frame length.

[0172] M is the stereo LPD frame length as defined in Table 7.x.1.

[0173] band_config() returns the number of encoded parameter bands. Function defined in 7.x

[0174] band_limits() returns the number of encoded parameter bands. Function defined in 7.x

[0175] max_band() returns the number of encoded parameter bands. Function defined in 7.x

[0176] ipd_max_band() returns the number of encoded parameter bands.

[0177] cod_max_band() returns a function that returns the number of parameter bands encoded.

[0178] cod_L Number of DFT lines used for the decoded side signal.

[0179] Decoding process

[0180] Stereo decoding is performed in the frequency domain. Stereo decoding acts as a post-processing of the LPD decoder. It receives a synthesis of the mono intermediate signal from the LPD decoder. The side signal is then decoded or predicted in the frequency domain. The channel spectra are then reconstructed in the frequency domain before resynthesis in the time domain. Independent of the coding mode used in LPD mode, stereo LPD works on a fixed frame size equal to the size of the ACELP frame.

[0181] Frequency Analysis

[0182] The DFT spectrum of frame index i is calculated from the decoded frame x of length M.

[0183]

[0184] Where N is the size of the signal analysis, w is the analysis window and x is the decoded time signal at frame index i of overlap size L of the delayed DFT from the LPD decoder. M is equal to the size of the ACELP frame at the sampling rate used in FD mode. N is equal to the stereo LPD frame size plus the overlap size of the DFT. The size depends on the LPD version used, as reported in Table 7.x.1.

[0185] Table 7.x.1 - DFT and frame size for stereo LPD

[0186] LPD Version DFT size N Frame size M Overlap size L 0 336 256 80 1 672 512 160

[0187] The window w is a sinusoidal window, which is defined as:

[0188]

[0189] Configuration of parameter bands

[0190] The DFT spectrum is divided into non-overlapping bands called parameter bands. The division of the spectrum is uneven and mimics the auditory frequency decomposition. Two different divisions of the spectrum may have a bandwidth that complies with approximately two or four times the equivalent rectangular bandwidth (ERB).

[0191] The spectrum partitioning is selected via the data element res_mod and is defined by the following pseudo code:

[0192]

[0193] Where nbands is the total number of parameter bands and N is the DFT analysis window size. Tables band_limits_erb2 and band_limits_erb4 are defined in Table 7.x.2. The decoder may adaptively change the resolution of the parameter bands of the spectrum every two stereo LPD frames.

[0194] Table 7.x.2 - Parameter band limits for DFT index k

[0195] Parameter band index b band_limits_erb2 band_limits_erb4 0 1 1 1 3 3 2 5 7 3 7 13 4 9 21 5 13 33 6 17 49 7 21 73 8 25 105 9 33 177 10 41 241 11 49 337 12 57 13 73 14 89 15 105 16 137 17 177 18 241 19 337

[0196] The maximum number of parameter bands for IPD is signaled in the 2-bit field ipd_mod data element:

[0197] ipd_max_band=max_band[res_mod][ipd_mod]

[0198] The maximum number of parameter bands used for the coding of the side signal is signaled within the 2-bit field cod_mod data element:

[0199] cod_max_band=max_band[res_mod][cod_mod]

[0200] The table max_band[][] is defined in Table 7.x.3.

[0201] Then, calculate the number of decoded lines expected for the side signal:

[0202] cod_L=2·(band_limits[cod_max_band]-1)

[0203] Table 7.x.3 - Maximum number of frequency bands for different code modes

[0204] Mode Index max_band[0] max_band[1] 0 0 0 1 7 4 2 9 5 3 11 6

[0205] Dequantization of stereo parameters

[0206] The stereo parameters Interchannel Level Differencies (ILD), Interchannel Phase Differencies (IPD) and prediction gains are sent every frame or every two frames depending on the flag q_mode. If q_mode is equal to 0, the parameters are updated every frame. Otherwise, the parameter values ​​are updated only for the odd index i of the stereo LPD frame within the USAC frame. The index i of the stereo LPD frame within the USAC frame can be between 0 and 3 in LPD version 0 and between 0 and 1 in LPD version 1.

[0207] The ILD is decoded as follows:

[0208] ILD i [b] = ild_q[ild_idx[i][b]], for 0≤b≤nbands

[0209] Decode IPD for the first ipd_max_band bands:

[0210] For 0≤b<ipd_max_band

[0211] The prediction gain is only decoded when the pred_mode flag is set to one. The decoded gain is thus:

[0212]

[0213] If pred_mode is equal to zero, all gains are set to zero.

[0214] Independent of the value of q_mode, if code_mode is non-zero, the decoding of the side signal is performed every frame. It first decodes the global gain:

[0215] cod_gain i =10 cod_gcin_idx[i]-20-127 / 90

[0216] The decoded shape of the side signal is the output of the AVQ described in section 1 of the USAC specification [1].

[0217] S i [1+8k+n]=kv[k][0][n], for 0≤n<8 and

[0218] Table 7.x.4 - Inverse quantization table ild_q[]

[0219] index Output index Output 0 -50 16 2 1 -45 17 4 2 -40 18 6 3 -35 19 8 4 -30 20 10 5 -25 21 13 6 -22 22 16 7 -19 23 19 8 -16 24 22 9 -13 25 25 10 -10 26 30 11 -8 27 35 12 -6 28 40 13 -4 29 45 14 -2 30 50 15 0 31 Reserve

[0220] Table 7.x.5 - Dequantization table res_pres_gain_q[]

[0221]

[0222]

[0223] Anti-channel mapping

[0224] First, the mid signal X and the side signal S are converted to the left channel L and the right channel R as follows:

[0225] L i [k] = X i [k]+gX i [k], for band_limits[b]≤k<band_limits[b+1],

[0226] R i [k] = X i [k]-gX i [k], for band_limits[b]≤k<band_limits[b+1], where the gain g for each parameter band is derived from the ILD parameters:

[0227] in

[0228] For parameter bands below cod_max_band, both channels are updated with the decoded side signal:

[0229] L i [k] = L i [k]+cod_gain i ·S i [k], for 0≤k<band_limits[cod_max_band],

[0230] R i [k] = R i [k]-cod_gain i ·S i [k], for 0≤k<band_limits[cod_max_band], for the higher parameter bands, the side signal is predicted and the channel is updated as follows:

[0231] L i [k] = L i [k]+cod_pred i [b] ·X i-1[k], for band_limits[b]≤k<band_limits[b+1],

[0232]

[0233] Finally, the channels are multiplied with complex values, with the goal of recovering the original energy of the signal and the phase between channels:

[0234] L i [k] = a·e j2πβ ·L i [k]

[0235] R i [k] = a·e j2πβ ·R i [k]

[0236] in

[0237]

[0238] Where c is constrained to -12dB and 12dB.

[0239] And among them

[0240] β=atan2(sin(IPD i [b]), cos(IPD i [b])+c)

[0241] where atan2(x,y) is the four-quadrant inverse tangent of x relative to y.

[0242] Time Domain Synthesis

[0243] From the two decoded spectra L and R, two time domain signals l and r are synthesized by inverse DFT:

[0244] For 0≤n<N

[0245] For 0≤n

[0246] Finally, an overlap-add operation allows to reconstruct a frame of M samples:

[0247]

[0248] Post-processing

[0249] Bass post-processing is applied to both channels separately. The processing for both channels is the same as described in Section 7.17 of [1].

[0250] It should be understood that in this specification, the signals on the line are sometimes named with the reference number used for the line or sometimes indicated with the reference number itself that already belongs to the line. Therefore, the line marked so that it has a certain signal indicates the signal itself. The line can be a physical line in a fixed-line implementation. However, in a computerized implementation, the physical line does not exist, but the signal represented by the line will be transmitted from one computing module to another computing module.

[0251] Although the present invention has been described in the context of block diagrams where blocks represent actual or logical hardware components, the present invention may also be implemented by computer-implemented methods. In the latter case, the blocks represent corresponding method steps, where these steps represent functionality performed by corresponding logical or physical hardware blocks.

[0252] Although some aspects have been described in the context of an apparatus, it is clear that these aspects also represent descriptions of corresponding methods, where blocks or devices correspond to method steps or features of method steps. Similarly, aspects described in the context of method steps also represent descriptions of corresponding blocks or items or features of corresponding apparatus. Some or all of the method steps may be performed by (or using) a hardware device (similar to, for example, a microprocessor, a programmable computer, or an electronic circuit). In some embodiments, one or more of the most important method steps may be performed by this device.

[0253] The transmitted or encoded signal of the present invention may be stored on a digital storage medium or may be transmitted on a transmission medium such as a wireless transmission medium or a wired transmission medium such as the Internet.

[0254] Depending on certain implementation requirements, embodiments of the present invention may be implemented in hardware or in software. Implementation may be performed using a digital storage medium (e.g., a floppy disk, DVD, Blu-Ray, CD, ROM, PROM, and EPROM, EEPROM, or flash memory) having electronically readable control signals stored thereon, cooperating (or capable of cooperating) with a programmable computer system to enable execution of the respective methods. Thus, the digital storage medium may be computer readable.

[0255] Some embodiments according to the invention comprise a data carrier having electronically readable control signals, which are capable of cooperating with a programmable computer system, such that one of the methods described herein is performed.

[0256] Generally, embodiments of the present invention can be implemented as a computer program product with a program code, the program code being operative for performing one of the methods when the computer program product is executed on a computer. The program code may, for example, be stored on a machine readable carrier.

[0257] Other embodiments comprise the computer program for performing one of the methods described herein, stored on a machine readable carrier.

[0258] In other words, an embodiment of the inventive method is, therefore, a computer program having a program code for performing one of the methods described herein, when the computer program runs on a computer.

[0259] A further embodiment of the inventive method is therefore a data carrier (or a non-transitory storage medium such as a digital storage medium, or a computer-readable medium) comprising, recorded thereon, the computer program for performing one of the methods described herein. The data carrier, the digital storage medium or the recorded medium are typically tangible and / or non-transitory.

[0260] Therefore, another embodiment of the inventive method is a data stream or a sequence of signals representing the computer program for performing one of the methods described herein. The sequence of data streams or signals may, for example, be used for transmission via a data communication connection, for example, via the Internet.

[0261] Another embodiment comprises processing means, for example a computer or a programmable logic device, configured or adapted to perform one of the methods described herein.

[0262] A further embodiment comprises a computer having installed thereon the computer program for performing one of the methods described herein.

[0263] Another embodiment according to the invention comprises an apparatus or system for transmitting (e.g. electronically or optically) a computer program for performing one of the methods described herein to a receiver. The receiver may, for example, be a computer, a mobile device, a memory device, etc. The apparatus or system may, for example, comprise a file server for transmitting the computer program to the receiver.

[0264] In some embodiments, a programmable logic device (e.g., a field programmable gate array) may be used to perform some or all of the functionality of the methods described herein. In some embodiments, the field programmable gate array may cooperate with a microprocessor to perform one of the methods described herein. Typically, the method is preferably performed by any hardware device.

[0265] The above embodiments are merely illustrative of the principles of the present invention. It should be understood that modifications and variations of the configurations and details described herein will be apparent to those skilled in the art. Therefore, it is intended to be limited only by the scope of the appended patent claims, rather than by the specific details presented by way of the description and explanation of the embodiments herein.

[0266] References

[0267] [1] ISO / IEC DIS23003-3, Usac

[0268] [2] ISO / IEC DIS23008-3, 3D audio

Claims

1. An audio encoder (2) for encoding a multi-channel signal (4), comprising: Linear prediction domain encoder (6); Frequency domain encoder (8); a controller (10) for switching between the linear prediction domain encoder (6) and the frequency domain encoder (8), The linear prediction domain encoder (6) comprises a downmixer (12) for downmixing the multi-channel signal (4) to obtain a downmix signal (14), a linear prediction domain core encoder (16) for encoding the downmix signal (14), and a first joint multi-channel encoder (18) for generating first multi-channel information (20) from the multi-channel signal (4). wherein the frequency domain encoder (8) comprises a second joint multi-channel encoder (22) for generating second multi-channel information (24) from the multi-channel signal (4), wherein the second joint multi-channel encoder (22) is different from the first joint multi-channel encoder (18), wherein the controller (10) is configured to perform switching so that a portion of the multi-channel signal (4) is represented by a coding frame of the linear prediction domain encoder (6) or by a coding frame of the frequency domain encoder (8); and The audio encoder further comprises a linear prediction domain decoder for decoding the encoded downmix signal (14) output by the linear prediction domain core encoder (16) to obtain an encoded and decoded downmix signal (54); and a multi-channel residual encoder (56) for calculating and encoding a multi-channel residual signal (58) using the encoded and decoded downmix signal (54), wherein the multi-channel residual signal (58) is obtained by difference processing and represents an error between a decoded multi-channel representation obtained using the first multi-channel information (20) and the multi-channel signal (4) before downmixing.

2. The audio encoder (2) according to claim 1, wherein the first joint multi-channel encoder (18) comprises a first time-frequency converter (82), wherein the second joint multi-channel encoder (22) comprises a second time-frequency converter (66), and wherein the first time-frequency converter (82) and the second time-frequency converter (66) are different from each other.

3. The audio encoder (2) according to claim 1, wherein the first joint multi-channel encoder (18) is a parametric joint multi-channel encoder; or The second joint multi-channel encoder (22) is a waveform-preserving joint multi-channel encoder.

4. The audio encoder according to claim 3, wherein the parameterized joint multi-channel encoder comprises a stereo generation encoder, a parameterized stereo encoder or a rotation-based parameterized stereo encoder, or Wherein the waveform preserving joint multi-channel encoder comprises a band selective switching mid / side or left / right stereo encoder.

5. An audio encoder (2) according to claim 1, wherein the frequency domain encoder (8) comprises a second time-to-frequency converter (66) for converting a first channel (4a) of the multi-channel signal (4) and a second channel (4b) of the multi-channel signal (4) into a spectral representation (72a, b), a second parameter generator (68) for generating a parameterized representation of the second set of frequency bands, and a second quantizer encoder (70) for generating a quantized and encoded representation (80) of the first set of frequency bands.

6. The audio encoder (2) according to claim 1, Where the TCX processor includes MDCT operation and intelligent gap filling function, or wherein the frequency domain encoder (8) comprises an MDCT operation and an AAC operation for a first channel (4a) and a second channel (4b) of the multi-channel signal (4) and a smart gap filling function, or The first joint multi-channel encoder (18) is arranged to operate in such a way as to derive full-bandwidth multi-channel information for the multi-channel signal (4).

7. The audio encoder (2) according to claim 1, The downmix signal has a low frequency band and a high frequency band, the linear prediction domain encoder (6) is used to apply a bandwidth extension process for parameterized encoding of the high frequency band, the linear prediction domain decoder is used to obtain only a low frequency band signal representing the low frequency band of the downmix signal as an encoded and decoded downmix signal (54), and the encoded multi-channel residual signal (58) has only frequency components within the low frequency band of the multi-channel signal (4) before downmixing.

8. The audio encoder (2) according to claim 1, The multi-channel residual encoder (56) comprises: a joint multi-channel decoder (60) for generating a decoded multi-channel signal (64) using the first multi-channel information (20) and the encoded and decoded downmix signal (54); as well as A difference processor (62) is provided for forming a difference between the decoded multi-channel signal (64) and the multi-channel signal (4) before downmixing to obtain a multi-channel residual signal (58).

9. The audio encoder (2) according to claim 1, wherein the downmixer (12) is configured to convert the multi-channel signal (4) into a spectral representation, and wherein the downmixing is performed using the spectral representation or using a time domain representation, and The first joint multi-channel encoder (18) is used for generating separate first multi-channel information for each frequency band of the spectral representation using the spectral representation.

10. An audio decoder (102) for decoding an encoded audio signal (103), comprising: Linear prediction domain decoder; Frequency domain decoder (106); a first joint multi-channel decoder (108) for generating a first multi-channel representation (114) using the output of the linear prediction domain decoder and using the first multi-channel information (20); a second joint multi-channel decoder (110) for generating a second multi-channel representation (116) using the output of the frequency domain decoder (106) and the second multi-channel information (24); and a first combiner (112) for combining the first multi-channel representation (114) and the second multi-channel representation (116) on a frame basis to obtain a decoded audio signal (118), wherein the second joint multi-channel decoder (110) is different from the first joint multi-channel decoder (108); and wherein the encoded audio signal (103) comprises a multi-channel residual signal (58) for a decoded downmix signal (142) output by the linear prediction domain decoder, and wherein the first joint multi-channel decoder (108) is configured to generate the first multi-channel representation (114) using the multi-channel residual signal (58) in addition to the decoded downmix signal (142) and the first multi-channel information (20).

11. The audio decoder (102) according to claim 10, wherein the first joint multi-channel decoder (108) is a parametric joint multi-channel decoder, and wherein the second joint multi-channel decoder (110) is a waveform preserving joint multi-channel decoder, wherein the first joint multi-channel decoder (108) is configured to operate based on complex prediction, parametric stereo operation or rotation operation, and The second joint multi-channel decoder (110) is used for applying frequency band selective switching to a mid / side or left / right stereo decoding algorithm.

12. The audio decoder (102) of claim 10, wherein the linear prediction domain decoder comprises: TCX decoder (130) and intelligent gap filling IGF processor (132); a full-band synthesis processor (134) for combining the outputs of the second combiner (128) and the IGF processor (132) of the TCX decoder (130), and A crossover path (136) is used to initialize a low-band synthesizer (122) using information derived from signals generated by the TCX decoder (130) and the IGF processor (132) through low-band spectrum-time conversion.

13. The audio decoder (102) according to claim 10, The first joint multi-channel decoder (108) comprises: a time-to-frequency converter (144) for converting the output of the linear prediction domain decoder into a spectral representation (145); an up-mixer controlled by the first multi-channel information (20) to operate on the spectral representation (145); and A frequency-to-time converter (148) is provided for converting the upmix result into a time representation corresponding to the first multi-channel representation (114).

14. The audio decoder (102) according to claim 10, The second joint multi-channel decoder (110) is used for: using as input a spectral representation obtained by the frequency domain decoder (106), the spectral representation comprising at least a first channel signal and a second channel signal for a plurality of frequency bands; and A joint multi-channel operation is applied to a plurality of frequency bands of the first channel signal and the second channel signal and a result of the joint multi-channel operation is converted into a time representation to obtain the second multi-channel representation (116).

15. An audio decoder (102) according to claim 14, wherein the second multi-channel information (24) is a mask indicating left / right or mid / side joint multi-channel encoding for each frequency band, and wherein the joint multi-channel operation is a mid / side to left / right conversion operation for converting the frequency band indicated by the mask from a mid / side representation to a left / right representation.

16. The audio decoder (102) of claim 13, wherein the multi-channel residual signal (58) has a lower bandwidth than the first multi-channel representation (114), and wherein the first joint multi-channel decoder (108) is configured to reconstruct an intermediate first multi-channel representation (114) using the first multi-channel information (20) and the decoded downmix signal (142) and to add the multi-channel residual signal (58) to the intermediate first multi-channel representation.

17. The audio decoder (102) according to claim 13, wherein the time-to-frequency converter (144) includes a complex number operation or an oversampling operation, and The frequency domain decoder (106) includes an IMDCT operation (152) or a critical sampling operation.

18. The audio decoder (102) of claim 13 or the audio encoder (2) of claim 1, wherein the multiple channels refer to two or more channels.

19. A method (800) for encoding a multi-channel signal (4), comprising: performing linear prediction domain coding; performing frequency domain coding; switching between the linear prediction domain coding and the frequency domain coding, wherein the linear prediction domain encoding comprises: downmixing the multi-channel signal to obtain a downmix signal, performing linear prediction domain core encoding on the downmix signal, and generating a first joint multi-channel encoding of first multi-channel information from the multi-channel signal, wherein the frequency domain encoding comprises generating a second joint multi-channel encoding of second multi-channel information from the multi-channel signal, wherein the second joint multi-channel encoding is different from the first joint multi-channel encoding, wherein switching is performed such that parts of the multi-channel signal are represented by coded frames encoded in the linear prediction domain or by coded frames encoded in the frequency domain; and The encoding method (800) further comprises linear prediction domain decoding, comprising decoding the encoded downmix signal (14) output by the linear prediction domain core encoding to obtain an encoded and decoded downmix signal (54); and multi-channel residual encoding, comprising calculating and encoding a multi-channel residual signal (58) using the encoded and decoded downmix signal (54), wherein the multi-channel residual signal (58) is obtained by difference processing and represents an error between a decoded multi-channel representation obtained using the first multi-channel information (20) and the multi-channel signal (4) before downmixing.

20. A method (900) for decoding an encoded audio signal (103), comprising: Linear prediction domain decoding; Frequency domain decoding; generating a first joint multi-channel decoding of a first multi-channel representation using an output of the linear prediction domain decoding and using first multi-channel information; generating a second joint multi-channel decoding of a second multi-channel representation using the output of the frequency domain decoding and the second multi-channel information; combining the first multi-channel representation and the second multi-channel representation on a frame basis to obtain a decoded audio signal (118), wherein the second joint multi-channel decoding is different from the first joint multi-channel decoding; and wherein the encoded audio signal (103) comprises a multi-channel residual signal for a decoded downmix signal (142) output by the linear prediction domain decoding, and wherein the first joint multi-channel decoding uses the multi-channel residual signal (58) in addition to the decoded downmix signal (142) and the first multi-channel information (20) to generate the first multi-channel representation (114).

21. A storage medium having a computer program stored thereon, for executing the method according to claim 19 or claim 20 when the computer program is run on a computer or a processor.

Citation Information

Patent Citations

  • Method and apparatus for correcting audio signal

    CN101373594A

  • Audio encoder and decoder for encoding frames of sampled audio signals

    CN102105930A

  • Low bitrate audio encoding / decoding scheme having cascaded switches

    CN102113051A

  • Audio signal encoder, audio signal decoder, method for encoding or decoding an audio signal using an aliasing-cancellation

    CN102884574A

  • Audio Encoder For Encoding A Multichannel Signal And Audio Decoder For Decoding An Encoded Audio Signal

    CN107430863A