Backward-compatible synthesis of harmonic converters for high-frequency reconstruction of audio signals
By extracting high-frequency reconstruction metadata during audio decoding and performing decomposition and filtering, combined with spectral segment translation or harmonic conversion technology, the problem of poor processing of low cross-frequency music content in the prior art is solved, and better audio signal reconstruction quality is achieved.
Patent Information
- Application Number
- JP2023173392
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2017-03-23
- Filing Date
- 2023-10-05
- Publication Date
- 2025-04-30
- Estimated Expiration
- 2038-03-19
AI Technical Summary
Segment translation or linear translation in the prior art is not ideal for music content, especially music content with low cross-frequency, resulting in the need to improve spectral band restoration technology.
By extracting high-frequency reconstruction metadata during audio decoding, and filtering the low-frequency audio signal using decomposition filtering bank, the filtered low-frequency audio signal is generated. Determine whether to perform segment translation or harmonic conversion to reconstruct the high-frequency part of the audio signal based on the extracted flag.
Improved processing effect of low cross-frequency music content, improves the reconstruction quality of audio signals, and maintains high audio quality especially under low data rate conditions.
Smart Images

Figure 0007669639000014 
Figure 0007669639000015 
Figure 0007669639000016
Abstract
Description
[Technical field]
[0001] Embodiments relate to audio signal processing, and more particularly to encoding, decoding or transcoding audio bitstreams having control data specifying that either a basic form of high frequency reconstruction (HFR) or an enhanced form of HFR should be performed on the audio data. [Background technology]
[0002] A typical audio bitstream includes both audio data (e.g., encoded audio data) that indicates one or more channels of audio content, and metadata that indicates 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, which is 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."
[0003] 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 type corresponds to the MPEG-2 AAC low complexity profile with some adjustments and does not include the spectral band replication ("SBR") or parametric stereo ("PS") object types. 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.
[0004] The SBR object type includes a spectral band replication tool. It is an important high frequency reconstruction ("HFR") coding tool that significantly improves the compression efficiency of perceptual audio codecs. SBR reconstructs the high frequency content of the audio signal at the receiver (e.g. at the decoder). Therefore, the encoder only needs to encode and transmit the low frequency content, allowing a much higher audio quality at low data rates. SBR is based on replicating, from the available bandwidth-limited signal and control data available from the encoder, a sequence of harmonics that was previously truncated to reduce the data rate. The ratio between tone-like and noise-like components is maintained by adaptive inverse filtering and the optional addition of noise and sinusoids. In the MPEG-4 AAC standard, the SBR tool performs spectral patching (also called linear translation or spectral translation), in which several successive quadrature mirror filter (QMF) subbands are copied (or "patched") from the transmitted low-pass part of the audio signal to the high-pass part of the audio signal generated at the decoder. [Prior art documents] [Non-patent literature]
[0005] [Non-Patent Document 1] MPEG standard ISO / IEC14496-3:2009 Summary of the Invention [Problem to be solved by the invention]
[0006] Spectral patching or linear translation may not be ideal for certain audio types, such as music content, that have relatively low crossover frequencies. Therefore, techniques to improve spectral band replication are needed. [Means for solving the problem]
[0007] A first class of embodiments relates to a method for decoding an encoded audio bitstream. The method includes receiving an encoded audio bitstream and decoding the audio data to generate a decoded low-band audio signal. The method further includes extracting high-frequency reconstruction metadata and filtering the decoded low-band audio signal with a decomposition filter bank to generate a filtered low-band audio signal. The method further includes extracting a flag indicating whether a spectral translation or a harmonic transformation should 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.
[0008] A second class of embodiments relates to an audio decoder for decoding an encoded audio bitstream, the decoder comprising: an input interface for receiving an encoded audio bitstream, the encoded audio bitstream including audio data representing a low-pass portion of an audio signal; a core decoder for decoding the audio data to produce a decoded low-pass audio signal; a demultiplexer for extracting high-frequency reconstruction metadata from the encoded audio bitstream, the high-frequency reconstruction metadata including operating parameters for a high-frequency reconstruction process that linearly translates successive subbands from the low-pass portion of the audio signal into a high-pass portion of the audio signal; and a analysis filter bank for filtering the decoded low-pass audio signal to produce a filtered low-pass audio signal. The decoder further includes a demultiplexer for extracting from the encoded audio bitstream a flag indicating whether a linear translation or a harmonic transformation should be performed on the audio data, and a high frequency regenerator for regenerating a high frequency portion of the audio signal using the filtered low frequency audio signal and the high frequency reconstruction metadata according to the flag. Finally, the decoder includes a synthesis filterbank for combining the filtered low frequency audio signal and the regenerated high frequency portion to form a wideband audio signal.
[0009] Another class of embodiments relates to encoding and transcoding audio bitstreams that include metadata that identifies whether enhanced spectral band replication (eSBR) processing should be performed. [Brief description of the drawings]
[0010] [Figure 1]FIG. 1 is a block diagram of an embodiment of a system that may be configured to perform an embodiment of the method of the present invention. [Diagram 2] FIG. 2 is a block diagram of an encoder that is an embodiment of the audio processing unit of the present invention. [Diagram 3] 1 is a block diagram of a system including a decoder, which is an embodiment of an audio processing unit of the present invention, and optionally a post-processor coupled thereto; [Figure 4] FIG. 2 is a block diagram of a decoder that is an embodiment of the audio processing unit of the present invention; [Diagram 5] FIG. 2 is a block diagram of a decoder, which is another embodiment of the audio processing unit of the present invention. [Figure 6] FIG. 4 is a block diagram of another embodiment of an audio processing unit of the present invention. [Figure 7] A diagram showing a block of an MPEG-4 AAC bitstream containing divided segments. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Throughout this disclosure, including the claims, the expression performing an operation "on" a signal or data (e.g., filtering, scaling, transforming or applying a gain to the signal or data) is used broadly 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 prior to performing the operation).
[0012] Throughout this disclosure, including the claims, the term "audio processing unit" or "audio processor" is used broadly 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 every consumer electronic device, such as mobile phones, televisions, laptops, and tablet computers, includes an audio processing unit or audio processor.
[0013] Throughout this disclosure, including the claims, the terms "couple" or "coupled" are used broadly to mean a direct or indirect connection. Thus, when a first device couples to a second device, the connection may be through a direct connection or through an indirect connection via other devices and connections. Additionally, components that are integrated within or together with other components are also coupled to each other.
[0014] Detailed Description of the Preferred Embodiments of the Present Invention The MPEG-4 AAC standard contemplates that an encoded MPEG-4 AAC bitstream may include metadata indicating each type of High Frequency Reconstruction (HFR) processing, if any, to be applied by a decoder to decode the audio content of the bitstream and / or indicating at least one characteristic or parameter of at least one HFR tool to be used to control such HFR processing and / or to decode the audio content of the bitstream. Herein, the expression "SBR metadata" is used to refer to this type of metadata described or referenced in the MPEG-4 AAC standard for use with Spectral Band Replication (SBR). As will be appreciated by those skilled in the art, SBR is a form of HFR.
[0015] SBR is preferably used as a dual-rate system. SBR operates at the original sampling rate, while the underlying codec operates at half the original sampling rate. The SBR encoder works in parallel with the underlying core codec, but 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 for a time and frequency range / resolution that is suitable for the current input signal segment characteristics. The spectral envelope is estimated by a complex QMF decomposition and a subsequent energy calculation. The time and frequency resolution of the spectral envelope can be chosen with a high degree of freedom to ensure the most suitable time-frequency resolution for a given input segment. The envelope estimation has to take into account that transient components in the original (e.g. hi-hat), which are mainly located in the high-frequency region, will be present to a small extent in the SBR generated in the high-frequency region, before the envelope adjustment. This is because the high-frequency region in the decoder is based on the low-frequency region, where the transient components are much less noticeable than in the high-frequency region. This aspect imposes different requirements on the time-frequency resolution of the spectral envelope data compared to the usual spectral envelope estimation used in other audio coding algorithms.
[0016] Apart from the spectral envelope, several additional parameters are extracted that describe the spectral characteristics of the input signal for different time and frequency domains. Since the encoder naturally has access to the original signal and information about how the SBR unit in the decoder generates the high-frequency band, given a particular set of control parameters, the system is able to handle situations where the low-frequency band constitutes a strong harmonic sequence and the regenerated high-frequency band constitutes a mainly random signal component, as well as situations where a strong tone-like component exists in the original high-frequency band but has no counterpart in the low-frequency band that underlies the high-frequency region. Furthermore, the SBR encoder works in close cooperation with the underlying core codec to estimate which frequency range should be covered by SBR at a given time. The SBR data is efficiently encoded prior to transmission by exploiting entropy coding and, in the case of stereo signals, the channel dependency of the control data.
[0017] The control parameter extraction algorithm typically needs to be carefully tuned to the underlying codec for a given bitrate and a given sampling rate due to the fact that lower bitrates usually imply a larger SBR range compared to higher bitrates, and different sampling rates correspond to different temporal resolutions of the SBR frames.
[0018] An SBR decoder typically includes several different parts. It has a bitstream decode module, a high frequency reconstruction (HFR) module, an additional high frequency component module and an envelope adjuster module. The system is based on a complex-valued QMF filter bank. In the bitstream extraction module, control data is read from the bitstream and decoded. Prior to reading the envelope data from the bitstream, a time-frequency lattice is obtained for the current frame. The underlying core decoder decodes the audio signal of the current frame (albeit at said lower sampling rate) to generate a time-domain audio signal. The resulting frame of audio data is used for high frequency reconstruction by the HFR module. The decoded low frequency signal is then decomposed using a QMF filter bank. High frequency reconstruction and envelope adjustment are then performed on the subband samples of the QMF filter bank. The high frequency is reconstructed from the low frequency in a flexible manner based on the given control parameters. Furthermore, the reconstructed high frequency is adaptively filtered per subband / channel according to said control data to ensure proper spectral characteristics in a given time / frequency domain.
[0019] The top level of an MPEG-4 AAC bitstream is a sequence of data blocks ('raw_data_block' elements), where each data block is a segment of data (referred to herein as a 'block') that contains audio data (typically spanning a time period of 1024 or 960 samples) and related information and / or other data. Here, we use the term 'block' to denote a segment of an MPEG-4 AAC bitstream that contains audio data (and corresponding metadata and optionally other related data) that is determined or indicated by one (but not more than one) 'raw_data_block' element.
[0020] Each block of an MPEG-4 AAC bitstream may contain several syntax elements (each of which is also embodied as a segment of data in the bitstream). 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 (i.e., a monophonic audio signal). A channel pair element contains audio data for two audio channels (i.e., a stereo audio signal).
[0021] A fill element is an information container that contains an identifier (e.g. the value of the element "id_syn_ele" above) and subsequent data called "fill data". Fill elements have historically been used to adjust the instantaneous bit rate of a bitstream to be transmitted through a constant rate channel. By adding an appropriate amount of fill data to each block, a constant data rate can be achieved.
[0022] According to embodiments of the present invention, the filler data may include one or more extension payloads that extend the type of data (e.g., metadata) that can be transmitted in the bitstream. A decoder that receives a bitstream with filler data that includes new types of data may optionally be used by a device (e.g., a decoder) that receives the bitstream to extend the capabilities of the device. Thus, as will be appreciated by those skilled in the art, a filler element is a special type of data structure that is different from data structures that are typically used to transmit audio data (e.g., audio payloads that include channel data).
[0023] In some embodiments of the invention, the identifier used to identify the filler element may consist of a three-bit unsigned integer transmitted most significant bit first ("uimsbf") with value 0x6. Several instances of the same type of syntax element (e.g. several filler elements) may occur in one block.
[0024] 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 encoding and decoding audio content using a spectral band replication process (including the SBR process described in the MPEG-4 AAC standard, as well as other enhanced forms of the spectral band replication process). This process applies an extended and enhanced version of the spectral band replication tools (sometimes referred to in this document as "enhanced SBR tools" or "eSBR tools") from the set of SBR tools described in the MPEG-4 AAC standard. Thus, eSBR (as defined in the USAC standard) is an improvement over SBR (as defined in the MPEG-4 AAC standard).
[0025] In this document, the term "enhanced SBR processing" (or "eSBR processing") is used to refer to a spectral band replication process that uses at least one eSBR tool not described or referenced in MPEG-4 AAC (e.g., at least one eSBR tool described or referenced in the MPEG USAC standard). Examples of such eSBR tools are harmonic transposition, QMF patching, additional preprocessing or "pre-flattening".
[0026] A harmonic transpositioner of integer order T maps a sine wave of frequency ω to a sine wave of frequency Tω while preserving signal duration. Three orders T=2, 3, 4 are typically used in sequence to generate 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 may be generated by frequency shifting. Whenever possible, a near-critically sampled baseband time domain is generated for the processing to minimize computational effort.
[0027] Bitstreams generated in accordance with the MPEG USAC standard (sometimes referred to herein as "USAC bitstreams") contain encoded audio content and typically include metadata indicating respective types of spectral band replication processes that should be applied by a decoder to decode the audio content of the USAC bitstream and / or metadata indicating at least one characteristic or parameter of at least one SBR tool and / or eSBR tool that should be used to control such spectral band replication processes and / or decode the audio content of the USAC bitstream.
[0028] The expression “enhanced SBR metadata” (or “eSBR metadata”) is used herein to denote metadata that is not described or mentioned in the MPEG-4 AAC standard that indicates a respective type of spectral band duplication process to be applied by a decoder to decode audio content of an encoded audio bitstream (e.g., a USAC bitstream) and / or that indicates at least one SBR tool and / or at least one characteristic or parameter of an eSBR tool to be used to control such a spectral band duplication process and / or that is used to decode such audio content. An example of eSBR metadata is metadata (for indicating or controlling a spectral band duplication process) that is described or mentioned in the MPEG USAC standard but not described or mentioned in the MPEG-4 AAC standard. Thus, 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.
[0029] A USAC bitstream may include both SBR and eSBR metadata. More specifically, a USAC bitstream may include eSBR metadata that controls the decoder's performance of eSBR processing and SBR metadata that controls the decoder's performance of SBR processing. According to an exemplary embodiment of the present invention, eSBR metadata (e.g., eSBR-specific configuration data) is included (in accordance with the present invention) in an MPEG-4 AAC bitstream (e.g., in an sbr_extension() container at the end of the SBR payload).
[0030] During decoding of a bitstream encoded using an eSBR tool set (including at least one eSBR tool), the decoder performs an eSBR process to regenerate the high-frequency band of the audio signal based on replicating the sequence of harmonics truncated during encoding. Such an eSBR process typically adjusts the spectral envelope of the generated high-frequency band, applies inverse filtering, and adds noise and sinusoidal components to recreate the spectral characteristics of the original audio signal.
[0031] According to an exemplary embodiment of the invention, the eSBR metadata (e.g. a small number of control bits that are the eSBR metadata) is included in one or more metadata segments of an encoded audio bitstream (e.g. an MPEG-4 AAC bitstream), which also contains encoded audio data in other segments (audio data segments). Typically, at least one such metadata segment for each block of the bitstream is (or contains) a filler element (containing an identifier indicating the beginning of the filler element), and the eSBR metadata is included in the filler element after the identifier.
[0032] 1 is a block diagram of an exemplary audio processing chain (audio data processing system), one or more of the elements of which may be configured in accordance with an embodiment of the present invention. The system includes the following elements coupled together as shown: an encoder 1, a delivery subsystem 2, a decoder 3 and a post-processing unit 4. In variations of the illustrated system, one or more of the elements are omitted or additional audio data processing units are included.
[0033] In some implementations, the encoder 1 (which optionally includes a pre-processing unit) is configured to accept as input PCM (time domain) samples containing audio content and to output an encoded audio bitstream (having a format conforming to the MPEG-4 AAC standard) representative of the audio content. The data in the bitstream representative of the audio content is sometimes referred to herein as "audio data" or "encoded audio data". When the encoder is configured according to an exemplary embodiment of the present invention, the audio bitstream output from the encoder includes eSBR metadata (and typically other metadata) in addition to the audio data.
[0034] One or more encoded audio bitstreams output from Encoder 1 may be presented to an 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 may be transmitted by Subsystem 2 (which may implement a transmission link or network), or may be both stored and transmitted by Subsystem 2.
[0035] Decoder 3 is configured to decode an encoded MPEG-4 AAC audio bitstream (generated by Encoder 1) received via Subsystem 2. In some embodiments, decoder 3 is configured to extract eSBR metadata from each block of the bitstream, decode the bitstream (including by performing eSBR processing using the extracted eSBR metadata), and generate 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 the eSBR metadata contained in the bitstream), and decode the bitstream (including by performing SBR processing using the extracted SBR metadata), and generate 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 the encoded audio bitstream received from Subsystem 2.
[0036] 1 is configured to accept a stream of decoded audio data (e.g. decoded PCM audio samples) from the decoder 3 and perform post-processing thereon. The post-processing unit may be configured to render the post-processed audio content (or decoded audio received from the decoder 3) for playback via one or more speakers.
[0037] 2 is a block diagram of an embodiment of an audio processing unit of the present invention, an encoder (100). Any of the components or elements of the encoder 100 may be implemented in hardware, software, or a combination of hardware and software, as one or more processes and / or one or more circuits (e.g., ASIC, FPGA or other integrated circuits). 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. Typically, the encoder 100 also 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.
[0038] Metadata generator 106 is coupled and configured to generate (and / or pass through to stage 107) metadata (including eSBR metadata and SBR metadata) to be included by stage 107 in the encoded bitstream to be output from encoder 100.
[0039] The encoder 105 is coupled to and configured to encode input audio data (e.g. by performing compression on it) and to present the resulting encoded audio to stage 107 for inclusion in an encoded bitstream to be output from stage 107.
[0040] Stage 107 is configured to multiplex the encoded audio from encoder 105 and the metadata (including eSBR metadata and SBR metadata) from generator 106 to generate an encoded bitstream to be output from stage 107. Preferably, the encoded bitstream has a format defined by one of the embodiments of the present invention.
[0041] The buffer memory 109 is configured to store (e.g. in a non-transient manner) at least one block of the encoded audio bitstream output from stage 107. The sequence of blocks of the encoded audio bitstream is then presented from the buffer memory 109 to a delivery system as output from the encoder 100.
[0042] 3 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 a post-processor (300) coupled thereto. Any of the components or elements of the decoder 200 may be implemented in hardware, software, or a combination of hardware and software, as one or more processes and / or one or more circuits (e.g., ASIC, FPGA, or other integrated circuits). The decoder 200 includes a buffer memory 201, a bitstream payload deformatter (parser) 205, an audio decode subsystem 202 (sometimes referred to as the "core" decode stage or "core" decode subsystem), an eSBR processing stage 203, and a control bit generation stage 204, connected as shown. Typically, the decoder 200 also includes other processing elements (not shown).
[0043] A buffer memory (buffer) 201 stores (e.g., in a non-transient manner) at least one block of an encoded MPEG-4 AAC audio bitstream that is received by the decoder 200. In operation of the decoder 200, a sequence of blocks of the bitstream are presented from the buffer 201 to a deformatter 205.
[0044] In a variation of the embodiment of FIG. 3 (or the embodiment of FIG. 4 described below), an APU that is not a decoder (e.g., APU 500 of FIG. 6) includes a buffer memory (e.g., a buffer memory identical to buffer 201) that stores (e.g., in a non-temporary manner) at least one block of the same type of encoded audio bitstream (e.g., an MPEG-4 AAC audio bitstream) as received by buffer 201 of FIG. 3 or FIG. 4 (i.e., an encoded audio bitstream including eSBR metadata).
[0045] 3, the deformatter 205 is coupled and configured to demultiplex each block of the bitstream, extract therefrom SBR metadata (including quantized envelope data) and eSBR metadata (and typically other metadata as well), and provide at least the eSBR metadata and the SBR metadata to the eSBR processing stage 203, and typically further provide other extracted metadata to the decode subsystem 202 (and optionally 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 provide the extracted audio data to the decode subsystem (decode stage) 202.
[0046] 3 also optionally 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 element of the post-processor 300 is coupled and configured to receive the sequence of blocks (or frames) of decoded audio output from the buffer 301 and adaptively process them using metadata output from the decoding subsystem 202 (and / or the deformatter 205) and / or control bits output from stage 204 of the decoder 200.
[0047] The audio decoding subsystem 202 of the decoder 200 is configured to decode the audio data extracted by the parser 205 (such decoding may be referred to as a "core" decoding operation) to generate decoded audio data, and to present the decoded audio data to the eSBR processing stage 203. The decoding is performed in the frequency domain and typically includes inverse quantization followed by spectral processing. Typically, the final stage of processing in 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 and eSBR tools indicated by the SBR and eSBR metadata (extracted by parser 205) to the decoded audio data (i.e., to perform SBR and eSBR processing on the output of decode subsystem 202 using the SBR and eSBR metadata) to generate fully decoded audio data that is output from decoder 200 (e.g., to post-processor 300). Typically, decoder 200 includes a memory (accessible by subsystem 202 and stage 203) that stores the deformatted audio data and metadata output from deformatter 205, and stage 203 is configured to access the audio data and metadata (including the SBR and eSBR metadata) as needed during SBR and eSBR processing. The SBR and eSBR processing in stage 203 may be considered to be post-processing on the output of core decode subsystem 202. Optionally, decoder 200 also includes a final upmix subsystem, which may apply parametric stereo ("PS") tools defined in the MPEG-4 AAC standard using the PS metadata extracted by deformatter 205 and / or the control bits generated in subsystem 204.The upmix subsystem is coupled and configured to perform an upmix on the output of stage 203 to generate fully decoded, upmixed audio, which is output from the decoder 200. Alternatively, the post-processor 300 is configured to perform an upmix on the output of the decoder 200 (e.g. using the PS metadata extracted by the deformatter 205 and / or the control bits generated in subsystem 204).
[0048] In response to the metadata extracted by the deformatter 205, the control bit generator 204 may generate control data. The control data may be used within the decoder 200 (e.g. in a final upmix subsystem) and / or may be presented as an output of the decoder 200 (e.g. to a post-processor 300 for use in post-processing). In response to the metadata extracted from the input bitstream (and optionally also in response to the control data), stage 204 may generate (and present to the post-processor 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 present the metadata extracted by the deformatter 205 from the input bitstream to the post-processor 300, which is configured to perform post-processing on the decoded audio data output from the decoder 200 using the metadata.
[0049] FIG. 4 is a block diagram of an audio processing unit ("APU") (210) that is another embodiment of an audio processing unit of the present invention. The APU 210 is a legacy decoder that is not configured to perform eSBR processing. Any of the components or elements of the APU 210 may be implemented in hardware, software, or a combination of hardware and software, as one or more processes and / or one or more circuits (e.g., ASIC, FPGA, or other integrated circuits). The APU 210 includes a buffer memory 201, a bitstream payload deformatter (parser) 215, an audio decode subsystem 202 (sometimes referred to as a "core" decode stage or "core" decode subsystem), and an SBR processing stage 213, connected as shown. Typically, the APU 210 also includes other processing elements (not shown). The APU 210 may represent, for example, an audio encoder, decoder, or transcoder.
[0050] Elements 201 and 202 of APU 210 are identical to the like numbered elements of decoder 200 (of FIG. 3) and their above description will not be repeated. In operation of APU 210, a sequence of blocks of an encoded audio bitstream (MPEG-4 AAC bitstream) received by APU 210 is presented from buffer 201 to deformatter 215.
[0051] The deformatter 215 is coupled and configured to demultiplex each block of the bitstream and extract therefrom SBR metadata (including quantized envelope data), typically as well as other metadata, but ignoring eSBR that may be included in the bitstream according to any embodiment of the invention. The deformatter 215 is configured to provide at least said 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 provide the extracted audio data to the decoding subsystem (decoding stage) 202.
[0052] The audio decode 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 generate decoded audio data, and to present the decoded audio data to the SBR processing stage 213. The 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. The stage 213 is configured to apply the SBR tools (but not 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 decode subsystem 202 using the SBR metadata) to generate fully decoded audio data that is output from the APU 210 (e.g. to the post-processor 300). Typically, APU 210 includes a memory (accessible by subsystem 202 and stage 213) that stores the deformatted audio data and metadata output from deformatter 215, with stage 213 configured to access the audio data and metadata (including SBR metadata) as needed during SBR processing. The SBR processing in stage 213 may be considered to be post-processing on the output of core decode subsystem 202. Optionally, APU 210 also includes a final upmix subsystem, which may apply parametric stereo ("PS") tools defined in the MPEG-4 AAC standard using the PS metadata extracted by deformatter 215. The upmix subsystem is coupled and configured to perform an upmix on the output of stage 213 to generate fully decoded, upmixed audio that is output from APU 210.Alternatively, a post-processor is configured to perform an upmix on the output of APU 210 (eg, using PS metadata extracted by deformatter 215 and / or control bits generated in APU 210).
[0053] Various implementations of the encoder 100, the decoder 200 and the APU 210 are configured to perform different embodiments of the method of the present invention.
[0054] According to some embodiments, eSBR metadata (e.g., a small number of control bits that are eSBR metadata) are included in the encoded audio bitstream (e.g., an MPEG-4 AAC bitstream) such that legacy decoders (not configured to parse the eSBR metadata or use any eSBR tools related to the eSBR metadata) will ignore the eSBR metadata but still be able to decode the bitstream as far as possible without using the eSBR metadata or any eSBR tools related to the eSBR metadata, typically without any significant penalty in the decoded audio quality. However, eSBR decoders that are 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 the use of at least one such eSBR tool. Thus, embodiments of the present invention provide a means for efficiently transmitting enhanced spectral band replication (eSBR) control data or metadata in a backwards compatible manner.
[0055] Typically, the eSBR metadata in the bitstream indicates one or more of the following eSBR tools (as described in the MPEG USAC standard and which may or may not have been applied by an encoder in generating the bitstream) (e.g., indicates at least one characteristic or parameter of one or more of the following eSBR tools): Harmonic conversion; and QMF patching additional pre-processing (pre-flattening).
[0056] For example, eSBR metadata included in the bitstream may indicate values for the parameters: sbrPatchingMode[ch], sbrOversamplingFlag[ch], sbrPitchInBins[ch], sbrPitchInBins[ch], and bs_sbr_preprocessing (as described in the MPEG USAC standard and this disclosure).
[0057] Here, the notation X[ch], where X is some parameter, denotes that the parameter relates to a channel ("ch") of the audio content of the encoded bitstream that is to be decoded. For simplicity, we sometimes abbreviate the notation [ch] and assume that the associated parameter relates to some channel of the audio content.
[0058] Here, the notation X[ch][env], where X is some parameter, denotes 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 abbreviate the expressions [env] and [ch] and assume that the associated parameter relates to a certain SBR envelope of a certain channel of the audio content.
[0059] During decoding of an encoded bitstream, the performance of harmonic transformations during the eSBR processing stage of the decoding (for each channel "ch" of the audio content represented by the bitstream) is controlled by the following eSBR metadata parameters: sbrPatchingMode[ch]; sbrOversamplingFlag[ch]; sbrPitchInBinsFlag[ch] and sbrPitchInBins[ch].
[0060] The value of 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.
[0061] The value of sbrOversamplingFlag[ch] indicates the use of signal-adaptive frequency-domain oversampling in eSBR in combination with 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 commutator. 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.
[0062] The value of sbrPitchInBinsFlag[ch] controls the interpretation of the sbrPitchInBins[ch] parameter: 1 indicates that the value in sbrPitchInBins[ch] is valid and greater than 0; 0 indicates that the value of sbrPitchInBins[ch] is set to 0.
[0063] The value of sbrPitchInBins[ch] controls the addition of cross-product terms in the SBR harmonic converter. The value sbrPitchInBins[ch] is an integer value in the range [0,127] and represents the distance measured in frequency bins for a 1536-line DFT operating on the sampling frequency of the core encoder.
[0064] If an MPEG-4 AAC bitstream indicates a disjointed SBR channel pair (rather than a single SBR channel), then the bitstream indicates two instances of the above syntax (for harmonic or non-harmonic conversion): one instance for each channel of sbr_channel_pair_element().
[0065] The harmonic transposition of eSBR tools typically improves the quality of the decoded music signal at relatively low crossover frequencies. Non-harmonic transposition (i.e., legacy spectral patching) typically improves the speech signal. Thus, the starting point in determining which type of transposition is preferred for encoding a particular audio content is to select a transposition method depending on the speech / music detection, where harmonic transposition is used for music content and spectral patching is used for speech content.
[0066] The implementation of pre-flattening during eSBR processing is controlled by the value of a single-bit eSBR metadata parameter known as bs_sbr_preprocessing, in the sense that pre-flattening is implemented or not implemented depending on the value of this single bit. When the SBR QMF patching algorithm described in section 4.6.18.6.3 of the MPEG-4 AAC standard is used, a pre-flattening stage may be implemented (when indicated by the bs_sbr_preprocessing parameter) in order to avoid discontinuities in the shape of the spectral envelope of the high-frequency signal being input to a subsequent envelope adjuster (which implements another stage of the eSBR processing). Pre-flattening typically improves the performance of the subsequent envelope adjustment stage, resulting in a more stable perceived high-frequency signal.
[0067] The overall bitrate requirement for including eSBR metadata indicating the above-mentioned eSBR tools (harmonic conversion and pre-flattening) in an MPEG-4 AAC bitstream is expected to be on the order of a few hundred bits per second, since according to some embodiments of the present invention, only the differential control data required to perform the eSBR processing is transmitted. This information is included in a backwards-compatible manner (as described below), so that legacy decoders can ignore it. Therefore, the negative bitrate impact associated with the inclusion of eSBR metadata is negligible for several reasons, including the following: the bitrate penalty (due to the inclusion of eSBR metadata) is a very small percentage of the total bitrate, since only the differential control data required to perform the eSBR processing is transmitted (not a simulcast of SBR control data); and Tuning of SBR-related control information is typically independent of conversion details.
[0068] Thus, embodiments of the present invention provide a means for efficiently transmitting enhanced Spectral Band Replication (eSBR) control data or metadata in a backwards-compatible manner. This efficient transmission of eSBR control data reduces memory requirements in decoders, encoders, and transcoders employing aspects of the present invention, without any appreciable adverse impact on bitrate. Additionally, the complexity and processing requirements associated with performing eSBR in accordance with embodiments of the present invention are also reduced, since the SBR data only needs to be processed once and does not need to be simulcast, as it would be if eSBR were treated as an entirely separate object type in MPEG-4 AAC, rather than being integrated into the MPEG-4 AAC codec in a backwards-compatible manner.
[0069] Elements of an MPEG-4 AAC bitstream block (raw_data_block) in which eSBR metadata may be included according to some embodiments of the present invention will now be described with reference to Figure 7. Figure 7 is a diagram of an MPEG-4 AAC bitstream block (raw_data_block) showing some of its segments.
[0070] A block of an MPEG-4 AAC bitstream may contain at least one single_channel_element() (e.g., the single channel element shown in FIG. 7) and / or at least one channel_pair_element() (not specifically shown in FIG. 7, but possible) that contain audio data for an audio program. A block may also contain several fill_elements (e.g., fill element 1 and / or fill element 2 in FIG. 7) that contain data (e.g., metadata) related to the program. Each single_channel_element() contains an identifier (e.g., "ID1" in FIG. 7) that indicates the start of a single channel element and may contain audio data that indicates different channels of a multichannel audio program. Each channel_pair_element contains an identifier (not shown in FIG. 7) that indicates the start of a channel pair element and may contain audio data that indicates two channels of the program.
[0071] A fill_element (referred to herein as a fill element) in an MPEG-4 AAC bitstream contains an identifier (e.g., "ID2" in FIG. 7) that indicates the beginning of the fill element, followed by fill data. The identifier ID2 may consist of a three-bit, most significant bit-first transmitted unsigned integer ("uimsbf") with value 0x6. The fill data may contain an extension_payload() element (sometimes referred to herein as an extension payload), the syntax of which is shown in Table 4.57 of the MPEG-4 AAC standard. Several types of extension payload exist and are identified through the extension_type parameter, which is a four-bit, most significant bit-first transmitted unsigned integer ("uimsbf").
[0072] The filling data (e.g., its extension payload) may include a header or identifier (e.g., "Header 1" in FIG. 7) that indicates a segment of the filling data that indicates an SBR object (i.e., the header initializes an "SBR object" type, referred to as sbr_extension_data() in the MPEG-4 AAC standard). For example, a Spectral Band Replication (SBR) extension payload is identified with a value "1101" or "1110" for the extension_type field in the header, where the identifier "1101" identifies an extension payload with SBR data and "1110" identifies an extension payload with SBR data with a cyclic redundancy check (CRC) to verify the correctness of the SBR data.
[0073] When the header (e.g., the extension_type field) initializes an SBR object type, the header is followed by SBR metadata (sometimes referred to herein as "spectral band replication data" and referred to as sbr_data() in the MPEG-4 AAC standard), which may be followed by at least one spectral band replication extension element (e.g., the "SBR extension element" of filler element 1 in FIG. 7). Such a spectral band replication extension element (a segment of a bitstream) is referred to as an sbr_extension() container in the MPEG-4 AAC standard. A spectral band replication extension element optionally includes a header (e.g., the "SBR extension header" of filler element 1 in FIG. 7).
[0074] The MPEG-4 AAC standard contemplates that a spectral band replication extension element may contain PS (parametric stereo) data for the audio data of a program. The MPEG-4 AAC standard contemplates that a filler element (e.g., its extension payload) contains a spectral band replication data bs_extension_id parameter when the header of the filler element (e.g., its extension payload) initializes an SBR object type (such as "Header 1" in Figure 7) and the filler element's spectral band replication extension element contains PS data. The value of this parameter (i.e., bs_extension_id=2) indicates that PS data is included in the filler element's spectral band replication extension element.
[0075] According to some embodiments of the invention, eSBR metadata (e.g. a flag indicating whether enhanced spectral band replication (eSBR) processing is performed on the audio content of the block) is included in a spectral band replication extension element of a filler element. For example, such a flag is shown in filler element 1 of FIG. 7, where the flag appears after the header of the "SBR extension element" of filler element 1 ("SBR extension header" of filler element 1). Optionally, such a flag and additional eSBR metadata are included in the spectral band replication extension element after the header of the spectral band replication extension element (e.g. after the SBR extension header in the SBR extension element of filler element 1 in FIG. 7). According to some embodiments of the invention, a filler element including eSBR metadata also includes a bs_extension_id parameter. A value of that parameter (e.g. bs_extension_id=3) indicates that the filler element includes eSBR metadata and that eSBR processing should be performed on the audio content of the block.
[0076] According to some embodiments of the present invention, the eSBR metadata is included in a filler element of the MPEG-4 AAC bitstream other than the spectral band replication extension element (SBR extension element) of the filler element (e.g., filler element 2 in FIG. 7). This is because a filler element containing an extension_payload() with SBR data or SBR data with CRC does not contain any other extension payload of any other extension type. Therefore, in embodiments where the eSBR metadata is stored in its own extension payload, a separate filler element is used to store the eSBR metadata. Such a filler element contains an identifier (e.g., "ID2" in FIG. 7) that indicates the beginning of the filler element, followed by the filler data. The filler data can contain an extension_payload() element (sometimes referred to herein as the extension payload). Its syntax is shown in Table 4.57 of the MPEG-4 AAC standard. The filling data (e.g., its extension payload) may include a header (e.g., “Header 2” of filling element 2 of FIG. 7) indicating an eSBR object (i.e., the header initializes an enhanced Spectral Band Replication (eSBR) object type), and the filling data (e.g., its extension payload) includes eSBR metadata after the header. For example, filling element 2 of FIG. 7 includes such a header (e.g., “Header 2”), which also includes eSBR metadata after the header (i.e., a “flag” in filling element 2 indicating whether enhanced Spectral Band Replication (eSBR) processing is performed on the audio content of the block). Optionally, additional eSBR metadata is also included in the filling data of filling element 2 of FIG. 7 after header 2. In the embodiment described in this paragraph, the header (e.g., Header 2 of FIG. 7) has a signature value indicating an eSBR extension payload (thus the extension_type field of the header indicates that the filling data includes eSBR metadata) rather than one of the normal values specified in Table 4.57 of the MPEG-4 AAC standard.
[0077] In a first class of embodiments, the present invention provides an audio processing unit (e.g. a decoder) comprising: a memory (e.g., buffer 201 of FIG. 3 or FIG. 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); a bitstream payload deformatter (e.g., element 205 of FIG. 3 or element 215 of FIG. 4 ), coupled to the memory and configured to demultiplex at least a portion of the blocks of the bitstream; a decoding subsystem (e.g., elements 202 and 203 of FIG. 3 or elements 202 and 213 of FIG. 4) coupled and configured to decode at least a portion of the audio content of the block of the bitstream, the block comprising: It includes a filler element, an identifier indicating the beginning of the filler element (for example, the id_syn_ele identifier having the value 0x6 in table 4.85 of the MPEG-4 AAC standard), and filler data following the identifier, the filler data being: at least one flag that identifies whether enhanced spectral band replication (eSBR) processing should be performed on the audio content of the block (e.g., using the spectral band replication data and eSBR metadata included in the block); An audio processing unit.
[0078] The flags are 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 replication should 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 transformation.
[0079] In some embodiments, the filler data also includes additional eSBR metadata (ie, eSBR metadata other than the flags).
[0080] The memory may be a buffer memory (eg, an implementation of buffer 201 of FIG. 4) that stores (eg, in a non-transient manner) the at least one block of an encoded audio bitstream.
[0081] The complexity of the execution of eSBR processing (using eSBR harmonic conversion and pre-flattening) by an eSBR decoder during decoding of an MPEG-4 AAC bitstream containing eSBR metadata (the eSBR metadata indicates these eSBR tools) is estimated to be (for a typical decoding with the parameters shown) as follows: ●Harmonic conversion (16kbps, 14400 / 28800Hz) DFT-based: 3.68 WMOPS (weighted million operations per second); ○QMF base: 0.98 WMOPS; ●QMF patching pre-processing (pre-flattening): 0.1 WMOPS For the transient components, it has been found that DFT-based transformations typically perform better than QMF-based transformations.
[0082] According to some embodiments of the invention, a filler element (of an encoded audio bitstream) containing eSBR metadata also includes a parameter (e.g., a bs_extension_id parameter) with a value (e.g., bs_extension_id=3) signaling that eSBR metadata is included in the filler element and that eSBR processing should be performed on the audio content of that block and / or a parameter (e.g., the same bs_extension_id parameter) with a value (e.g., bs_extension_id=2) signaling that the sbr_extension() container of the filler element contains PS data. For example, as shown in Table 1 below, such a parameter with a value bs_extension_id=2 may signal that the sbr_extension() container of the filler element contains PS data, and such a parameter with a value bs_extension_id=3 may signal that the sbr_extension() container of the filler element contains eSBR metadata. [Table 1] According to some embodiments of the present invention, the syntax of each spectrum band duplication extension element containing eSBR metadata and / or PS data is as shown in Table 2 below (where sbr_extension() represents a container that is a spectrum band duplication extension element, bs_extension_id is as described in Table 1 above, ps_data represents PS data, and esbr_data represents eSBR metadata). [Table 2] In one exemplary embodiment, the esbr_data() referenced in Table 2 above indicates values for the following metadata parameters: 1. The metadata parameter bs_sbr_preprocessing in the above bit; and 2. For each channel ("ch") of the audio content of the encoded bitstream to be decoded, repeat the above parameters: sbrPatchingMode[ch]; sbrOversamplingFlag[ch]; sbrPitchInBinsFlag[ch]; and sbrPitchInBins[ch].
[0083] For example, in some embodiments, esbr_data() may have the syntax shown in Table 3 to indicate these metadata parameters. [Table 3-1] [Table 3-2] The above syntax allows for efficient implementation of enhanced forms of spectral band replication, such as harmonic transformation, as an extension to legacy decoders. Specifically, the eSBR data in Table 3 includes only parameters that are required to perform the enhanced form of spectral band replication and that are not already supported in the bitstream or directly derivable from parameters already supported in the bitstream. All other parameters and processing data required to perform the enhanced form of spectral band replication are extracted from existing parameters in positions already defined in the bitstream.
[0084] For example, an MPEG-4 HE-AAC or HE-AAC-v2 compliant decoder may be extended to include an improved form of spectral band replication, such as harmonic transformation, in addition to the basic form of spectral band replication already supported by the decoder. In the context of an MPEG-4 HE-AAC or HE-AAC-v2 compliant decoder, this basic form of spectral band replication is the QMF Spectral Patching SBR tool defined in clause 4.6.18 of the MPEG-4 AAC standard.
[0085] When performing the improved form of spectral band replication, the enhanced HE-AAC decoder may reuse many of the bitstream parameters already included in the SBR extension payload of the bitstream. Specific parameters that may be reused include, for example, various parameters that determine the master frequency band table. These parameters include bs_start_freq (a parameter that determines the start of the master frequency table parameters), bs_stop_freq (a parameter that determines the end of the master frequency table), bs_freq_scale (a parameter that determines the number of frequency bands per octave), and bs_alter_scale (a parameter that alters the scale of the frequency bands). Parameters that may be reused also include parameters that determine the noise band table (bs_noise_bands) and the limiter band table parameters (bs_limiter_bands). Thus, in various embodiments, at least some of the equivalent parameters specified in the USAC standard are omitted from the bitstream, thereby reducing control overhead in the bitstream. Typically, if 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. For example, envelope scale factor E OrigMapped However, the equivalent parameters specified in the USAC standard typically have different values that are "tuned" for the enhanced SBR process defined in the USAC standard rather than for the SBR process defined in the AAC standard.
[0086] In addition to many of the parameters mentioned above, other data elements may also be reused by the enhanced HE-AAC decoder when performing the enhanced spectral band replication according to embodiments of the present invention. For example, envelope data and noise floor data may be extracted from the bs_data_env (envelope scale factor) and bs_noise_env (noise floor scale factor) data and used during the enhanced spectral band replication.
[0087] Essentially, these embodiments leverage configuration parameters and envelope data already supported by legacy HE-AAC or HE-AAC v2 decoders in the SBR extension payload to enable enhanced spectral band replication with as little additional transmission data as possible. The metadata was originally tuned for basic HFR (e.g., spectrum patching for SBR) but is used for enhanced HFR (e.g., harmonic transformation for eSBR) according to the embodiment. As discussed above, the metadata is generally tuned for use with basic HFR (e.g., linear translation) and represents intended operating parameters (e.g., envelope scale factor, noise floor scale factor, time / frequency lattice parameters, sinusoid addition information, variable crossover frequencies / bands, inverse filtering mode, envelope resolution, smoothing mode, frequency interpolation mode). However, this metadata may be combined with additional metadata parameters specific to the enhanced form of HFR (e.g., harmonic conversion) and used to efficiently and effectively process audio data using the enhanced form of HFR.
[0088] Thus, an enhanced decoder supporting the enhanced form of spectral band replication can be generated in a very efficient manner by relying on already defined bitstream elements (e.g., those in the SBR extension payload) and adding (in the filler element extension payload) only the parameters that are required to support the enhanced form of spectral band replication. This data reduction feature, combined with placing the newly added parameters in reserved data fields such as the extension container, substantially reduces the barrier to creating decoders that support 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.
[0089] In Table 3, the numbers in the right column indicate the number of bits of the corresponding parameter in the left column.
[0090] In some embodiments, the SBR object type defined in MPEG-4 AAC is updated to include aspects of SBR-Tool or enhanced SBR (eSBR), as signaled in the SBR extension element (bs_extension_id==EXTENSION_ID_ESBR).
[0091] In some embodiments, the invention is a method that includes encoding audio data to generate an encoded bitstream (e.g., an MPEG-4 AAC bitstream) by including eSBR metadata in at least one segment of at least one block of the encoded bitstream and audio data in at least one other segment of the block. In an exemplary embodiment, the method includes multiplexing audio data with the eSBR metadata in each block of the encoded bitstream. In an exemplary 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 audio data) and uses the eSBR metadata to process the audio data to generate a stream of decoded audio data.
[0092] 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 transformation or pre-flattening) during decoding of an encoded audio bitstream (e.g., an MPEG-4 AAC bitstream) that does not include eSBR metadata. An example of such a decoder is described with reference to FIG.
[0093] The eSBR decoder (400) of Figure 5 includes, connected as shown, a buffer memory 201 (which is identical to memory 201 of Figures 3 and 4), a bitstream payload deformatter 215 (which is identical to deformatter 215 of Figure 4), an audio decode subsystem 202 (sometimes referred to as the "core" decode stage or subsystem, which is identical to core decode subsystem 202 of Figure 3), an eSBR control data generation subsystem 401, and an eSBR processing stage 203 (which is identical to stage 203 of Figure 3). Typically, decoder 400 also includes other processing elements (not shown).
[0094] In operation of the decoder 400 , a sequence of blocks of an encoded audio bitstream (eg, an MPEG-4 AAC bitstream) received by the decoder 400 is presented from the buffer 201 to the deformatter 215 .
[0095] The deformatter 215 is coupled and configured to demultiplex each block of the bitstream and extract therefrom SBR metadata (including quantized envelope data), and typically other metadata as well. The deformatter 215 is configured to provide at least said 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 provide the extracted audio data to the decoding subsystem (decoding stage) 202.
[0096] 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 generate decoded audio data, and to present the decoded audio data to the eSBR processing stage 203. The 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. The 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., to perform SBR and eSBR processing on the output of the decoding subsystem 202 using the SBR and eSBR metadata) to generate the fully decoded audio data that is output from the decoder 400. Typically, the decoder 400 includes a memory (accessible by the subsystem 202 and the stage 203) that stores the deformatted audio data and metadata output from the deformatter 215 (and optionally the subsystem 401), with the stage 203 configured to access the audio data and metadata as needed during SBR and eSBR processing. The SBR processing in the stage 203 may be considered to be a post-processing on the output of the core decode subsystem 202. Optionally, the decoder 400 also includes a final upmix subsystem, which may apply parametric stereo ("PS") tools defined in the MPEG-4 AAC standard using the PS metadata extracted by the deformatter 215. The upmix subsystem is coupled and configured to perform an upmix on the output of the stage 203 to generate a fully decoded, upmixed audio that is output from the APU 210.
[0097] The control data generation subsystem 401 of Figure 5 is coupled and configured to detect at least one attribute of the encoded audio bitstream to be decoded and to generate eSBR control data (which may be or include eSBR metadata of any type that may be included in the encoded audio bitstream according to other embodiments of the invention) in response to at least one result of the detection step. The eSBR control data is presented to stage 203 to trigger and / or control the application of individual eSBR tools or combinations of eSBR tools upon detection of a particular attribute (or combination of attributes) of the bitstream. For example, to control the execution of eSBR processing using harmonic conversion, 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 a sbrPatchingMode[ch] parameter in response to detecting whether the bitstream indicates music or not (and presenting the set parameter to stage 203); a transient detector for setting a sbrOversamplingFlag[ch] parameter in response to detecting the presence or absence of a transient component in the audio content indicated by the bitstream (and presenting the set parameter to stage 203); and / or a pitch detector for setting sbrPitchInBinsFlag[ch] and sbrPitchInBins[ch] parameters in response to detecting the pitch of the audio content indicated by the bitstream (and presenting the set parameter to stage 203). Another aspect of the invention is an audio bitstream decoding method performed by any of the embodiments of the inventive decoders described in this and the previous paragraphs.
[0098] Aspects of the invention include encoding or decoding methods of the type that any of the embodiments of the APU, system or device of the invention are configured (e.g., programmed) to perform. Other aspects of the invention include systems or devices configured (e.g., programmed) to perform any of the embodiments of the methods of the invention as well as computer readable media (e.g., disks) storing (e.g., in a non-transitory manner) code for implementing any of the embodiments or steps of the methods of the invention. For example, a system of the invention may be or include a programmable general purpose processor, digital signal processor or microprocessor programmed and / or otherwise configured with software or firmware to perform any of a variety of operations on data, including embodiments of the methods of the invention, or steps thereof. Such a general purpose processor may be or include a computer system including an input device, memory and processing circuitry programmed (and / or otherwise configured) to perform embodiments of the methods of the invention (or steps thereof) in response to data presented to it.
[0099] Embodiments of the 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 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 of the present disclosure, or it may prove convenient to construct a more specialized apparatus (e.g., an integrated circuit) to perform the required method steps. Thus, the present invention may be implemented in one or more computer programs running on one or more programmable computer systems (e.g., an implementation of any of the elements of FIG. 1 or the encoder 100 (or an element thereof) of FIG. 2 or the decoder 200 (or an element thereof) of FIG. 3 or the decoder 210 (or an element thereof) of FIG. 4 or the decoder 400 (or an element thereof) of FIG. 5). Each computer system has at least one processor, at least one data storage system (including volatile and non-volatile memory and / or storage elements), at least one input device or port, and at least one output device or port. The program code is applied to input data to perform the functions described herein and generate output information. The output information is applied to one or more output devices, in known fashion.
[0100] Each such program may be implemented in any desired computer language to communicate with a computer system, including machine, assembly, or a high level procedural, logical, or object-oriented programming language, and in any case, the language may be a compiled or interpreted language.
[0101] For example, when implemented by computer software instruction sequences, various functions and steps of embodiments of the present invention may be implemented by multi-threaded software instruction sequences running on suitable digital signal processing hardware, in which case various units, steps and functions of the embodiments may correspond to portions of the software instructions.
[0102] Each such computer system is preferably stored in or downloaded to a general-purpose or special-purpose programmable computer-readable storage medium or device (e.g., semiconductor memory or media or magnetic or optical media) which, when read by the computer system, configures and operates the computer to perform the procedures described herein. The system of the present invention may be implemented as a computer-readable storage medium configured with (i.e., having stored thereon) a computer program, where the storage medium so configured causes the computer system to operate in a specific, predefined manner to perform the functions described herein.
[0103] Several embodiments of the present invention have been described. Nevertheless, it will be appreciated that various modifications may be made without departing from the spirit and scope of the present invention. Numerous modifications and variations of the present invention are possible in light of the above teachings. For example, a phase shift may be used in combination with a complex QMF decomposition and synthesis filter bank to facilitate efficient implementation. The decomposition filter bank is responsible for filtering the time domain low-pass signal generated by the core decoder into multiple sub-bands (e.g., QMF sub-bands). The synthesis filter bank is responsible for combining the reconstructed high-pass generated by the selected HFR technique (indicated by the received sbrPatchingMode parameter) with the decoded low-pass to generate a wideband output audio signal. However, a given filter bank implementation operating in a certain sample rate mode, e.g., normal dual-rate operation or downsampled SBR mode, should not have a phase shift that is bitstream dependent. The QMF bank used in SBR is a complex-exponential extension of the cosine modulated filter bank theory. It can be shown that the extension of cosine-modulated filter banks with complex-exponential modulation removes the alias cancellation constraint. Thus, for an SBR QMF bank, the analysis filter h k (n) and synthesis filter f k Any of (n) may be defined by the following formula:
number
[0104] The coefficients of the prototype filter p0(n), with length L of 640, may be defined as shown in Table 4 below. [Table 4-1] [Table 4-2] [Table 4-3] [Table 4-4] [Table 4-5] [Table 4-6] The prototype filter p0(n) may be derived from Table 4 by one or more mathematical operations such as rounding, subsampling, interpolation, and decimation.
[0105] It is to be understood that, within the scope of the appended claims, the invention may be practiced other than as specifically described herein. Any reference signs included in the claims are for illustrative purposes only and shall not be used to interpret or limit the claims in any manner.
[0106] Several aspects will be described. [Aspect 1] 1. A method of decoding an encoded audio bitstream, the method comprising: receiving an encoded audio bitstream, the encoded audio bitstream including audio data representing a low frequency portion of an audio signal; decoding the audio data to generate a decoded low-pass audio signal; extracting high frequency reconstruction metadata from the encoded audio bitstream, the high frequency reconstruction metadata including operational parameters for a high frequency reconstruction process that linearly translates successive subbands from a low frequency portion of the audio signal into a high frequency portion of the audio signal; filtering the decoded lowpass audio signal with a analysis filter bank to generate a filtered lowpass audio signal; extracting from the encoded audio bitstream a flag indicating whether a linear translation or a harmonic transformation should be performed on the audio data; regenerating a high-frequency portion of the audio signal using the filtered low-frequency audio signal and the high-frequency reconstruction metadata according to the flag; combining the filtered low-band audio signal and the regenerated high-band portion to form a wideband audio signal. method. [Aspect 2] The method of claim 1, wherein the encoded audio bitstream further includes a filler element having an identifier indicating the beginning of the filler element and filler data following the identifier, and the filler data includes the flag. [Aspect 3] 3. The method of embodiment 2, wherein the identifier is a three-bit, most significant bit transmitted first unsigned integer having a value of 0x6. Aspect 4 the filler data comprises an extended payload, the extended payload comprises spectral band replication extension data, the extended payload being identified using a four-bit, most significant bit transmitted first unsigned integer having a value of "1101" or "1110", and optionally The spectral band duplication extension data includes: Optional Spectral Band Replication Header; spectral band replica data following said header; a spectral band replication extension element following the spectral band replication data, the flag being included in the spectral band replication extension element; The method of embodiment 2. Aspect 5 The method of any one of aspects 1 to 4, wherein the high frequency reconstruction metadata includes operational parameters selected from the group consisting of envelope scale factor, noise floor scale factor, sinusoidal additional information, time / frequency lattice information, crossover frequencies and inverse filtering modes. Aspect 6 the analysis filter bank being
number
number
Claims
1. 1. A method for decoding an encoded audio bitstream, the method comprising: receiving an encoded audio bitstream, the encoded audio bitstream including audio data representing a low-frequency portion of an audio signal; decoding the audio data to generate a decoded lowband audio signal; extracting high-frequency reconstruction metadata from the encoded audio bitstream, the high-frequency reconstruction metadata comprising linear translation operation parameters tuned for a high-frequency reconstruction process of linearly translating a number of consecutive subbands from a low-frequency portion of the audio signal to a high-frequency portion of the audio signal, the linear translation operation parameters comprising sinusoidal additional information; extracting a parameter from the encoded audio bitstream indicating whether to use signal adaptive frequency domain oversampling; filtering the decoded lowpass audio signal with a analysis filter bank to generate a filtered lowpass audio signal; extracting from the encoded audio bitstream a flag indicating whether a linear translation or a harmonic transformation should be performed on the audio data; If the flag indicates that harmonic transformation should be performed on the audio data: and regenerating the high-frequency portion of the audio signal by performing a harmonic transformation using the filtered low-frequency audio signal and the high-frequency reconstruction metadata including the sinusoidal additional information, The sinusoidal additional information is reused for harmonic transformation, even though it was encoded for linear translation processing. method.
2. 2. The method of claim 1, wherein the encoded audio bitstream further includes a filler element, the filler element having an identifier indicating the beginning of the filler element and filler data following the identifier, the filler data including the flag.
3. 1. A decoder for decoding an encoded audio bitstream, the decoder comprising: an input interface for receiving an encoded audio bitstream, the encoded audio bitstream including audio data representing a low-frequency portion of an audio signal; a core decoder for decoding the audio data to generate a decoded lowband audio signal; a deformatter for performing the steps of: extracting high-frequency reconstruction metadata from the encoded audio bitstream, the high-frequency reconstruction metadata including linear translation operation parameters tuned for a high-frequency reconstruction process that linearly translates several consecutive subbands from a low-pass part of the audio signal to a high-pass part of the audio signal, the linear translation operation parameters including sinusoidal additional information; and extracting from the encoded audio bitstream a parameter indicating whether to use signal-adaptive frequency-domain oversampling; an analysis filter bank for filtering the decoded lowpass audio signal to generate a filtered lowpass audio signal; a deformatter that extracts from the encoded audio bitstream a flag indicating whether a linear translation or a harmonic transformation should be performed on the audio data; a high frequency regenerator for regenerating a high frequency portion of the audio signal by performing a harmonic transformation using the filtered low frequency audio signal and the high frequency reconstruction metadata including the sinusoidal additional information if the flag indicates that a harmonic transformation should be performed on the audio data, The sinusoidal additional information is reused for harmonic transformation, even though it was encoded for linear translation processing. decoder.
4. 4. The decoder of claim 3, wherein the encoded audio bitstream further comprises a filler element, the filler element having an identifier indicating the beginning of the filler element and filler data following the identifier, the filler data comprising the flag.
Citation Information
Patent Citations
IEC14496-3
Aliasing Reduction Using a Complex Exponential Modulation Filterbank
JP2004533155A
Low-latency modulation filter bank
JP2012518354A
Decoding audio bitstreams with enhanced spectral band replication metadata in at least one fill element
WO2016146492A1