Backward-compatible integration of harmonic transposers for high-frequency reconstruction of audio signals

By using analysis filter banks and high-frequency reconstruction metadata in the audio decoder, combined with spectral transformation or harmonic transposition technology, the problem of unsatisfactory high-frequency reconstruction efficiency of audio signals in the existing technology is solved, and low-interface reconstruction is achieved. Effective spectral band reproduction of cross-frequency music content.

CN112863528BActive Publication Date: 2024-09-13DOLBY INTERNATIONAL AB

Patent Information

Application Number
CN202110086189.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2017-03-23
Filing Date
2018-03-19
Publication Date
2024-09-13
Estimated Expiration
2038-03-19

AI Technical Summary

Technical Problem

Existing audio signal processing technology has the problem of unsatisfactory spectrum repair efficiency in high-frequency reconstruction. Especially for music content with low crossover frequencies, it is difficult to effectively improve spectral band replication.

Method used

A method and audio decoder are used to receive an encoded audio bitstream, decode the low-band audio signal, filter it using an analysis filter bank and high-frequency reconstruction metadata, and then perform spectral transformation or harmonic transformation based on the indicator flag. setting to regenerate the high-band part of the audio signal, thereby forming a wideband audio signal.

Benefits of technology

Improves the quality of high-frequency reconstruction of audio signals, especially in low crossover frequency music content, and enhances the efficiency of spectral band replication and audio quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112863528B_ABST
    Figure CN112863528B_ABST
Patent Text Reader

Abstract

The present application relates to backward compatible integration of a harmonic transposer for high frequency reconstruction of an audio signal. The present application discloses a method for decoding an encoded audio bitstream. The method includes receiving the encoded audio bitstream, and decoding audio data to produce a decoded low-band audio signal. The method further includes extracting high frequency reconstruction metadata, and filtering the decoded low-band audio signal using an analysis filter bank to produce a filtered low-band audio signal. The method also includes extracting a flag indicating whether a spectral transform or a harmonic transposition is to be performed on the audio data, and regenerating a high-band portion of the audio signal using the filtered low-band audio signal and the high frequency reconstruction metadata according to the flag.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Information about divisional applications

[0002] This case is a divisional application. The parent case of the divisional application is an invention patent application with application date of March 19, 2018, application number 201880006745.5, and invention name “Backward-compatible integration of harmonic transposers for high-frequency reconstruction of audio signals”. Technical Field

[0003] Embodiments relate to audio signal processing, and more particularly, embodiments relate to encoding, decoding, or transcoding of an audio bitstream wherein control data specifies that a base form of high frequency reconstruction ("HFR") or an enhanced form of HFR is to be performed on the audio data. Background Art

[0004] A typical audio bitstream includes both audio data (e.g., encoded audio data) indicating one or more channels of audio content and metadata indicating at least one characteristic of the audio data or audio content. One well-known format for generating encoded audio bitstreams is the MPEG-4 Advanced Audio Coding (AAC) format described in the MPEG standard ISO / IEC 14496-3:2009. In the MPEG-4 standard, AAC stands for "Advanced Audio Coding" and HE-AAC stands for "High Efficiency Advanced Audio Coding".

[0005] The MPEG-4 AAC standard defines several audio profiles that determine which objects and coding tools are present in a compliant encoder or decoder. Three of these audio profiles are (1) the AAC profile, (2) the HE-AAC profile, and (3) the HE-AAC v2 profile. The AAC profile includes the AAC Low Complexity (or "AAC-LC") object type. The AAC-LC object is the counterpart of the MPEG-2 AAC Low Complexity profile, with some adjustments, and includes neither the Spectral Band Replication ("SBR") object type nor the Parametric Stereo ("PS") object type. The HE-AAC profile is a superset of the AAC profile and additionally includes the SBR object type. The HE-AAC v2 profile is a superset of the HE-AAC profile and additionally includes the PS object type.

[0006] The SBR object type contains a spectral band replication tool, which is an important high frequency reconstruction ("HFR") coding tool that significantly improves the compression efficiency of perceptual audio codecs. SBR reconstructs the high frequency components of the audio signal on the receiver side (e.g., in the decoder). Therefore, the encoder needs to encode and transmit only the low frequency components, allowing much higher audio quality at low data rates. SBR is based on replicating harmonic sequences, which were previously truncated to reduce the data rate, from available bandwidth-limited signals and control data obtained from the encoder. The ratio between tonal components and noise-like components is maintained by adaptive inverse filtering and optional addition of noise and sine waves. In the MPEG-4 AAC standard, the SBR tool performs spectral patching (also known as linear transform or spectral transform), in which several consecutive quadrature mirror filter (QMF) subbands are copied (or "patched") from the transmitted lowband portion of the audio signal to the highband portion of the audio signal generated in the decoder.

[0007] For certain audio genres, such as music content with relatively low crossover frequencies, spectral patching or linear transformation may not be ideal.Therefore, techniques for improving spectral band replication are needed. Summary of the invention

[0008] A first class of embodiments relates to a method for decoding an encoded audio bitstream. The method includes receiving the encoded audio bitstream, and decoding audio data to produce a decoded low-band audio signal. The method further includes extracting high-frequency reconstruction metadata, and filtering the decoded low-band audio signal using an analysis filter bank to produce a filtered low-band audio signal. The method further includes extracting a flag indicating whether a spectral transform or a harmonic transposition is to be performed on the audio data, and regenerating a high-band portion of the audio signal using the filtered low-band audio signal and the high-frequency reconstruction metadata according to the flag. Finally, the method includes combining the filtered low-band audio signal and the regenerated high-band portion to form a wideband audio signal.

[0009] A second class of embodiments relates to an audio decoder for decoding an encoded audio bitstream. The decoder comprises an input interface for receiving the encoded audio bitstream, wherein the encoded audio bitstream comprises audio data representing a low-band portion of an audio signal; and a core decoder for decoding the audio data to produce a decoded low-band audio signal. The decoder also comprises a deformatter for extracting high-frequency reconstruction metadata from the encoded audio bitstream, wherein the high-frequency reconstruction metadata comprises operating parameters of a high-frequency reconstruction process for linearly transforming a continuous number of subbands from the low-band portion of the audio signal to a high-band portion of the audio signal; and an analysis filter bank for filtering the decoded low-band audio signal to produce a filtered low-band audio signal. The decoder further comprises a deformatter for extracting a flag from the encoded audio bitstream indicating whether a linear transformation or a harmonic transposition is to be performed on the audio data; and a high-frequency regenerator for regenerating the high-band portion of the audio signal using the filtered low-band audio signal and the high-frequency reconstruction metadata according to the flag. Finally, the decoder comprises a synthesis filter bank for combining the filtered lowband audio signal and the regenerated highband portion to form a wideband audio signal.

[0010] Other classes of embodiments involve encoding and transcoding an audio bitstream that contains metadata identifying whether enhanced spectral band replication (eSBR) processing is to be performed. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 is a block diagram of an embodiment of a system that may be configured to perform embodiments of the present method.

[0012] Figure 2 is a block diagram of an encoder as an embodiment of the audio processing unit of the present invention.

[0013] Figure 3 is a block diagram of a system including a decoder which is an embodiment of the audio processing unit of the present invention and optionally also including a post-processor coupled to the decoder.

[0014] Figure 4 is a block diagram of a decoder as an embodiment of the audio processing unit of the present invention.

[0015] Figure 5 is a block diagram of a decoder as another embodiment of the audio processing unit of the present invention.

[0016] Figure 6 is a block diagram of another embodiment of an audio processing unit of the present invention.

[0017] Figure 7 is an illustration of blocks of an MPEG-4 AAC bitstream including the segments into which it is divided.

[0018] Notes and naming

[0019] Throughout the present invention, including in the claims, expressions referring to “performing an operation on” a signal or data (e.g., filtering, scaling, transforming, or applying a gain to the signal or data) are used in a broad sense to refer to performing the operation directly on the signal or data or on a processed version of the signal or data (e.g., on a version of the signal that has undergone preliminary filtering or preprocessing before the operation is performed on the signal).

[0020] Throughout the present invention, including in the claims, the expression "audio processing unit" or "audio processor" is used in a broad sense to refer to a system, device or apparatus configured to process audio data. Examples of audio processing units include, but are not limited to, encoders, transcoders, decoders, codecs, pre-processing systems, post-processing systems and bitstream processing systems (sometimes referred to as bitstream processing tools). Virtually all consumer electronic products, such as mobile phones, televisions, laptops and tablet computers, contain an audio processing unit or audio processor.

[0021] Throughout this disclosure, including in the claims, the term "coupled" is used in a broad sense to mean either a direct or indirect connection. Thus, if a first device is coupled to a second device, the connection may be through a direct connection or through an indirect connection via other devices and connectors. Additionally, components that are integrated into or with other components are also coupled to each other. DETAILED DESCRIPTION

[0022] The MPEG-4 AAC standard contemplates that an encoded MPEG-4 AAC bitstream includes metadata indicating each type of high frequency reconstruction ("HFR") processing to be applied by a decoder (if any processing is to be applied) to decode the audio content of the bitstream, and / or controlling such HFR processing, and / or indicating at least one characteristic or parameter of at least one HFR tool to be used to decode the audio content of the bitstream. Herein, we use the expression "SBR metadata" to mean this type of metadata described or referred to in the MPEG-4 AAC standard for use with spectral band replication ("SBR"). As is understood by those skilled in the art, SBR is a form of HFR.

[0023] SBR is preferably used as a dual rate system, where the base codec operates at half the original sampling rate, while SBR operates at the original sampling rate. The SBR encoder works in parallel with the base core codec, even at a higher sampling rate. Although SBR is mainly a post-process in the decoder, important parameters are extracted in the encoder to ensure the most accurate high-frequency reconstruction in the decoder. The encoder estimates the spectral envelope of the SBR range suitable for the time and frequency range / resolution of the current input signal segment characteristics. The spectral envelope is estimated by complex QMF analysis and subsequent energy calculation. The time and frequency resolution of the spectral envelope can be selected with a high degree of freedom to ensure the most appropriate time-frequency resolution for a given input segment. Envelope estimation needs to take into account that before envelope adjustment, the instants in the original source mainly located in the high frequency region (e.g., peak) will exist in the SBR generation high band to a small extent, because the high band in the decoder is based on the low band where the instants are less significant than the high band. Compared to ordinary spectral envelope estimation as used in other audio decoding algorithms, this aspect puts forward different requirements for the time-frequency resolution of spectral envelope data.

[0024] In addition to the spectral envelope, several additional parameters representing the spectral characteristics of the input signal are extracted for different time and frequency regions. Because the encoder naturally has access to the original signal and information about how the SBR unit in the decoder will create the high band in view of a specific set of control parameters, it is possible for the system to handle situations where the low band constitutes a strong harmonic series and the high band to be recreated mainly constitutes a random signal component, as well as situations where strong tonal components exist in the original high band and have no counterpart in the low band, and the high band area is based on the counterpart. In addition, the work of the SBR encoder is closely related to the basic core codec to evaluate which frequency range should be covered by SBR at a given time. For stereo signals, the SBR data is effectively decoded before transmission by utilizing entropy decoding and channel dependencies of control data.

[0025] The control parameter extraction algorithm usually needs to be carefully tuned to the underlying codec at a given bit rate and a given sampling rate. This is due to the fact that lower bit rates usually imply a larger SBR range compared to high bit rates, and different sampling rates correspond to different temporal resolutions of the SBR frame.

[0026] SBR decoder usually includes several different components. SBR decoder includes bit stream decoding module, high frequency reconstruction (HFR) module, additional high frequency component module and envelope adjuster module. The system is based on complex value QMF filter bank. In the bit stream extraction module, control data is read from the bit stream and decoded. Before the envelope data is read from the bit stream, the time frequency grid is obtained for the current frame. The basic core decoder decodes the audio signal of the current frame (even at a lower sampling rate) to produce time domain audio samples. The resulting frame of the audio data is used by the HFR module for high frequency reconstruction. Then, the decoded low band signal is analyzed using QMF filter bank. Subsequently, high frequency reconstruction and envelope adjustment are performed to the subband samples of the QMF filter bank. High frequency is reconstructed from the low band in a flexible manner based on given control parameters. In addition, adaptive filtering is performed on the subband channel basis according to the control data to ensure the appropriate spectrum characteristics of a given time / frequency region through the reconstructed high band.

[0027] The top layer of an MPEG-4 AAC bitstream is a series of data blocks ("raw_data_block" elements), each of which is a data segment (referred to herein as a "block") containing audio data (typically for a period of 1024 or 960 samples) and related information and / or other data. Herein, we use the term "block" to refer to a segment of an MPEG-4 AAC bitstream that includes audio data (and corresponding metadata and optionally other related data) that determines or indicates one (but no more than one) "raw_data_block" element.

[0028] Each block of an MPEG-4 AAC bitstream may include several syntax elements (each of which is also embodied in the bitstream as a data fragment). Seven types of such syntax elements are defined in the MPEG-4 AAC standard. Each syntax element is identified by a different value of the data element "id_syn_ele". Examples of syntax elements include "single_channel_element()", "channel_pair_element()", and "fill_element()". A single channel element is a container that contains audio data for a single audio channel (a mono audio signal). A channel pair element contains audio data for two audio channels (i.e., a stereo audio signal).

[0029] A padding element is a container containing an identifier (e.g., the value of the element "id_syn_ele" described above) followed by information called "padding data". Padding elements have historically been used to adjust the instantaneous bit rate of a bit stream to be transmitted via a constant rate channel. By adding an appropriate amount of padding data to each block, a constant data rate can be achieved.

[0030] According to an embodiment of the present invention, the padding data may include one or more extension payloads that expand the type of data (e.g., metadata) that can be transmitted in the bitstream. A decoder that receives a bitstream with padding data containing new types of data may optionally be used by a device (e.g., a decoder) receiving the bitstream to expand the functionality of the device. Thus, as can be appreciated by those skilled in the art, padding elements are a special type of data structure and are different from data structures that are typically used to transmit audio data (e.g., an audio payload containing channel data).

[0031] In some embodiments of the present invention, the identifier used to identify the padding element may consist of a three-digit unsigned integer ("uimsbf") with a value of 0x6, transmitted most significant bit first. In a block, several instances of the same type of syntax element may appear (e.g., several padding elements).

[0032] Another standard for encoding audio bitstreams is the MPEG Unified Speech and Audio Coding (USAC) standard (ISO / IEC 23003-3:2012). The MPEG USAC standard describes the encoding and decoding of audio content using a spectral band replication process (including the SBR process as described in the MPEG-4 AAC standard, and also including other enhancements to the spectral band replication process). This process applies an extended and enhanced version of the SBR toolset described in the MPEG-4 AAC standard, the spectral band replication tools (sometimes referred to herein as "enhanced SBR tools" or "eSBR tools"). Thus, eSBR (as defined in the USAC standard) is an improvement over SBR (as defined in the MPEG-4 AAC standard).

[0033] In this document, we use the expression "enhanced SBR processing" (or "eSBR processing") to denote a spectral band replication process that uses at least one eSBR tool not described or mentioned in the MPEG-4 AAC standard (e.g., at least one eSBR tool described or mentioned in the MPEG USAC standard). Examples of such eSBR tools are harmonic transposition and QMF patching additional preprocessing or "pre-flattening".

[0034] A harmonic transposer of integer order T maps a sine wave with frequency ω to a sine wave with frequency Tω while maintaining signal duration. Three orders, T=2, 3, 4, are typically used in sequence to produce each portion of the desired output frequency range using the smallest possible transposition order. If an output above the fourth order transposition range is required, it can be produced by frequency shifting. When possible, a near critically sampled baseband time domain is created for processing to minimize computational complexity.

[0035] A bitstream generated according to the MPEG USAC standard (sometimes referred to herein as a "USAC bitstream") includes encoded audio content and typically includes metadata indicating each type of spectral band replication processing to be applied by a decoder to decode the audio content of the USAC bitstream, and / or metadata that controls such spectral band replication processing and / or indicates at least one characteristic or parameter of at least one SBR tool and / or eSBR tool to be used to decode the audio content of the USAC bitstream.

[0036] In this document, we use the expression "enhanced SBR metadata" (or "eSBR metadata") to refer to metadata as follows: the metadata indicates each type of spectral band replication processing to be applied by a decoder to decode the audio content of an encoded audio bitstream (e.g., a USAC bitstream), and / or controls such spectral band replication processing, and / or indicates at least one characteristic or parameter of at least one SBR tool and / or eSBR tool to be used to decode such audio content but not described or mentioned in the MPEG-4 AAC standard. An example of eSBR metadata is metadata (indicating or used to control spectral band replication processing) described or mentioned in the MPEG USAC standard but not described or mentioned in the MPEG-4 AAC standard. Therefore, eSBR metadata in this document refers to metadata that is not SBR metadata, and SBR metadata in this document refers to metadata that is not eSBR metadata.

[0037] USAC bitstreams may include both SBR metadata and eSBR metadata. More specifically, USAC bitstreams may include eSBR metadata that controls eSBR processing performed by a decoder, and SBR metadata that controls SBR processing performed by a decoder. According to typical embodiments of the invention, eSBR metadata (e.g., eSBR specific configuration data) is included (according to the invention) in an MPEG-4 AAC bitstream (e.g., in an sbr_extension() container at the end of the SBR payload).

[0038] During decoding of an encoded bitstream using an eSBR toolset (including at least one eSBR tool), eSBR processing performed by the decoder regenerates the high frequency band of the audio signal based on a replication of the harmonic sequence truncated during encoding. Such eSBR processing typically adjusts the spectral envelope of the generated high frequency band and applies inverse filtering, and adds noise and sine wave components to recreate the spectral characteristics of the original audio signal.

[0039] According to typical embodiments of the present invention, eSBR metadata is included (e.g., is a small number of control bits of eSBR metadata included) in one or more of the metadata segments of an encoded audio bitstream (e.g., an MPEG-4 AAC bitstream), the encoded audio bitstream also including the encoded audio data in other segments (audio data segments). Typically, at least one such metadata segment for each block of the bitstream is (or includes) a filler element (including an identifier indicating the start of the filler element), and the eSBR metadata is included in the filler element after the identifier.

[0040] Figure 1 is a block diagram of an exemplary audio processing chain (audio data processing system), in which one or more of the elements of the system may be configured according to embodiments of the present invention. The system includes the following elements coupled together as shown: encoder 1, transport subsystem 2, decoder 3, and post-processing unit 4. In variations of the system shown, one or more of the elements are omitted, or additional audio data processing units are included.

[0041] In some implementations, the encoder 1 (which optionally includes a pre-processing unit) is configured to accept PCM (time domain) samples including audio content as input, and output an encoded audio bitstream (having a format that complies with the MPEG-4 AAC standard) indicating the audio content. The data of the bitstream indicating the audio content is sometimes referred to herein as "audio data" or "encoded audio data". If the encoder is configured according to a typical embodiment of the present invention, the audio bitstream output from the encoder includes eSBR metadata (and typically other metadata) as well as the audio data.

[0042] One or more encoded audio bitstreams output from encoder 1 may be asserted to encoded audio delivery subsystem 2. Subsystem 2 is configured to store and / or deliver each encoded bitstream output from encoder 1. The encoded audio bitstreams output from encoder 1 may be stored by subsystem 2 (e.g., in the form of a DVD or Blu-ray disc), or transmitted by subsystem 2 (which may implement a transmission link or network), or may be stored and transmitted by subsystem 2.

[0043] Decoder 3 is configured to decode an encoded MPEG-4 AAC audio bitstream (produced by encoder 1) that it receives via subsystem 2. In some embodiments, decoder 3 is configured to extract eSBR metadata from each block of the bitstream, and decode the bitstream (including by performing eSBR processing using the extracted eSBR metadata) to produce decoded audio data (e.g., a stream of decoded PCM audio samples). In some embodiments, decoder 3 is configured to extract SBR metadata from the bitstream (but ignore eSBR metadata included in the bitstream), and decode the bitstream (including by performing SBR processing using the extracted SBR metadata) to produce decoded audio data (e.g., a stream of decoded PCM audio samples). Typically, decoder 3 includes a buffer that stores (e.g., in a non-temporary manner) segments of an encoded audio bitstream received from subsystem 2.

[0044] Figure 1 The post-processing unit 4 is configured to accept a stream of decoded audio data (e.g., decoded PCM audio samples) from the decoder 3 and perform post-processing on the stream of decoded audio data. The post-processing unit may also be configured to present the post-processed audio content (or the decoded audio received from the decoder 3) for playback by one or more speakers.

[0045] Figure 2 1 is a block diagram of an encoder (100) as an embodiment of an audio processing unit of the present invention. Any of the components or elements of the encoder 100 may be implemented as one or more processes and / or one or more circuits (e.g., ASICs, FPGAs, or other integrated circuits) in hardware, software, or a combination of hardware and software. The encoder 100 includes an encoder 105, a stuffer / formatter stage 107, a metadata generation stage 106, and a buffer memory 109 connected as shown. The encoder 100 also typically includes other processing elements (not shown). The encoder 100 is configured to convert an input audio bitstream into an encoded output MPEG-4 AAC bitstream.

[0046] The metadata generator 106 is coupled and configured to generate (and / or pass to the stage 107 ) metadata (including eSBR metadata and SBR metadata) to be included by the stage 107 in the encoded bitstream to be output from the encoder 100 .

[0047] Encoder 105 is coupled and configured to encode (eg, by performing compression on the input audio data) input audio data, and assert the resulting encoded audio to stage 107 for inclusion in an encoded bitstream to be output from stage 107 .

[0048] Stage 107 is configured to multiplex the encoded audio from encoder 105 and metadata (including eSBR metadata and SBR metadata) from generator 106 to produce an encoded bitstream to be output from stage 107, preferably such that the encoded bitstream has a format as specified by one of the embodiments of the invention.

[0049] The buffer memory 109 is configured to store (e.g., in a non-transitory manner) at least one block of the encoded audio bitstream output from stage 107, and then assert a series of blocks of the encoded audio bitstream from the buffer memory 109 as output from the encoder 100 to the delivery system.

[0050] Figure 3 1 is a block diagram of a system including a decoder (200) that is an embodiment of an audio processing unit of the present invention and optionally also including a post-processor (300) coupled to the decoder (200). Any of the components or elements of the decoder 200 may be implemented as one or more processes and / or one or more circuits (e.g., ASICs, FPGAs, or other integrated circuits) in hardware, software, or a combination of hardware and software. The decoder 200 includes a buffer memory 201, a bitstream payload deformatter (parser) 205, an audio decoding subsystem 202 (sometimes referred to as a "core" decoding stage or "core" decoding subsystem), an eSBR processing stage 203, and a control bit generation stage 204 connected as shown. The decoder 200 typically also includes other processing elements (not shown).

[0051] Buffer memory (buffer) 201 stores (eg, in a non-transitory manner) at least one block of an encoded MPEG-4 AAC audio bitstream received by decoder 200. In operation of decoder 200, a series of blocks of the bitstream are asserted from buffer 201 to deformatter 205.

[0052] exist Figure 3 Embodiment (or will be described Figure 4 In a variation of the embodiment), an APU other than a decoder (e.g., Figure 6 APU 500) includes storage (e.g., in a non-transitory manner) by Figure 3 or Figure 4 A buffer memory (e.g., the same buffer memory as buffer 201) of at least one block of the same type of encoded audio bitstream (e.g., an MPEG-4 AAC audio bitstream) received by buffer 201 (i.e., an encoded audio bitstream containing eSBR metadata).

[0053] Reference again Figure 3, the deformatter 205 is coupled and configured to demultiplex each block of the bitstream to extract SBR metadata (including quantized envelope data) and eSBR metadata (and typically other metadata as well) from each block to assert at least the eSBR metadata and SBR metadata to the eSBR processing stage 203, and typically also assert other extracted metadata to the decoding subsystem 202 (and optionally also to the control bit generator 204). The deformatter 205 is also coupled and configured to extract audio data from each block of the bitstream, and assert the extracted audio data to the decoding subsystem (decoding stage) 202.

[0054] Figure 3 The system optionally further includes a post-processor 300. The post-processor 300 includes a buffer memory (buffer) 301, and other processing elements (not shown) including at least one processing element coupled to the buffer 301. The buffer 301 stores (e.g., in a non-temporary manner) at least one block (or frame) of decoded audio data received by the post-processor 300 from the decoder 200. The processing elements of the post-processor 300 are coupled and configured to receive and adaptively process a series of blocks (or frames) of encoded audio output from the buffer 301 using metadata output from the decoding subsystem 202 (and / or the deformatter 205) and / or control bits output from the stage 204 of the decoder 200.

[0055] The audio decoding subsystem 202 of the decoder 200 is configured to decode the audio data extracted by the analyzer 205 (such decoding may be referred to as a "core" decoding operation) to produce decoded audio data, and assert the decoded audio data to the eSBR processing stage 203. Decoding is performed in the frequency domain, and typically includes inverse quantization followed by spectral processing. Typically, the final stage of processing in the subsystem 202 applies a frequency domain to time domain transform to the decoded frequency domain audio data, so that the output of the subsystem is time domain decoded audio data. Stage 203 is configured to apply SBR tools and eSBR tools indicated by the eSBR metadata and eSBR (extracted by the analyzer 205) to the decoded audio data (i.e., perform SBR and eSBR processing on the output of the decoding subsystem 202 using the SBR and eSBR metadata) to produce fully decoded audio data output from the decoder 200 (e.g., output to the post-processor 300). Typically, decoder 200 includes a memory (accessible by subsystem 202 and stage 203) that stores deformatted audio data and metadata output from deformatter 205, and stage 203 is configured to access audio data and metadata (including SBR metadata and eSBR metadata) as needed during SBR and eSBR processing. The SBR processing and eSBR processing in stage 203 can be considered as post-processing of the output of core decoding subsystem 202. Optionally, decoder 200 also includes a final upmix subsystem coupled and configured to perform upmixing on the output of stage 203 to produce fully decoded upmixed audio output from decoder 200 (which may use the PS metadata extracted by deformatter 205 and / or control bits generated in subsystem 202 to apply the parametric stereo ("PS") tools defined in the MPEG-4 AAC standard). Alternatively, post-processor 300 is configured to perform upmixing on the output of decoder 200 (eg, using PS metadata extracted by deformatter 205 and / or control bits generated in subsystem 202).

[0056] In response to metadata extracted by the deformatter 205, the control bit generator 204 may generate control data, and the control data may be used within the decoder 200 (e.g., in a final upmix subsystem) and / or asserted as an output of the decoder 200 (e.g., output to the postprocessor 300 for use in post-processing). In response to metadata extracted from the input bitstream (and optionally also in response to the control data), the stage 204 may generate (and assert to the postprocessor 300) a control bit indicating that the decoded audio data output from the eSBR processing stage 203 should undergo a particular type of post-processing. In some implementations, the decoder 200 is configured to assert the metadata extracted from the input bitstream by the deformatter 205 to the postprocessor 300, and the postprocessor 300 is configured to perform post-processing on the decoded audio data output from the decoder 200 using the metadata.

[0057] Figure 4 2 is a block diagram of an audio processing unit ("APU") (210) as another embodiment of an audio processing unit of the present invention. APU 210 is a legacy decoder that is not configured to perform eSBR processing. Any of the components or elements of APU 210 may be implemented as one or more processes and / or one or more circuits (e.g., ASICs, FPGAs, or other integrated circuits) in hardware, software, or a combination of hardware and software. APU 210 includes a buffer memory 201, a bitstream payload deformatter (parser) 215, an audio decoding subsystem 202 (sometimes referred to as a "core" decoding stage or a "core" decoding subsystem), and an SBR processing stage 213 connected as shown. APU 210 also typically includes other processing elements (not shown). APU 210 may represent, for example, an audio encoder, a decoder, or a transcoder.

[0058] The components 201 and 202 of the APU 210 are Figure 3 The same numbered elements of the decoder 200 are the same and the above description of the elements will not be repeated. In operation of the APU 210, a series of blocks of an encoded audio bitstream (MPEG-4 AAC bitstream) received by the APU 210 are asserted from the buffer 201 to the deformatter 215.

[0059] The deformatter 215 is coupled and configured to demultiplex each block of the bitstream to extract SBR metadata (including quantized envelope data) from each block and typically also extract other metadata from each block, but ignores eSBR metadata that may be included in the bitstream according to any embodiment of the present invention. The deformatter 215 is configured to assert at least the SBR metadata to the SBR processing stage 213. The deformatter 215 is also coupled and configured to extract audio data from each block of the bitstream and assert the extracted audio data to the decoding subsystem (decoding stage) 202.

[0060] The audio decoding subsystem 202 of the decoder 200 is configured to decode the audio data extracted by the deformatter 215 (such decoding may be referred to as a "core" decoding operation) to produce decoded audio data, and assert the decoded audio data to the SBR processing stage 213. Decoding is performed in the frequency domain. Typically, the final stage of processing in the subsystem 202 applies a frequency domain to time domain transform to the decoded frequency domain audio data, so that the output of the subsystem is time domain decoded audio data. Stage 213 is configured to apply the SBR tools (rather than the eSBR tools) indicated by the SBR metadata (extracted by the deformatter 215) to the decoded audio data (i.e., perform SBR processing on the output of the decoding subsystem 202 using the SBR metadata) to produce fully decoded audio data that is output from the APU 210 (e.g., output to the post-processor 300). Typically, APU 210 includes memory (accessible by subsystem 202 and stage 213) that stores deformatted audio data and metadata output from deformatter 215, and stage 213 is configured to access audio data and metadata (including SBR metadata) as needed during SBR processing. The SBR processing in stage 213 can be considered as post-processing of the output of core decoding subsystem 202. Optionally, APU 210 also includes a final upmix subsystem coupled and configured to perform upmixing on the output of stage 213 to produce fully decoded upmixed audio output from APU 210 (which may apply the parametric stereo ("PS") tools defined in the MPEG-4 AAC standard using the PS metadata extracted by deformatter 215). Alternatively, the post-processor is configured to perform upmixing on the output of APU 210 (e.g., using the PS metadata extracted by deformatter 215 and / or control bits generated in APU 210).

[0061] Various implementations of encoder 100, decoder 200, and APU 210 are configured to perform different embodiments of the present method.

[0062] According to some embodiments, eSBR metadata is included (e.g., is a small number of control bits of the eSBR metadata included) in an encoded audio bitstream (e.g., an MPEG-4 AAC bitstream) such that legacy decoders (which are not configured to parse the eSBR metadata, or use any eSBR tools to which the eSBR metadata refers) may ignore the eSBR metadata, but still decode the bitstream to the extent possible without using the eSBR metadata or any eSBR tools to which the eSBR metadata refers (typically without any significant loss in decoded audio quality). However, an eSBR decoder that is configured to parse the bitstream to identify the eSBR metadata and use at least one eSBR tool in response to the eSBR metadata will benefit from using at least one such eSBR tool. Thus, embodiments of the present invention provide a method for efficiently transmitting enhanced spectral band replication (eSBR) control data or metadata in a backward compatible manner.

[0063] Typically, the eSBR metadata in the bitstream indicates one or more of (e.g., indicates at least one characteristic or parameter of) the following eSBR tools (which are described in the MPEG USAC standard and which may or may not have been applied by the encoder during generation of the bitstream):

[0064] Harmonic transposition; and

[0065] QMF patching additional pre-processing (pre-flattening).

[0066] For example, the eSBR metadata included in the bitstream may indicate the values ​​of the following parameters (described in the MPEG USAC standard and this disclosure): sbrPatchingMode[ch], sbrOversamplingFlag[ch], sbrPitchInBins[ch], sbrPitchInBins[ch], and bs_sbr_preprocessing.

[0067] In this document, the notation X[ch] (where X is some parameter) indicates that the parameter relates to a channel ("ch") of the audio content of the encoded bitstream to be decoded. For simplicity, we sometimes omit the expression [ch] and assume that the relevant parameter relates to a channel of the audio content.

[0068] In this document, the notation X[ch][env] (where X is some parameter) indicates that the parameter relates to the SBR envelope ("env") of a channel ("ch") of the audio content of the encoded bitstream to be decoded. For simplicity, we sometimes omit the expressions [env] and [ch] and assume that the relevant parameters relate to the SBR envelope of the channel of the audio content.

[0069] During decoding of an encoded bitstream, the performance of harmonic transposition during the eSBR processing stage of the decoding (for each channel "ch" of audio content indicated by the bitstream) is controlled by the following eSBR metadata parameters: sbrPatchingMode[ch]; sbrOversamplingFlag[ch]; sbrPitchInBinsFlag[ch] and sbrPitchInBins[ch].

[0070] The value "sbrPatchingMode[ch]" indicates the type of transposer used in eSBR: sbrPatchingMode[ch]=1 indicates non-harmonic patching as described in section 4.6.18.6.3 of the MPEG-4 AAC standard; sbrPatchingMode[ch]=0 indicates harmonic SBR patching as described in sections 7.5.3 or 7.5.4 of the MPEG USAC standard.

[0071] The value "sbrOversamplingFlag[ch]" indicates the combined use of signal-adaptive frequency-domain oversampling in eSBR and DFT-based harmonic SBR patching as described in section 7.5.3 of the MPEG USAC standard. This flag controls the size of the DFT used in the transposer: 1 indicates signal-adaptive frequency-domain oversampling enabled as described in section 7.5.3.1 of the MPEG USAC standard; 0 indicates signal-adaptive frequency-domain oversampling disabled as described in section 7.5.3.1 of the MPEG USAC standard.

[0072] The value "sbrPitchInBinsFlag[ch]" controls the interpretation of the sbrPitchInBins[ch] parameter: 1 indicates that the value in sbrPitchInBins[ch] is valid and greater than zero; 0 indicates that the value of sbrPitchInBins[ch] is set to zero.

[0073] The value "sbrPitchInBins[ch]" controls the addition of cross-product terms in the SBr harmonic transposer. The value sbrPitchinBins[ch] is an integer value in the range [0,127] and represents the distance measured in the frequency bin of the 1536-row DFT operating at the sampling frequency of the core encoder.

[0074] In case an MPEG-4 AAC bitstream indicates SBR channel pairs where the channels are uncoupled (rather than a single SBR channel), the bitstream indicates two instances of the above syntax (for either harmonic transposition or non-harmonic transposition), one for each channel of the sbr_channel_pair_element().

[0075] The harmonic transposition of the eSBR tool generally improves the quality of the decoded music signal at relatively low crossover frequencies. Non-harmonic transposition (i.e., old-style spectral patching) generally improves speech signals. Therefore, a starting point for deciding which type of transposition is preferred for encoding a particular audio content is to select a transposition method depending on speech / music detection, with harmonic transposition being employed for music content and spectral patching being employed for speech content.

[0076] Insofar as pre-flattening is performed or not performed depending on the value of a one-bit eSBR metadata parameter called "bs_sbr_preprocessing", the performance of pre-flattening during eSBR processing is controlled by the value of this single bit. When using an SBR QMF patching algorithm as described in section 4.6.18.6.3 of the MPEG-4 AAC standard, a pre-flattening step (when indicated by the "bs_sbr_preprocessing" parameter) may be performed in an attempt to avoid discontinuities in the shape of the spectral envelope of the high frequency signal input to a subsequent envelope adjuster (which performs another stage of eSBR processing). Pre-flattening generally improves the operation of the subsequent envelope adjustment stage, producing a high-band signal that is perceived as more stable.

[0077] The total bit rate requirement for the MPEG-4 AAC bitstream eSBR metadata included indicative of the eSBR tools described above (harmonic transposition and pre-flattening) is expected to be on the order of a few hundred bits per second, since only the differential control data needed to perform the eSBR process is transmitted according to some embodiments of the invention. Legacy decoders may ignore this information since it is included in a backward compatible manner (as will be explained later). Thus, the detrimental effect on the bit rate associated with including the eSBR metadata is negligible for several reasons, including the following:

[0078] The bit rate loss (due to the inclusion of eSBR metadata) is a very small fraction of the total bit rate, since only the differential control data required to perform the eSBR processing is transmitted (rather than the simulcast of SBR control data); and

[0079] • The tuning of the SBR related control information does not usually depend on the details of the transposition.

[0080] Therefore, embodiments of the present invention provide a method for efficiently transmitting enhanced spectral band replication (eSBR) control data or metadata in a backward compatible manner. This efficient transmission of eSBR control data reduces memory requirements in decoders, encoders and transcoders that employ aspects of the present invention, while having no tangible adverse effect on bit rate. In addition, the complexity and processing requirements associated with performing eSBR according to embodiments of the present invention are also reduced, because the SBR data only needs to be processed once rather than simulcast, which would be required if eSBR was treated as a completely separate object type in MPEG-4 AAC rather than integrated into the MPEG-4 AAC codec in a backward compatible manner.

[0081] Next, refer to Figure 7 , we describe elements of a block ("raw_data_block") of an MPEG-4 AAC bitstream containing eSBR metadata according to some embodiments of the invention. Figure 7 is a diagram of a block ("raw_data_block") of an MPEG-4 AAC bitstream, showing some fragments of an MPEG-4 AAC bitstream.

[0082] A block of an MPEG-4 AAC bitstream may contain at least one "single_channel_element()" (e.g. Figure 7 ) and / or at least one "channel_pair_element()" (in Figure 7 The block may also include several "fill_elements" (e.g., Figure 7 Each "single_channel_element()" includes an identifier (e.g., Figure 7 ) and may contain audio data indicating different channels of a multi-channel audio program. Each "channel_pair_element()" contains an identifier indicating the start of a channel pair element (in Figure 7 ), and may include audio data indicating two channels of the program.

[0083] The fill_element (referred to herein as fill element) of an MPEG-4 AAC bitstream contains an identifier ( Figure 7The padding data may include an extension_payload() element (sometimes referred to herein as an extension payload) whose syntax is shown in Table 4.57 of the MPEG-4 AAC standard. There are several types of extension payloads, and they are identified by an "extension_type" parameter, which is a four-bit unsigned integer ("uimsbf") transmitted most significant bit first.

[0084] The padding data (eg, an extended payload of the padding data) may include a header or an identifier (eg, Figure 7 The header is initialized with a "header 1" of the header), and the filler data indicates an SBR object (i.e., the header initializes the "SBR object" type referred to as sbr_extension_data() in the MPEG-4 AAC standard). For example, a spectral band replication (SBR) extended payload is identified using a value of "1101" or "1110" of the extension_type field in the header, where the identifier "1101" identifies an extended payload with SBR data, and "1110" identifies an extended payload with SBR data using a cyclic redundancy check (CRC) to verify the correctness of the SBR data.

[0085] When the header (e.g., extension_type field) initializes the SBR object type, SBR metadata (sometimes referred to herein as "spectral band replication data" and in the MPEG-4 AAC standard as sbr_data()) follows the header and at least one spectral band replication extension element (e.g., Figure 7 An "SBR extension element" of filler element 1 may follow the SBR metadata. Such a spectral band replication extension element (fragment of the bitstream) is called an "sbr_extension()" container in the MPEG-4 AAC standard. The spectral band replication extension element optionally contains a header (e.g., Figure 7 The "SBR extension header" of padding element 1).

[0086] The MPEG-4 AAC standard anticipates that the spectral band replication extension element may contain PS (parametric stereo) data of the program's audio data. The MPEG-4 AAC standard anticipates that when a filler element's (e.g., an extension payload of the filler element's) header initializes the SBR object type ( Figure 7"Header 1" also initializes the SBR object type) and the spectrum band replication extension element of the padding element contains PS data, the padding element (for example, the extended payload of the padding element) contains the spectrum band replication data, and the value (i.e., bs_extension_id=2) indicates that the "bs_extension_id" parameter in the spectrum band replication extension element of the PS data is included in the spectrum band replication extension element of the padding element.

[0087] According to some embodiments of the present invention, eSBR metadata (e.g., a flag indicating whether enhanced spectral band replication (eSBR) processing is to be performed on the audio content of the block) is included in the spectral band replication extension element of the fill element. Figure 7 Such flag is indicated in the filler element 1 of the Spectrum Band Duplication Extension Element, where the flag appears after the header of the "SBR Extension Element" of the filler element 1 (the "SBR Extension Header" of the filler element 1). Optionally, such flag and additional eSBR metadata are included in the Spectrum Band Duplication Extension Element after its header (e.g., in Figure 7 According to some embodiments of the present invention, the padding element containing eSBR metadata also includes a "bs_extension_id" parameter whose value (e.g., bs_extension_id=3) indicates that eSBR metadata is included in the padding element and that eSBR processing is to be performed on the audio content of the relevant block.

[0088] According to some embodiments of the present invention, in addition to being included in the Spectral Band Replication Extension Element (SBR Extension Element) of the filler element, the eSBR metadata is also included in the filler element (e.g., Figure 7 This is because an extension_payload() fill element containing SBR data or SBR data with CRC does not contain any other extension payloads of any other extension type. Therefore, in embodiments where the eSBR metadata is stored in its own extension payload, a separate fill element is used to store the eSBR metadata. Such a fill element contains an identifier indicating the start of the fill element (e.g., Figure 7 The padding data may include an extension_payload() element (sometimes referred to herein as an extension payload) whose syntax is shown in Table 4.57 of the MPEG-4 AAC standard. The padding data (e.g., an extension payload of the padding data) includes a header indicating an eSBR object (e.g., Figure 7The header 2 of the padding element 2 is "header 2" (i.e., the header initializes the enhanced spectral band replication (eSBR) object type), and the padding data (e.g., the extended payload of the padding data) contains the eSBR metadata after the header. For example, Figure 7 The filler element 2 of the block includes such a header ("Header 2") and also includes eSBR metadata after the header (i.e., a "flag" in filler element 2 that indicates whether enhanced spectral band replication (eSBR) processing will be performed on the audio content of the block). Optionally, after Header 2, additional eSBR metadata is also included in Figure 7 In the filling data of the filling element 2 of the header (for example, Figure 7 The header 2) has an identification value that is not one of the conventional values ​​specified in Table 4.57 of the MPEG-4 AAC standard, and instead indicates an eSBR extended payload (so that the extension_type field of the header indicates that the padding data includes eSBR metadata).

[0089] In a first class of embodiments, the present invention is an audio processing unit (e.g., a decoder) comprising:

[0090] Memory (e.g. Figure 3 4) configured to store at least one block of an encoded audio bitstream (e.g., at least one block of an MPEG-4 AAC bitstream);

[0091] Bitstream payload deformatter (e.g. Figure 3 Component 205 or Figure 4 an element 215) coupled to the memory and configured to demultiplex at least a portion of the block of the bitstream; and

[0092] Decoding subsystem (e.g. Figure 3 Elements 202 and 203, or Figure 4 202 and 213) coupled and configured to decode at least a portion of the block of the bitstream, wherein the block comprises:

[0093] A filler element comprising an identifier indicating the start of the filler element (e.g., the "id_syn_ele" identifier with a value of 0x6 of Table 4.85 of the MPEG-4 AAC standard) and filler data following the identifier, wherein the filler data comprises:

[0094] At least one flag indicating whether enhanced spectral band replication (eSBR) processing is to be performed on the audio content of the block (eg, using spectral band replication data and eSBR metadata contained in the block).

[0095] The flag is eSBR metadata, and an example of the flag is the sbrPatchingMode flag. Another example of the flag is the harmonicSBR flag. Both of these flags indicate whether a basic form of spectral band replication or an enhanced form of spectral band replication is to be performed on the audio data of the block. The basic form of spectral band replication is spectral patching, and the enhanced form of spectral band replication is harmonic transposition.

[0096] In some embodiments, the padding data also includes additional eSBR metadata (ie, eSBR metadata other than the flag).

[0097] The memory may be a buffer memory (eg, a buffer memory) storing (eg, in a non-transitory manner) the at least one block of the encoded audio bitstream. Figure 4 Implementation scheme of buffer 201).

[0098] It is estimated that during decoding of an MPEG-4 AAC bitstream containing eSBR metadata (indicating these eSBR tools), the complexity of performing eSBR processing (using eSBR harmonic transposition and pre-flattening) by an eSBR decoder will be as follows (for a typical decoding with the indicated parameters):

[0099] Harmonic transposition (16kbps, 14400 / 28800Hz)

[0100] οDFT-based: 3.68WMOPS (million weighted operations per second);

[0101] ο Based on QMF: 0.98WMOPS;

[0102] QMF patch pre-processing (pre-flattening): 0.1WMOPS.

[0103] It is well known that DFT-based transpose usually performs better for transients than QMF-based transpose.

[0104] According to some embodiments of the present invention, a padding element (of an encoded audio bitstream) that includes eSBR metadata also includes a parameter (e.g., a "bs_extension_id" parameter) with a value (e.g., bs_extension_id=3) that signals that eSBR metadata is included in the padding element and that eSBR processing is to be performed on the audio content of the associated block, and / or a parameter (e.g., the same "bs_extension_id" parameter) with a value (e.g., bs_extension_id=2) that signals that an sbr_extension() container of the padding element includes PS data. For example, as indicated in Table 1 below, such a parameter with a value of bs_extension_id=2 may signal that an sbr_extension() container of the padding element includes PS data, and such a parameter with a value of bs_extension_id=3 may signal that an sbr_extension() container of the padding element includes eSBR metadata:

[0105] Table 1

[0106] bs_extension_id significance 0 reserve 1 reserve 2 EXTENSION_ID_PS 3 EXTENSION_ID_ESBR

[0107] According to some embodiments of the present invention, the syntax of each spectrum band replication extension element containing eSBR metadata and / or PS data is as indicated in Table 2 below (wherein "sbr_extension()" represents a container in the spectrum band replication extension element, "bs_extension_id" is as described in Table 1 above, "ps_data" represents PS data, and "esbr_data" represents eSBR metadata):

[0108] Table 2

[0109]

[0110] In an exemplary embodiment, esbr_data() mentioned in Table 2 above indicates the values ​​of the following metadata parameters:

[0111] 1. A single-bit metadata parameter “bs_sbr_preprocessing”; and

[0112] 2. For each channel ("ch") of the audio content of the encoded bitstream to be decoded, each of the above parameters: "sbrPatchingMode[ch]"; "sbrOversamplingFlag[ch]"; "sbrPitchInBinsFlag[ch]"; and "sbrPitchInBins[ch]".

[0113] For example, in some embodiments, esbr_data() may have the syntax indicated in Table 3 to indicate these metadata parameters:

[0114] Table 3

[0115]

[0116]

[0117] The above syntax enables efficient implementation of enhanced forms of spectral band replication, such as harmonic transposition, as an extension to legacy decoders. Specifically, the eSBR data of Table 3 contains only the parameters required to perform the enhanced forms of spectral band replication that are already supported in the bitstream or can be directly derived from parameters already supported in the bitstream. All other parameters and processing data required to perform the enhanced forms of spectral band replication are extracted from existing parameters in defined locations in the bitstream.

[0118] For example, an MPEG-4HE-AAC or HE-AAC v2 compliant encoder can be extended to include an enhanced form of spectral band replication, such as harmonic transposition. This enhanced form of spectral band replication is in addition to the basic form of spectral band replication already supported by the decoder. In the context of an MPEG-4HE-AAC or HE-AAC v2 compliant encoder, this basic form of spectral band replication is the QMF spectral patching SBR tool as defined in section 4.6.18 of the MPEG-4 AAC standard.

[0119] When performing an enhanced form of spectral band replication, the extended HE-AAC decoder can reuse many bitstream parameters that are already included in the SBR extension payload of the bitstream. The specific parameters that can be reused include, for example, various parameters that determine the main frequency band table. These parameters include bs_start_freq (a parameter that determines the start of the main frequency table parameters), bs_stop_freq (a parameter that determines the stop of the main frequency table), bs_freq_scale (a parameter that determines the number of frequency bands per octave), and bs_alter_scale (a parameter that changes the scale of the frequency bands). The reusable parameters also include parameters that determine the noise band table (bs_noise_bands) and the limiter band table parameters (bs_limiter_bands). Therefore, in various embodiments, at least some of the equivalent parameters specified in the USAC standard are omitted from the bitstream, thereby reducing the control overhead in the bitstream. Typically, where a parameter specified in the AAC standard has an equivalent parameter specified in the USAC standard, the equivalent parameter specified in the USAC standard has the same name as the parameter specified in the AAC standard (e.g., envelope scale factor E OrigMapped). However, the equivalent parameters specified in the USAC standard typically have different values, being "tuned" for the enhanced SBR process defined in the USAC standard rather than for the SBR process defined in the AAC standard.

[0120] In addition to numerous parameters, other data elements may also be reused by the extended HE-AAC decoder when performing an enhanced form of spectral band replication according to an embodiment of the present invention. For example, envelope data and noise floor data may also be extracted from bs_data_env (envelope scale factor) and bs_noise_env (noise floor scale factor) data and used during the enhanced form of spectral band replication.

[0121] Essentially, these embodiments utilize configuration parameters and envelope data already supported by legacy HE-AAC or HE-AAC v2 decoders in an SBR extension payload to implement an enhanced form of spectral band replication that requires as little additional transmission data as possible. The metadata was originally tuned for a base form of HFR (e.g., spectral patching for SBR), but according to embodiments, is used for an enhanced form of HFR (e.g., harmonic transposition for eSBR). As previously discussed, the metadata generally represents operational parameters (e.g., envelope scale factor, noise floor scale factor, time / frequency grid parameters, sine wave addition information, variable crossover frequency / band, inverse filtering mode, envelope resolution, smoothing mode, frequency interpolation mode) that are tuned and desired for use with a base form of HFR (e.g., linear transform). However, this metadata combined with additional metadata parameters specific to an enhanced form of HFR (e.g., harmonic transposition) can be used to efficiently and effectively process audio data using the enhanced form of HFR.

[0122] Thus, an extended decoder supporting an enhanced form of spectral band replication can be produced in a very efficient manner by relying on already defined bitstream elements (e.g., bitstream elements in the SBR extension payload) and adding only the parameters required to support the enhanced form of spectral band replication (in the filler element extension payload). This data reduction feature combined with the placement of the newly added parameters in a reserved data field (e.g., extension container) substantially reduces the barrier to producing a decoder that supports the enhanced form of spectral band replication by ensuring that the bitstream is backward compatible with legacy decoders that do not support the enhanced form of spectral band replication.

[0123] In Table 3, the numbers in the right column indicate the number of bits of the corresponding parameters in the left column.

[0124] In some embodiments, the SBR object type defined in MPEG-4 AAC is updated to obtain aspects of SBR tools or enhanced SBR (eSBR) tools as signaled in the SBR extension element (bs_extension_id == EXTENSION_ID_ESBR).

[0125] In some embodiments, the present invention is a method comprising the steps of encoding audio data to produce an encoded bitstream (e.g., an MPEG-4 AAC bitstream), the steps comprising including eSBR metadata in at least one fragment of at least one block of the encoded bitstream and including audio data in the at least one other fragment of the block. In a typical embodiment, the method comprises the step of multiplexing the audio data using the eSBR metadata in each block of the encoded bitstream. In a typical decoding of the encoded bitstream in an eSBR decoder, the decoder extracts the eSBR metadata from the bitstream (including by parsing and demultiplexing the eSBR metadata and the audio data) and processes the audio data using the eSBR metadata to produce a stream of decoded audio data.

[0126] Another aspect of the invention is an eSBR decoder configured to perform eSBR processing (e.g., using at least one of the eSBR tools known as harmonic transposition or pre-flattening) during decoding of an encoded audio bitstream (e.g., an MPEG-4 AAC bitstream) that does not include eSBR metadata. Figure 5 An example of such a decoder is described.

[0127] Figure 5 The eSBR decoder (400) comprises a buffer memory 201 connected as shown (which is connected to Figure 3 and 4 201), a bit stream payload deformatter 215 (which is the same as Figure 4 deformatter 215), audio decoding subsystem 202 (sometimes referred to as the "core" decoding stage or "core" decoding subsystem, and which is identical to Figure 3 core decoding subsystem 202), eSBR control data generation subsystem 401 and eSBR processing stage 203 (which is the same as Figure 3 The decoder 400 also typically includes other processing elements (not shown).

[0128] In operation of the decoder 400 , a series of blocks of an enhanced audio bitstream (MPEG-4 AAC bitstream) received by the decoder 400 are asserted from the buffer 201 to the deformatter 215 .

[0129] The deformatter 215 is coupled and configured to demultiplex each block of the bitstream to extract SBR metadata (including quantized envelope data) and typically also other metadata from the block. The deformatter 215 is configured to assert at least the SBR metadata to the eSBR processing stage 203. The deformatter 215 is also coupled and configured to extract audio data from each block of the bitstream and assert the extracted audio data to the decoding subsystem (decoding stage) 202.

[0130] The audio decoding subsystem 202 of the decoder 400 is configured to decode the audio data extracted by the deformatter 215 (such decoding may be referred to as a "core" decoding operation) to produce decoded audio data, and assert the decoded audio data to the eSBR processing stage 203. Decoding is performed in the frequency domain. Typically, the final stage of processing in the subsystem 202 applies a frequency domain to time domain transform to the decoded frequency domain audio data, so that the output of the subsystem is time domain decoded audio data. Stage 203 is configured to apply the SBR tools (and eSBR tools) indicated by the SBR metadata (extracted by the deformatter 215) and the eSBR metadata generated in the subsystem 401 to the decoded audio data (i.e., perform SBR and eSBR processing on the output of the decoding subsystem 202 using the SBR and eSBR metadata) to produce fully decoded audio data output from the decoder 400. Typically, decoder 400 includes memory (accessible by subsystem 202 and stage 203) that stores deformatted audio data and metadata output from deformatter 215 (and optionally also subsystem 401), and stage 203 is configured to access the audio data and metadata as needed during SBR and eSBR processing. The SBR processing in stage 203 can be considered as post-processing of the output of core decoding subsystem 202. Optionally, decoder 400 also includes a final upmix subsystem coupled and configured to perform upmixing on the output of stage 203 to produce fully decoded upmixed audio output from APU 210 (which can apply the parametric stereo ("PS") tools defined in the MPEG-4 AAC standard using the PS metadata extracted by deformatter 215).

[0131] Figure 5The control data generation subsystem 401 is coupled and configured to detect at least one property of the encoded audio bitstream to be decoded in response to at least one result of the detection step, and to generate eSBR control data (which may be or include eSBR metadata of any of the types included in the encoded audio bitstream according to other embodiments of the present invention). The eSBR control data is asserted to stage 203 to trigger the application of individual eSBR tools or combinations of eSBR tools upon detection of a particular property (or combination of properties) of the bitstream, and / or to control the application of such eSBR tools. For example, to control the use of harmonic transposition to perform eSBR processing, some embodiments of the control data generation subsystem 401 will include: a music detector (e.g., a simplified version of a conventional music detector) for setting the sbrPatchingMode[ch] parameter (and asserting the set parameter to stage 203) in response to detecting that the bitstream indicates or does not indicate music; a transient detector for setting the sbrOversamplingFlag[ch] parameter (and asserting the set parameter to stage 203) in response to detecting the presence or absence of transients in the audio content indicated by the bitstream; and / or a pitch detector for setting the sbrPitchInBinsFlag[ch] and sbrPitchInBins[ch] parameters (and asserting the set parameters to stage 203) in response to detecting the pitch of the audio content indicated by the bitstream. Other aspects of the invention are methods of audio bitstream decoding performed by any embodiment of the inventive decoder described in this and previous paragraphs.

[0132] Aspects of the invention include an encoding or decoding method of the type that any embodiment of the APU, system, or device of the invention is configured (e.g., programmed) to perform. Other aspects of the invention include a system or device configured (e.g., programmed) to perform any embodiment of the method of the invention, and a computer-readable medium (e.g., disk) storing code (e.g., in a non-transitory manner) to implement any embodiment of the method of the invention or the steps of the method of the invention. For example, the system of the invention may be or include a programmable general-purpose processor, digital signal processor, or microprocessor that is configured using software or firmware and / or otherwise to perform any of a variety of operations on data (including embodiments of the method of the invention or the steps of the method of the invention). Such a general-purpose processor may be or include a computer system that includes an input device, a memory, and a processing circuit that is programmed (and / or otherwise configured) to perform embodiments of the method of the invention (or the steps of the method of the invention) in response to data asserted thereto.

[0133] Embodiments of the present invention may be implemented in hardware, firmware, or software, or a combination of both (e.g., as a programmable logic array). Unless otherwise specified, the algorithms or processes included as part of the present invention are not inherently related to any particular computer or other apparatus. In particular, various general-purpose machines may be used with programs written in accordance with the teachings herein, or it may be more convenient to construct more specialized equipment (e.g., integrated circuits) to perform the required method steps. Thus, one or more programmable computer systems (e.g., Figure 1 Components or Figure 2 The encoder 100 (or a component of the encoder 100) or Figure 3 The decoder 200 (or a component of the decoder 200) or Figure 4 The decoder 210 (or a component of the decoder 210) or Figure 5 The present invention is implemented in one or more computer programs executed by the decoder 400 (or any implementation of the elements of the decoder 400). The program code is applied to input data to perform the functions described herein and to generate output information. The output information should be applied to one or more output devices in a known manner.

[0134] Each such program can be implemented in any desired computer language (including machine language, assembly language or high-level programming language, logical language or object-oriented programming language) to communicate with a computer system. In any case, the language can be a compiled or interpreted language.

[0135] For example, when implemented by a sequence of computer software instructions, the various functions and steps of the embodiments of the present invention may be implemented by a multi-threaded sequence of software instructions running in hardware suitable for digital signal processing, in which case the various devices, steps and functions of the embodiments may correspond to portions of the software instructions.

[0136] Each such computer program is preferably stored on a storage medium or device or downloaded to a storage medium or device (e.g., solid-state memory or media, or magnetic or optical media) that can be read by a general or special purpose programmable computer to configure and operate the computer when the storage medium or device is read by a computer system to perform the processes described herein. The inventive system may also be implemented as a computer-readable storage medium configured with a computer program (i.e., storing the computer program), wherein the storage medium so configured causes the computer system to operate in a specific and predefined manner to perform the functions described herein.

[0137] Several embodiments of the present invention have been described. However, it should be understood that various modifications can be made without departing from the spirit and scope of the present invention. According to the above teachings, multiple modifications and variations of the present invention are possible. For example, to promote effective implementation, phase shift can be used in combination with complex QMF analysis and synthesis filter banks. The analysis filter bank is responsible for filtering the time domain low band signal generated by the core decoder into multiple subbands (e.g., QMF subbands). The synthesis filter bank is responsible for combining the regenerated high band and the decoded low band produced by the selected HFR technology (indicated by the received sbrPatchingMode parameter) to produce a broadband output audio signal. However, a given filter bank implementation scheme operating with a specific sampling rate mode (e.g., normal dual rate operation or downsampled SBR mode) should not have a phase shift that is dependent on bitstream. The QMF bank used in SBR is a complex exponential expansion of the theory of the cosine modulated filter bank. It can be shown that the alias elimination constraint becomes obsolete when the cosine modulated filter bank is expanded using complex exponential modulation. Therefore, for the SBR QMF group, both the analysis filter hk(n) and the synthesis filter fk(n) can be defined as follows:

[0138] Wherein p0(n) is a real valued symmetric or asymmetric prototype filter (usually, a low-pass prototype filter), M represents the number of channels, and N is the prototype filter order. The number of channels used in the analysis filter bank may be different from the number of channels used in the synthesis filter bank. For example, the analysis filter bank may have 32 channels, while the synthesis filter bank may have 64 channels. When the synthesis filter bank is operated in a downsampling mode, the synthesis filter bank may have only 32 channels. Because the subband samples from the filter bank have complex values, the addition of a possible channel-dependent phase shift step may be added to the synthesis filter bank. These additional phase shifts need to be compensated before the synthesis filter bank. Although in principle the phase shift term can have any value without destroying the operation of the QMF analysis / synthesis chain, the phase shift term can also be constrained to a specific value for consistency verification. The SBR signal will be affected by the choice of the phase factor, while the low-pass signal from the core decoder will not be affected by the choice of the phase factor. The audio quality of the output signal is not affected.

[0139] The coefficients of the prototype filter p0(n) may be defined using a length L of 640, as shown in Table 4 below.

[0140] Table 4

[0141]

[0142]

[0143]

[0144]

[0145]

[0146]

[0147] The prototype filter p0(n) may also be derived from Table 4 by one or more mathematical operations such as rounding, sub-sampling, interpolation, and decimation.

[0148] It is to be understood that within the scope of the appended claims, the invention may be practiced otherwise than as specifically described herein.Any element signs contained in the appended claims are for illustration only and shall not be used to interpret or limit the claims in any way.

Claims

1. A method for decoding an encoded audio bitstream, the method comprising: receiving the encoded audio bitstream, the encoded audio bitstream comprising audio data representing a lowband portion of an audio signal; decoding the audio data to produce a decoded low-band audio signal; extracting high frequency reconstruction metadata from the encoded audio bitstream, the high frequency reconstruction metadata comprising operating parameters of a high frequency reconstruction process for transforming a number of subbands from a lowband portion of the audio signal to a highband portion of the audio signal; extracting from the encoded audio bitstream a parameter indicating whether signal adaptive frequency domain oversampling is to be used; filtering the decoded low-band audio signal using an analysis filter bank to produce a filtered low-band audio signal; extracting from the encoded audio bitstream a flag indicating whether a linear transform or a harmonic transposition is to be performed on the audio data; reproducing a high-band portion of the audio signal using the filtered low-band audio signal and the high-frequency reconstruction metadata according to the flag; and combining the filtered lowband audio signal and the regenerated highband portion using a synthesis filter bank to form a wideband audio signal, The analysis filter bank comprises analysis filters h k (n), the analysis filter h k (n) is a modulated version of the prototype filter p0(n) according to: where p0(n) is a real-valued symmetric or asymmetric prototype filter, M is the number of channels in the analysis filterbank, and N is the prototype filter order, and Wherein the number of channels in the analysis filterbank is different from the number of channels in the synthesis filterbank.

2. The method of claim 1, wherein a phase shift is added to the filtered low-band audio signal and the phase shift is compensated before the filtered low-band audio signal and the regenerated high-band portion are combined by the synthesis filter bank.

3. A non-transitory computer readable medium containing instructions, which when executed by a processor, perform the method of claim 1.

4. A decoder for decoding an encoded audio bitstream, the decoder comprising: an input interface for receiving the encoded audio bitstream, the encoded audio bitstream comprising audio data representing a lowband portion of an audio signal; a core decoder for decoding the audio data to produce a decoded low-band audio signal; a deformatter for extracting from the encoded audio bitstream high frequency reconstruction metadata comprising operating parameters of a high frequency reconstruction process for transforming a number of subbands from a lowband portion of the audio signal to a highband portion of the audio signal and extracting parameters indicating whether signal adaptive frequency domain oversampling is to be used; an analysis filter bank for filtering the decoded low-band audio signal to produce a filtered low-band audio signal; a deformatter for extracting from the encoded audio bitstream a flag indicating whether a linear transform or a harmonic transposition is to be performed on the audio data; a high frequency regenerator for regenerating a high band portion of the audio signal using the filtered low band audio signal and the high frequency reconstruction metadata according to the flag; and a synthesis filter bank for combining the filtered lowband audio signal and the regenerated highband portion to form a wideband audio signal, The analysis filter bank comprises analysis filters h k (n), the analysis filter h k (n) is a modulated version of the prototype filter p0(n) according to: where p0(n) is a real-valued symmetric or asymmetric prototype filter, M is the number of channels in the analysis filterbank, and N is the prototype filter order, and Wherein the number of channels in the analysis filterbank is different from the number of channels in the synthesis filterbank.

Citation Information

Patent Citations

  • Decoding audio bitstreams with enhanced spectral band replication metadata in at least one fill element

    CA2989595A1

  • Apparatus and methods for multichannel digital audio coding

    CN101312041A

  • Processing of audio signals during high frequency reconstruction

    CN103155033A

  • Cross product enhanced harmonic transposition

    CN103632678A

  • Processing of audio signals during high frequency reconstruction

    CN104575517A

Cited By

  • Backward compatible integration of harmonic transposer for high frequency reconstruction of audio signals

    CN118380003A

  • Backward-compatible integration of high frequency reconstruction techniques for audio signals

    US12288564B1

  • Backward-compatible integration of high frequency reconstruction techniques for audio signals

    US12394424B2