Method and system for encoding metadata in audio data streams and for efficient bit rate allocation for encoding audio data streams

DE602020052081T2Active Publication Date: 2025-05-28VOICEAGE CORPORATION
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
DE602020052081
Authority / Receiving Office
DE · DE
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-07-07
Publication Date
2025-05-28
Estimated Expiration
2040-07-07

AI Technical Summary

Technical Problem

Existing technologies face challenges in efficiently coding and decoding object-based audio signals, particularly in managing metadata and adapting bitrates to achieve optimal immersive audio experiences.

Method used

A system and method for coding and decoding object-based audio signals that involve input buffering, audio streams analysis, metadata analysis, quantization, and coding, along with flexible intra-object and inter-object bitrate adaptation to efficiently distribute the available bitrate.

Benefits of technology

The solution enables efficient coding and decoding of object-based audio signals, providing flexible bitrate adaptation and robustness in noisy channels, thereby enhancing the immersive audio experience.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to sound coding, more specifically to a technique for digitally coding object-based audio, for example speech, music or general audio sound. In particular, the present disclosure relates to a system and method for coding and a system and method for decoding an object-based audio signal comprising audio objects in response to audio streams with associated metadata.

[0002] In the present disclosure and the appended claims: (a) The term "object-based audio" is intended to represent a complex audio auditory scene as a collection of individual elements, also known as audio objects. Also, as indicated herein above, "object-based audio" may comprise, for example, speech, music or general audio sound. (b) The term "audio object" is intended to designate an audio stream with associated metadata. For example, in the present disclosure, an "audio object" is referred to as an independent audio stream with metadata (ISm). (c) The term "audio stream" is intended to represent, in a bit-stream, an audio waveform, for example speech, music or general audio sound, and may consist of one channel (mono) though two channels (stereo) might be also considered. "Mono" is the abbreviation of "monophonic" and "stereo" the abbreviation of "stereophonic." (d) The term "metadata" is intended to represent a set of information describing an audio stream and an artistic intension used to translate the original or coded audio objects to a reproduction system. The metadata usually describes spatial properties of each individual audio object, such as position, orientation, volume, width, etc. In the context of the present disclosure, two sets of metadata are considered: input metadata: unquantized metadata representation used as an input to a codec; the present disclosure is not restricted a specific format of input metadata; and coded metadata: quantized and coded metadata forming part of a bit-stream transmitted from an encoder to a decoder. (e) The term "audio format" is intended to designate an approach to achieve an immersive audio experience. (f) The term "reproduction system" is intended to designate an element, in a decoder, capable of rendering audio objects, for example but not exclusively in a 3D (Three-Dimensional) audio space around a listener using the transmitted metadata and artistic intension at the reproduction side. The rendering can be performed to a target loudspeaker layout (e.g. 5.1 surround) or to headphones while the metadata can be dynamically modified, e.g. in response to a head-tracking device feedback. Other types of rendering may be contemplated. BACKGROUND

[0003] In last years, the generation, recording, representation, coding, transmission, and reproduction of audio is moving towards enhanced, interactive and immersive experience for the listener. The immersive experience can be described e.g. as a state of being deeply engaged or involved in a sound scene while the sounds are coming from all directions. In immersive audio (also called 3D audio), the sound image is reproduced in all 3 dimensions around the listener taking into account a wide range of sound characteristics like timbre, directivity, reverberation, transparency and accuracy of (auditory) spaciousness. Immersive audio is produced for given reproduction systems, i.e. loudspeaker configurations, integrated reproduction systems (sound bars) or headphones. Then interactivity of an audio reproduction system can include e.g. an ability to adjust sound levels, change positions of sounds, or select different languages for the reproduction.

[0004] There are three fundamental approaches (also referred below as audio formats) to achieve an immersive audio experience.

[0005] A first approach is a channel-based audio where multiple spaced microphones are used to capture sounds from different directions while one microphone corresponds to one audio channel in a specific loudspeaker layout. Each recorded channel is supplied to a loudspeaker in a particular location. Examples of channel-based audio comprise, for example, stereo, 5.1 surround, 5.1+4 etc.

[0006] A second approach is a scene-based audio which represents a desired sound field over a localized space as a function of time by a combination of dimensional components. The signals representing the scene-based audio are independent of the audio sources positions while the sound field has to be transformed to a chosen loudspeakers layout at the rendering reproduction system. An example of scene-based audio is ambisonics.

[0007] A third, last immersive audio approach is an object-based audio which represents an auditory scene as a set of individual audio elements (for example singer, drums, guitar) accompanied by information about, for example their position in the audio scene, so that they can be rendered at the reproduction system to their intended locations. This gives an object-based audio a great flexibility and interactivity because each object is kept discrete and can be individually manipulated.

[0008] Each of the above described audio formats has its pros and cons. It is thus common that not only one specific format is used in an audio system, but they might be combined in a complex audio system to create an immersive auditory scene. An example can be a system that combines a scene-based or channel-based audio with an object-based audio, e.g. ambisonics with few discrete audio objects. The U.S. patent application No. US 2017 / 365262 A1 discloses an audio decoding device. An input signal includes a channel-based audio signal and an object-based audio signal, and an audio encoding device includes an audio scene analysis unit configured to determine an audio scene from the input signal and detect audio scene information; a channel-based encoder that encodes the channel-based audio signal output from the audio scene analysis unit; an object-based encoder that encodes the object-based audio signal output from the audio scene analysis unit; and an audio scene encoding unit configured to encode the audio scene information. The Canadian patent application No. CA 3 074 750 A1 discloses a method and device for efficiently distributing a bit-budget in a CELP codec. A method and device allocate a bit-budget to a plurality of first parts of a CELP core module of (a) an encoder for encoding a sound signal or (b) a decoder for decoding the sound signal. In the method and device, bit-budget allocation tables assign, for each of a plurality of intermediate bit rates, respective bit-budgets to the first CELP core module parts. A CELP core module bit rate is determined and one of the intermediate bit rates is selected based on the determined CELP core module bit rate. The respective bit-budgets assigned by the bit-budget allocation tables for the selected intermediate bit rate are allocated to the first CELP core module parts. The U.S. patent application No. US 2015 / 255076 A1 discloses a post-encoding bitrate reduction of multiple object audio. This prior art document more particularly discloses post-encoding bitrate reduction system and method for generating one more scaled compressed bitstreams from a single encoded plenary file. The plenary file contains multiple audio object files that were encoded separately using a scalable encoding process having fine-grained scalability. Activity in the data frames of the encoded audio object files at a time period are compared with each other to obtain a data frame activity comparison. Bits from an available bitpool are assigned to all of the data frames based on the data frame activity comparison and corresponding hierarchical metadata. The plenary file is scaled down by truncating bits in the data frames to conform to the bit allocation. In some embodiments frame activity is compared to a silence threshold and the data frame contains silence if the frame activity is less than or equal to the threshold and minimal bits are used to represent the silent frame.

[0009] The present disclosure presents in the following description a framework to encode and decode object-based audio. Such framework can be a standalone system for object-based audio format coding, or it could form part of a complex immersive codec that may contain coding of other audio formats and / or combination thereof.SUMMARY

[0010] According to a first aspect, the present disclosure provides a system for coding an object-based audio signal according to claim 1.

[0011] The present disclosure also provides a method for coding an object-based audio signal according to claim 20.

[0012] Embodiments related to systems and method for decoding audio objects are not encompassed by the wording of the claims but are considered as useful for understanding the invention.

[0013] The foregoing and other objects, advantages and features of the system and method for coding an object-based audio signal and the system and method for decoding an object-based audio signal will become more apparent upon reading of the following non-restrictive description of illustrative embodiments thereof, given by way of example only with reference to the accompanying drawings.BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In the appended drawings: Figure 1 is a schematic block diagram illustrating concurrently the system for coding an object-based audio signal and the corresponding method for coding the object-based audio signal; Figure 2 is a diagram showing different scenarios of bit-stream coding of one metadata parameter; Figure 3a is a graph showing values of an absolute coding flag, flag abs , for metadata parameters of three (3) audio objects without using an inter-object metadata coding logic, and Figure 3b is a graph showing values of the absolute coding flag, flag abs , for the metadata parameters of the three (3) audio objects using the inter-object metadata coding logic, wherein arrows indicate frames where the value of several absolute coding flags equal to 1; Figure 4 is a graph illustrating an example of bitrate adaptation for three (3) core-encoders; Figure 5 is a graph illustrating an example of bitrate adaptation based on an ISm (Independent audio stream with metadata) importance logic; Figure 6 is a schematic diagram illustrating the structure of a bit-stream transmitted from the coding system of Figure 1 to the decoding system of Figure 7; Figure 7 is a schematic block diagram illustrating concurrently the system for decoding audio objects in response to audio streams with associated metadata and the corresponding method for decoding the audio objects; and Figure 8 is a simplified block diagram of an example configuration of hardware components implementing the system and method for coding an object-based audio signal and the system and method for decoding the object-based audio signal. DETAILED DESCRIPTION

[0015] The present disclosure provides an example of mechanism for coding the metadata. The present disclosure also provides a mechanism for flexible intra-object and inter-object bitrate adaptation, i.e. a mechanism that distributes the available bitrate as efficiently as possible. In the present disclosure, it is further considered that the bitrate is fixed (constant). However, it is within the scope of the present disclosure to similarly consider an adaptive bitrate, for example (a) in an adaptive bitrate-based codec or (b) as a result of coding a combination of audio formats coded otherwise at a fixed total bitrate.

[0016] There is no description in the present disclosure as to how audio streams are actually coded in a so-called "core-encoder." In general, the core-encoder for coding one audio stream can be an arbitrary mono codec using adaptive bitrate coding. An example is a codec based on the EVS codec as described in Reference [1] with a fluctuating bit-budget that is flexibly and efficiently distributed between modules of the core-encoder, for example as described in Reference [2].1. Framework for coding of audio objects

[0017] As a non-limitative example, the present disclosure considers a framework that supports simultaneous coding of several audio objects (for example up to 16 audio objects) while a fixed constant ISm total bitrate, referred to as ism_total_brate, is considered for coding the audio objects, including the audio streams with their associated metadata. It should be noted that the metadata are not necessarily transmitted for at least some of the audio objects, for example in the case of non-diegetic content. Non-diegetic sounds in movies, TV shows and other videos are sound that the characters cannot hear. Soundtracks are an example of non-diegetic sound, since the audience members are the only ones to hear the music.

[0018] In the case of coding a combination of audio formats in the framework, for example an ambisonics audio format with two (2) audio objects, the constant total codec bitrate, referred to as codec_total_brate, then represents a sum of the ambisonics audio format bitrate (i. e. the bitrate to encode the ambisonics audio format) and the ISm total bitrate ism_total_brate (i.e. the sum of bitrates to code the audio objects, i.e. the audio streams with the associated metadata).

[0019] The present disclosure considers a basic non-limitative example of input metadata consisting of two parameters, namely azimuth and elevation, which are stored per audio frame for each object. In this example, an azimuth range of [-180 0< , 180 0< ), and an elevation range of [-90 0< , 90 0< ], is considered. However, it is within the scope of the present disclosure to consider only one or more than two (2) metadata parameters.2. Object-based coding

[0020] Figure 1 is a schematic block diagram illustrating concurrently the system 100, comprising several processing blocks, for coding an object-based audio signal and the corresponding method 150 for coding the object-based audio signal.2.1 Input buffering

[0021] Referring to Figure 1, the method 150 for coding the object-based audio signal comprises an operation of input buffering 151. To perform the operation 151 of input buffering, the system 100 for coding the object-based audio signal comprises an input buffer 101.

[0022] The input buffer 101 buffers a number N of input audio objects 102, i.e. a number N of audio streams with the associated respective N metadata. The N input audio objects 102, including the N audio streams and the N metadata associated to each of these N audio streams are buffered for one frame, for example a 20 ms long frame. As well known in the art of sound signal processing, the sound signal is sampled at a given sampling frequency and processed by successive blocks of these samples called "frames" each divided into a number of "sub-frames."2.2 Audio streams analysis and front pre-processing

[0023] Still referring to Figure 1, the method 150 for coding the object-based audio signal comprises an operation of analysis and front pre-processing 153 of the N audio streams. To perform the operation 153, the system 100 for coding the object-based audio signal comprises an audio stream processor 103 to analyze and front pre-process, for example in parallel, the buffered N audio streams transmitted from the input buffer 101 to the audio stream processor 103 through a number N of transport channels 104, respectively.

[0024] The analysis and front pre-processing operation 153 performed by the audio stream processor 103 may comprise, for example, at least one of the following sub-operations: time-domain transient detection, spectral analysis, long-term prediction analysis, pitch tracking and voicing analysis, voice / sound activity detection (VAD / SAD), bandwidth detection, noise estimation and signal classification (which may include in a non-limitative embodiment (a) core-encoder selection between, for example, ACELP core-encoder, TCX core-encoder, HQ core-encoder, etc., (b) signal type classification between, for example, inactive core-encoder type, unvoiced core-encoder type, voiced core-encoder type, generic core-encoder type, transition core-encoder type, and audio core-encoder type, etc., (c) speech / music classification, etc.). Information obtained from the analysis and front pre-processing operation 153 is supplied to a configuration and decision processor 106 through la line 121. Examples of the foregoing sub-operations are described in Reference [1] in relation to the EVS codec and, therefore, will not be further described in the present disclosure.2.3 Metadata analysis, quantization and coding

[0025] The method 150 of Figure 1, for coding the object-based audio signal comprises an operation of metadata analysis, quantization and coding 155. To perform the operation 155, the system 100 for coding the object-based audio signal comprises a metadata processor 105.2.3.1 Metadata analysis

[0026] Signal classification information 120 (for example VAD or localVAD flag as used in the EVS codec (See Reference [1]) from the audio stream processor 103 is supplied to the metadata processor 105. The metadata processor 105 comprises an analyzer (not shown) of the metadata of each of the N audio objects to determine whether the current frame is inactive (for example VAD = 0) or active (for example VAC ≠ 0) with respect to this particular audio object. In inactive frames, no metadata is coded by the metadata processor 105 relative of that object. In active frames, the metadata are quantized and coded for this audio object using a variable bitrate. More details about metadata quantization and coding will be provided in the following Sections 2.3.2 and 2.3.3.2.3.2 Metadata quantization

[0027] The metadata processor 105 of Figure 1 quantizes and codes the metadata of the N audio objects, in the described non-restrictive illustrative embodiments, sequentially in a loop while a certain dependency can be employed between quantization of audio objects and the metadata parameters of these audio objects.

[0028] As indicated herein above, in the present disclosure, two metadata parameters, azimuth and elevation (as included in the N input metadata), are considered. As a non-limitative example, the metadata processor 105 comprises a quantizer (not shown) of the following metadata parameter indexes using the following example resolution to reduce the number of bits being used: Azimuth parameter: A 12-bit azimuth parameter index from a file of the input metadata is quantized to B az -bit index (for example B az = 7). Giving the minimum and maximum azimuth limits (-180 and +180 0< ), a quantization step for a (B az = 7)-bit uniform scalar quantizer is 2.835 0< . Elevation parameter: A 12-bit elevation parameter index from the input metadata file is quantized to B el -bit index (for example B el = 6). Giving the minimum and maximum elevation limits (-90 0< and +90 0< ), a quantization step for a (B el = 6)-bit uniform scalar quantizer is 2.857 0< .

[0029] A total metadata bit-budget for coding the N metadata and a total number quantization bits for quantizing the metadata parameter indexes (i.e. the quantization index granularity and thus the resolution) may be made dependent on the bitrate(s) codec_total_brate, ism_total_brate and / or element_brate (the latter resulting from a sum of a metadata bit-budget and / or a core-encoder bit-budget related to one audio object).

[0030] The azimuth and elevation parameters can be represented as one parameter, for example by a point on a sphere. In such a case, it is within the scope of the present disclosure to implement different metadata including two or more parameters.2.3.3 Metadata coding

[0031] Both azimuth and elevation indexes, once quantized, can be coded by a metadata encoder (not shown) of the metadata processor 105 using either absolute or differential coding. As known, absolute coding means that a current value of a parameter is coded. Differential coding means that a difference between a current value and a previous value of a parameter is coded. As the indexes of the azimuth and elevation parameters usually evolve smoothly (i.e. a change in azimuth or elevation position can be considered as continuous and smooth), differential coding is used by default. However, absolute coding may be used, for example in the following instances: There is too large a difference between current and previous values of the parameter index which would result in a higher or equal number of bits for using differential coding compared to using absolute coding (may happen exceptionally); No metadata were coded and sent in the previous frame; There were too many consecutive frames with differential coding. In order to control decoding in a noisy channel (Bad Frame Indicator, BFI = 1). For example, the metadata encoder codes the metadata parameter indexes using absolute coding if a number of consecutive frames which are coded using differential is higher that a maximum number of consecutive frames coded using different coding. The latter maximum number of consecutive frames is set to β. In a non-restrictive illustrative example, β = 10 frames.

[0032] The metadata encoder produces a 1-bit absolute coding flag, flag abs , to distinguish between absolute and differential coding.

[0033] In the case of absolute coding, the coding flag, flag abs , is set to 1, and is followed by the B az -bit (or B el -bit) index coded using absolute coding, where B az and B el refer to the above mentioned indexes of the azimuth and elevation parameters to be coded, respectively.

[0034] In the case of differential coding, the 1-bit coding flag, flag abs , is set to 0 and is followed by a 1-bit zero coding flag, flag zero , signaling a difference Δ between the B az -bit indexes (respectively the B el -bit indices) in the current and previous frames equal to 0. If the difference Δ is not equal to 0, the metadata encoder continues coding by producing a 1-bit sign flag, flag sign , followed by a difference index, of which the number of bits is adaptive, in a form of, for example, a unary code indicative of the value of the difference Δ.

[0035] Figure 2 is a diagram showing different scenarios of bit-stream coding of one metadata parameter.

[0036] Referring to Figure 2, it is noted that not all metadata parameters are always transmitted in every frame. Some might be transmitted only in every y th< frame, some are not sent at all for example when they do not evolve, they are not important or the available bit-budget is low. Referring to Figure 2, for example: in the case of absolute coding (first line of Figure 2), the absolute coding flag, flag abs , and the B az -bit index (respectively the B el -bit index) are transmitted; in the case of differential coding with the difference Δ between the B az -bit indexes (respectively the B el -bit indexes) in the current and previous frames equal to 0 (second line of Figure 2), the absolute coding flag, flag abs =0, and the zero coding flag, flag zero =1 are transmitted; in the case of differential coding with a positive difference Δ between the B az -bit index (respectively the B el -bit indexes) in the current and previous frames (third line of Figure 2), the absolute coding flag, flag abs =0, the zero coding flag, flag zero =0, the sign flag, flag sign =0, and the difference index (1 to (B az -3)-bits index (respectively 1 to (B el -3)-bits index)) are transmitted; and in the case of differential coding with a negative difference Δ between the B az -bit indexes (respectively the B el -bit indexes) in the current and previous frames (last line of Figure 2), the absolute coding flag, flag abs =0, the zero coding flag, flag zero =0, the sign flag, flag sign =1, and the difference index (1 to (B az -3)-bits index (respectively 1 to (B el -3)-bits index)) are transmitted. 2.3.3.1 Intra-object metadata coding logic

[0037] The logic used to set absolute or differential coding may be further extended by an intra-object metadata coding logic. Specifically, in order to limit a range of metadata coding bit-budget fluctuation between frames and thus to avoid too low a bit-budget left for the core-encoders 109, the metadata encoder limits absolute coding in a given frame to one, or generally to a number as low as possible of, metadata parameters.

[0038] In the non-limitative example of azimuth and elevation metadata parameter coding, the metadata encoder uses a logic that avoids absolute coding of the elevation index in a given frame if the azimuth index was already coded using absolute coding in the same frame. In other words, the azimuth and elevation parameters of one audio object are (practically) never both coded using absolute coding in a same frame. As a consequence, the absolute coding flag, flag abs.ele , for the elevation parameter is not transmitted in the audio object bit-stream if the absolute coding flag, flag abs.azi , for the azimuth parameter is equal to 1.

[0039] It is also within the scope of the present disclosure to make the intra-object metadata coding logic bitrate dependent. For example, both the absolute coding flag, flag abs.ele , for the elevation parameter and the absolute coding flag, flag abs.azi , for the azimuth parameter can be transmitted in a same frame is the bitrate is sufficiently large.2.3.3.2 Inter-object metadata coding logic

[0040] The metadata encoder may apply a similar logic to metadata coding of different audio objects. The implemented inter-object metadata coding logic minimizes the number of metadata parameters of different audio objects coded using absolute coding in a current frame. This is achieved by the metadata encoder mainly by controlling frame counters of metadata parameters coded using absolute coding chosen from robustness purposes and represented by the parameter β. As a non-limitative example, a scenario where the metadata parameters of the audio objects evolve slowly and smoothly is considered. In order to control decoding in a noisy channel where indexes are coded using absolute coding every β frames, the azimuth B az -bit index of audio object #1 is coded using absolute coding in frame M, the elevation B el -bit index of audio object #1 is coded using absolute coding in frame M+1, the azimuth B az -bit index of audio object #2 is encoded using absolute coding in frame M+2, the elevation B el -bit index of object #2 is coded using absolute coding in frame M+3, etc.

[0041] Figure 3a is a graph showing values of the absolute coding flag, flag abs , for metadata parameters of three (3) audio objects without using the inter-object metadata coding logic, and Figure 3b is a graph showing values of the absolute coding flag, flag abs , for the metadata parameters of the three (3) audio objects using the inter-object metadata coding logic. In Figure 3a, the arrows indicate frames where the value of several absolute coding flags is equal to 1.

[0042] More specifically, Figure 3a shows the values of the absolute coding flag, flag abs , for two metadata parameters (azimuth and elevation in this particular example) for the audio objects without using the inter-object metadata coding logic, while Figure 3b shows the same values but with the inter-object metadata coding logic implemented. The graphs of Figures 3a and 3b correspond to (from top to bottom): audio stream of audio object #1; audio stream of audio object #2; audio stream of audio object #3, absolute coding flag, flag abs,azi , for the azimuth parameter of audio object #1; absolute coding flag, flag abs,ele , for the elevation parameter of audio object #1; absolute coding flag, flag abs,azi , for the azimuth parameter of audio object #2; absolute coding flag, flag abs,ele , for the elevation parameter of audio object #2; absolute coding flag, flag abs,azi , for the azimuth parameter of audio object #3; and absolute coding flag, flag abs,ele , for the elevation parameter of audio object #3.

[0043] It can be seen from Figure 3a that several flag abs may have a value equal to 1 (see the arrows) in a same frame when the inter-object metadata coding logic is not used. In contrast, Figure 3b shows that only one absolute flag, flag abs , may have a value equal to 1 in a given frame when the inter-object metadata coding logic is used.

[0044] The inter-object metadata coding logic may also be made bitrate dependent. In this case, for example, more that one absolute flag, flag abs , may have a value equal to 1 in a given frame even when the inter-object metadata coding logic is used, if the bitrate is sufficiently large.

[0045] A technical advantage of the inter-object metadata coding logic and the intra-object metadata coding logic is to limit a range of fluctuation of the metadata coding bit-budget between frames. Another technical advantage is to increase robustness of the codec in a noisy channel; when a frame is lost, then only a limited number of metadata parameters from the audio objects coded using absolute coding is lost. Consequently, any error propagated from a lost frame affects only a small number of metadata parameters across the audio objects and thus does not affect the whole audio scene (or several different channels).

[0046] A global technical advantage of analyzing, quantizing and coding the metadata separately from the audio streams is, as described hereinabove, to enable processing specially adapted to the metadata and more efficient in terms of metadata coding bitrate, metadata coding bit-budget fluctuation, robustness in noisy channel, and error propagation due to lost frames.

[0047] The quantized and coded metadata 112 from the metadata processor 105 are supplied to a multiplexer 110 for insertion into an output bit-stream 111 transmitted to a distant decoder 700 (Figure 7).

[0048] Once the metadata of the N audio objects are analyzed, quantized and encoded, information 107 from the metadata processor 105 about the bit-budget for the coding of the metadata per audio object is supplied to a configuration and decision processor 106 (bit-budget allocator) described in more detail in the following section 2.4. When the configuration and bitrate distribution between the audio streams is completed in processor 106 (bit-budget allocator), the coding continues with further pre-processing 158 to be described later. Finally, the N audio streams are encoded using an encoder comprising, for example, N fluctuating bitrate core-encoders 109, such as mono core-encoders.2.4 Bitrates per channel configuration and decision

[0049] The method 150 of Figure 1, for coding the object-based audio signal comprises an operation 156 of configuration and decision about bitrates per transport channel 104. To perform the operation 156, the system 100 for coding the object-based audio signal comprises the configuration and decision processor 106 forming a bit-budget allocator.

[0050] The configuration and decision processor 106 (herein after bit-budget allocator 106) uses a bitrate adaptation algorithm to distribute the available bit-budget for core-encoding the N audio streams in the N transport channels 104.

[0051] The bitrate adaptation algorithm of the configuration and decision operation 156 comprises the following sub-operations 1-6 performed by the bit-budget allocator 106: 1. The ISm total bit-budget, bits ism , per frame is calculated from the ISm total bitrate ism_total_brate (or the codec total bitrate codec_total_brate if only audio objects are coded) using, for example, the following relation: bits ism = ism _ total _ brate 50 The denominator, 50, corresponds to the number of frames per second, assuming 20-ms long frames. The value 50 would be different if the size of the frame is different from 20 ms. 2. The above defined element bitrate element_brate (resulting from a sum of the metadata bit-budget and core-encoder bit-budget related to one audio object) defined for N audio objects is supposed to be constant during a session at a given codec total bitrate, and about the same for the N audio objects. A "session" is defined for example as a phone call or an off-line compression of an audio file. The corresponding element bit-budget, bits element , is computed for the audio streams objects n = 0, ..., N-1 using, for example, the following relation: bits element n = bits ism N where x indicates the largest integer smaller than or equal to x. In order to spend all available ISm total bit-budget bits ism the element bit-budget bits element of, for example, the last audio object is eventually adjusted using the following relation: bits element N − 1 = bits ism N + bits ism mod N where "mod" indicates a remainder modulo operation. Finally, the element bit-budget bits element of the N audio objects is used to set the value element_brate for the ausio objects n = 0, ..., N-1 using, for example, the following relation: element _ brate n = bits element n * 50 where the number 50, as already mentioned, corresponds to the number of frames per second, assuming 20-ms long frames. 3. The metadata bit-budget bits meta , per frame, of the N audio objects is summed, using the following relation: bits meta _ all = ∑ n = 0 N − 1 bits meta n and the resulting value bits metal_all is added to an ISm common signaling bit-budget, bits Ism-signalling , resulting in the codec side bit-budget: bits side = bits meta _ all + bits ISm _ signalling 4. The codec side bit-budget, bits side , per frame, is split equally between the N audio objects and used to compute the core-encoder bit-budget, bits CoreCoder , for each of the N audio streams using, for example, the following relation: bits CoreCoder n = bits element n − bits side N while the core-encoder bit-budget of, for example, the last audio stream may eventually be adjusted to spend all the available core-encoding bit-budget using, for example, the following relation: bits CoreCoder N − 1 = bits element N − 1 − bits side N + bits side mod N The corresponding total bitrate, total_brate, i.e. the bitrate to code one audio stream, in a core-encoder, is then obtained for n = 0, ..., N-1 using, for example, the following relation: total _ brate n = bits CoreCoder n * 50 where the number 50, again, corresponds to the number of frames per second, assuming 20-ms long frames. 5. The total bitrate, total_brate, in inactive frames (or in frames with very low energy or otherwise without meaningful content) may be lowered and set to a constant value in the related audio streams. The so saved bit-budget is then redistributed equally between the audio streams with active content in the frame. Such redistribution of bit-budget will be further described in the following section 2.4.1. 6. The total bitrate, total_brate, in audio streams (with active content) in active frames is further adjusted between these audio streams based on an ISm importance classification. Such adjustment of bitrate will be further described in the following section 2.4.2.

[0052] When the audio streams are all in an inactive segment (or are without meaningful content), the above last two sub-operations 5 and 6 may be skipped. Accordingly, the bitrate adaptation algorithms described in following sections 2.4.1 and 2.4.2 are employed when at least one audio stream has active content.2.4.1 Bitrate adaptation based on signal activity

[0053] In inactive frames (VAD = 0), the total bitrate, total_brate, is lowered and the saved bit-budget is redistributed, for example equally between the audio streams in active frames (VAD ≠ 0). The assumption is that waveform coding of an audio stream in frames which are classified as inactive is not required; the audio object may be muted. The logic, used in every frame, can be expressed by the following sub-operations 1-3: 1. For a particular frame, set a lower core-encoder bit-budget to every audio stream n with inactive content: bits CoreCoder ′ n = B VAD 0 ∀ n with VAD = 0 where B VAD0 is a lower, constant core-encoder bit-budget to be set in inactive frames; for example B VAD0 = 140 (corresponding to 7 kbps for a 20 ms frame) or B VAD0 = 49 (corresponding to 2.45 kbps for a 20 ms frame). 2. Next, the saved bit-budget is computed using, for example, the following relation: bits diff = ∑ n = 0 N − 1 bits CoreCoder ′ n − bits CoreCoder n 3. Finally, the saved bit-budget is redistributed, for example equally between the core-encoder bit-budgets of the audio streams with active content in a given frame using the following relation: bits CoreCoder ′ n = bits CoreCoder n + bits diff N VAD 1 ∀ n with VAD = 1 where N YAD1 is the number of audio streams with active content. The core-encoder bit-budget of the first audio stream with active content is eventually increased using, for example, the following relation: bits CoreCoder ′ n = bits CoreCoder n + bits diff N VAD 1 + bits diff mod N VAD 1 , ∀ n Afirst VAD=1 stream The corresponding core-encoder total bitrate, total_brate, is finally obtained for each audio stream n = 0, ..., N-1 as follows: total _ brate ′ n = bits CoreCoder ′ n * 50

[0054] Figure 4 is a graph illustrating an example of bitrate adaptation for three (3) core-encoders. Specifically, In Figure 4, the first line shows the core-encoder total bitrate, total_brate, for audio stream #1, the second line shows the core-encoder total bitrate, total_brate, for audio stream #2, the third line shows the core-encoder total bitrate, total_brate, for audio stream #3, line 4 is the audio stream #1, line 5 is the audio stream #2, and line 4 is the audio stream #3.

[0055] In the example of Figure 4, the adaptation of the total bitrate, total_brate, for the three (3) core-encoder is based on VAD activity (active / inactive frames). As can be seen from Figure 4, most of the time there is a small fluctuation of the core-encoder total bitrate, total_brate, as a result of the fluctuating side bit-budget bits side . Then, there are infrequent substantial changes of the core-encoder total bitrate, total_brate, as a result of the VAD activity.

[0056] For example, referring to Figure 4, instance A) corresponds to a frame where the audio stream #1 VAD activity changes from 1 (active) to 0 (inactive). According to the logic, a minimum core-encoder total bitrate, total_brate, is assigned to audio object #1 while the core-encoder total bitrates, total_brate, for active audio objects #2 and #3 are increased. Instance B) corresponds to a frame where the VAD activity of the audio stream #3 changes from 1 (active) to 0 (inactive) while the VAD activity of the audio stream #1 remains to 0. Accordingly to the logic, a minimum core-encoder total bitrate, total_brate, is assigned to audio streams #1 and #3 while the core-encoder total bitrate, total_brate, of the active audio stream #2 is further increased.

[0057] The above logic of section 2.4.1 can be made dependent from the total bitrate ism_total_brate. For example, the bit-budget B VAD0 in the above sub-operation 1 can be set higher for a higher total bitrate ism_total_brate, and lower for a lower total bitrate ism_total_brate.2.4.2 Bitrate adaptation based on ISm importance

[0058] The logic described in previous section 2.4.1 results in about a same core-encoder bitrate in every audio stream with active content (VAD = 1) in a given frame. However, it may be beneficial to introduce an inter-object core-encoder bitrate adaptation based on a classification of ISm importance (or, more generally, on a metric indicative of how critical coding of a particular audio object in a current frame to obtain a given (decent) quality of the decoded synthesis is).

[0059] The classification of ISm importance can be based on several parameters and / or combination of parameters, for example core-encoder type (coder_type), FEC (Forward Error Correction), sound signal classification (class), speech / music classification decision, and / or SNR (Signal-to-Noise Ratio) estimate from the open-loop ACELP / TCX (Algebraic Code-Excited Linear Prediction / Transform-Coded eXcitation) core decision module (snr_celp, snr_tcx) as described in Reference [1]. Other parameters can possibly be used for determining the classification of ISm importance.

[0060] In a non-restrictive example, a simple classification of ISm importance is based on the core-encoder type as defined in Reference [1] is implemented. For that purpose, the bit-budget allocator 106 of Figure 1 comprises a classifier (not shown) for rating the importance of a particular ISm stream. As a result, four (4) distinct ISm importance classes, class ISm , are defined: No metadata class, ISM_NO_META: frames without metadata coding, e.g. inactive frames with VAD = 0; Low importance class, ISM_LOW_IMP: frames where coder_type = UNVOICED or INACTIVE; Medium importance class, ISM_MEDIUM_IMP: frames where coder_type = VOICED; High importance class ISM_HIGH_IMP: frames where coder_type = GENERIC.

[0061] The ISm importance class is then used by the bit-budget allocator 106, in the bitrate adaptation algorithm (See above Section 2.4, sub-operation 6) to assign a higher bit-budget to audio streams with a higher ISm importance and a lower bit-budget to audio streams with a lower ISm importance. Thus for every audio stream n, n = 0,...,N-1, the following bitrate adaptation algorithm is used by the bit-budget allocator 106: 1. In frames classified as class ISm = ISM_NO_META, the constant low bitrate B VAD0 is assigned. 2. In frames classified as class ISm = ISM_LOW_IMP, the total bitrate, total_brate, is lowered for example as: total _ brate new n = max α low * total _ brate n , B low where the constant α low is set to a value lower than 1.0, for example 0.6. Then the constant B low represents a minimum bitrate threshold supported by the codec for a particular configuration, which may be dependent upon, for example, the internal sampling rate of the codec, the coded audio bandwidth, etc. (See Reference [1] for more detail about these values). 3. In frames classified as class ISm = ISM_MEDIUM_IMP: the core-encoder total bitrate, total_brate, is lowered for example as total _ brate new n = max α med * total _ brate n , B low where the constant α med is set to a value lower than 1.0 but higher than α low , for example to 0.8. 4. In frames classified as class ISm = ISM_HIGH_IMP, no bitrate adaptation is used; 5. Finally, the saved bit-budget (a sum of differences between the old (total_brate) and new (total_brate new ) total bitrates) is redistributed equally between the audio streams with active content in the frame. The same bit-budget redistribution logic as described in section 2.4.1, sub-operations 2 and 3, may be used.

[0062] Figure 5 is a graph illustrating an example of bitrate adaptation based on ISm importance logic. From top to bottom, the graph of Figure 5 illustrates, in time: An active speech segment of the audio stream for audio object #1; An active speech segment of the audio stream for audio object #2; The total bitrate, total_brate, of the audio stream for audio object #1 without using the bitrate adaptation algorithm; The total bitrate, total_brate, of the audio stream for audio object #2 without using the bitrate adaptation algorithm; The total bitrate, total_brate, of the audio stream for audio object #1 when the bitrate adaptation algorithm is used; and The total bitrate, total_brate, of the audio stream for audio object #2 when the bitrate adaptation algorithm is used.

[0063] In the non-limitative example of Figure 5, with two audio objects (N=2) and a fixed constant total bitrate, ism_total_brate, equal to 48 kbps, the core-encoder total bitrate, total_brate, in active frames of audio object #1 fluctuates between 23.45 kbps and 23.65 kbps when the bitrate adaptation algorithm is not used while it fluctuates between 19.15 kbps and 28.05 kbps when the bitrate adaptation algorithm is used. Similarly, the core-encoder total bitrate, total_brate, in active frames of audio object #2 fluctuates between 23.40 kbps and 23.65 kbps without using the bitrate adaptation algorithm and between 19.10 kbps and 28.05 kbps with the bitrate adaptation algorithm. A better, more efficient distribution of the available bit-budget between the audio streams is thereby obtained.2.5 Pre-processing

[0064] Referring to Figure 1, the method 150 for coding the object-based audio signal comprises an operation of pre-processing 158 of the N audio streams conveyed through the N transport channels 104 from the configuration and decision processor 106 (bit-budget allocator). To perform the operation 158, the system 100 for coding the object-based audio signal comprises a pre-processor 108.

[0065] Once the configuration and bitrate distribution between the N audio streams is completed by the configuration and decision processor 106 (bit-budget allocator), the pre-processor 108 performs sequential further pre-processing 158 on each of the N audio streams. Such pre-processing 158 may comprise, for example, further signal classification, further core-encoder selection (for example selection between ACELP core, TCX core, and HQ core), other resampling at a different internal sampling frequency F s adapted to the bitrate to be used for core-encoding, etc. Examples of such pre-processing can be found, for example, in Reference [1] in relation to the EVS codec and, therefore, will not be further described in the present disclosure.2.6 Core-encoding

[0066] Referring to Figure 1, the method 150 for coding the object-based audio signal comprises an operation of core-encoding 159. To perform the operation 159, the system 100 for coding the object-based audio signal comprises the above mentioned encoder of the N audio streams including, for example, a number N of core-encoders 109 to respectively code the N audio streams conveyed through the N transport channels 104 from the pre-processor 108.

[0067] Specifically, the N audio streams are encoded using N fluctuating bitrate core-encoders 109, for example mono core-encoders. The bitrate used by each of the N core-encoders is the bitrate selected by the configuration and decision processor 106 (bit-budget allocator) for the corresponding audio stream. For example, core-encoders as described in Reference [1] can be used as core-encoders 109.3.0 Bit-stream structure

[0068] Referring to Figure 1, the method 150 for coding the object-based audio signal comprises an operation of multiplexing 160. To perform the operation 160, the system 100 for coding the object-based audio signal comprises a multiplexer 110.

[0069] Figure 6 is a schematic diagram illustrating, for a frame, the structure of the bit-stream 111 produced by the multiplexer 110 and transmitted from the coding system 100 of Figure 1 to the decoding system 700 of Figure 7. Regardless whether metadata are present and transmitted or not, the structure of the bit-stream 111 may be structured as illustrated in Figure 6.

[0070] Referring to Figure 6, the multiplexer 110 writes the indices of the N audio streams from the beginning of the bit-stream 111 while the indices of ISm common signaling 113 from the configuration and decision processor 106 (bit-budget allocator) and metadata 112 from the metadata processor 105 are written from the end of the bit-stream 111.3.1 ISm common signaling

[0071] The multiplexer writes the ISm common signaling 113 from the end of the bit-stream 111. The ISm common signaling is produced by the configuration and decision processor 106 (bit-budget allocator) and comprises a variable number of bits representing: (a) a number N of audio objects: the signaling for the number N of coded audio objects present in the bit-stream 111 is in the form of, for example, a unary code with a stop bit (e.g. for N = 3 audio objects, the first 3 bits of the ISm common signaling would be "110"). (b) a metadata presence flag, flag meta : The flag, flag meta , is present when the bitrate adaptation based on signal activity as described in section 2.4.1 is used and comprises one bit per audio object to indicate whether metadata for that particular audio object are present (flag meta = 1) or not (flag meta = 0) in the bit-stream 111, or (c) the ISm importance class: this signaling is present when the bitrate adaptation based on the ISM importance as described in section 2.4.2 is used and comprises two bits per audio object to indicate the ISm importance class, class ISm (ISM_NO_META, ISM_LOW_IMP, ISM_MEDIUM_IMP, and ISM_HIGH_IMP), as defined in section 2.4.2. (d) an ISm VAD flag, flag VAD : the ISm VAD flag is transmitted when flag meta = 0, respectively class ISm = ISM_NO_META, and distinguishes between the following two cases: 1) input metadata are not present or metadata are not coded so that the audio stream needs to be coded by an active coding mode (flag VAD = 1); and 2) input metadata are present and transmitted so that the audio stream can be coded by an inactive coding mode (flag VAD = 0). 3.2 Coded metadata payload

[0072] The multiplexer 110 is supplied with the coded metadata 112 from the metadata processor 105 and writes the metadata payload sequentially from the end of the bit-stream for the audio objects for which the metadata are coded (flag meta = 1, respectively class ISm ≠ ISM_NO_META) in the current frame. The metadata bit-budget for each audio object is not constant but rather inter-object and inter-frame adaptive. Different metadata format scenarios are shown in Figure 2.

[0073] In the case that metadata are not present or are not transmitted for at least some of the N audio objects, the metadata flag is set to 0, i.e. flag meta = 0, respectively class ISm = ISM_NO_META, for these audio objects. Then, no metadata indices are sent in relation to those audio objects, i.e. bits meta [n] = 0.3.3 Audio streams payload

[0074] The multiplexer 110 receives the N audio streams 114 coded by the N core encoders 109 through the N transport channels 104, and writes the audio streams payload sequentially for the N audio streams in chronological order from the beginning of the bit-stream 111 (See Figure 6). The respective bit-budgets of the N audio streams are fluctuating as a result of the bitrate adaptation algorithm described in section 2.4.4.0 Decoding of audio objects

[0075] Figure 7 is a schematic block diagram illustrating concurrently the system 700 for decoding audio objects in response to audio streams with associated metadata and the corresponding method 750 for decoding the audio objects.4.1 Demultiplexing

[0076] Referring to Figure 7, the method 750 for decoding audio objects in response to audio streams with associated metadata comprises an operation of demultiplexing 755. To perform the operation 755, the system 700 for decoding audio objects in response to audio streams with associated metadata comprises a demultiplexer 705.

[0077] The demultiplexer receive a bit-stream 701 transmitted from the coding system 100 of Figure 1 to the decoding system 700 of Figure 7. Specifically, the bit-stream 701 of Figure 7 corresponds to the bit-stream 111 of Figure 1.

[0078] The demultiplexer 110 extracts from the bit-stream 701 (a) the coded N audio streams 114, (b) the coded metadata 112 for the N audio objects, and (c) the ISm common signaling 113 read from the end of the received bit-stream 701.4.2 Metadata decoding and dequantization

[0079] Referring to Figure 7, the method 750 for decoding audio objects in response to audio streams with associated metadata comprises an operation 756 of metadata decoding and dequantization. To perform the operation 756, the system 700 for decoding audio objects in response to audio streams with associated metadata comprises a metadata decoding and dequantization processor 706.

[0080] The metadata decoding and dequantization processor 706 is supplied with the coded metadata 112 for the transmitted audio objects, the ISm common signaling 113, and an output set-up 709 to decode and dequantize the metadata for the audio streams / objects with active contents. The output set-up 709 is a command line parameter about the number M of decoded audio objects / transport channels and / or audio formats, which can be equal to or different from the number N of coded audio objects / transport channels. The metadata decoding and dequantization processor 706 produces decoded metadata 704 for the M audio objects / transport channels, and supplies information about the respective bit-budgets for the M decoded metadata on line 708. Obviously, the decoding and dequantization performed by the processor 706 is the inverse of the quantization and coding performed by the metadata processor 105 of Figure 1.4.3 Configuration and decision about bitrates

[0081] Referring to Figure 7, the method 750 for decoding audio objects in response to audio streams with associated metadata comprises an operation 757 of configuration and decision about bitrates per channel. To perform the operation 757, the system 700 for decoding audio objects in response to audio streams with associated metadata comprises a configuration and decision processor 707 (bit-budget allocator).

[0082] The bit-budget allocator 707 receives (a) the information about the respective bit-budgets for the M decoded metadata on line 708 and (b) the ISm importance class, class ISm , from the common signaling 113, and determine the core-decoder bitrates per audio stream, total_brate[n]. The bit-budget allocator 707 uses the same procedure as in the bit-budget allocator 106 of Figure 1 to determine the core-decoder bitrates (see section 2.4).4.4 Core-decoding

[0083] Referring to Figure 7, the method 750 for decoding audio objects in response to audio streams with associated metadata comprises an operation of core-decoding 760. To perform the operation 760, the system 700 for decoding audio objects in response to audio streams with associated metadata comprises a decoder of the N audio streams 114 including a number N of core-decoders 710, for example N fluctuating bitrate core-decoders.

[0084] The N audio streams 114 from the demultiplexer 705 are decoded, for example sequentially decoded in the number N of fluctuating bitrate core decoders 710 at their respective core-decoder bitrates as determined by the bit-budget allocator 707. When the number of decoded audio objects, M, as requested by the output set-up 709 is lower than the number of transport channels, i.e M < N, a lower number of core-decoders are used. Similarly, not all metadata payloads may be decoded in such a case.

[0085] In response to the N audio streams 114 from the demultiplexer 705, the core-decoder bitrates as determined by the bit-budget allocator 707, and the output set-up 709, the core-decoders 710 produces a number M of decoded audio streams 703 on respective M transport channels.5.0 Audio channel rendering

[0086] In an operation of audio channel rendering 761, a renderer 711 of audio objects transforms the M decoded metadata 704 and the M decoded audio streams 703 into a number of output audio channels 702, taking into consideration an output set-up 712 indicative of the number and contents of output audio channels to be produced. Again, the number of output audio channels 702 may be equal to or different from the number M.

[0087] The renderer 761 may be designed in a variety of different structures to obtain the desired output audio channels. For that reason, the renderer will not be further described in the present disclosure.6.0 Source code

[0088] According to a non-limitative illustrative embodiment, the system and method for coding an object-based audio signal as disclosed in the foregoing description may be implemented by the following source code (expressed in C-code) given herein below as additional disclosure. 7.0 Hardware implementation

[0089] Figure 8 is a simplified block diagram of an example configuration of hardware components forming the above described coding and decoding systems and methods.

[0090] Each of the coding and decoding systems may be implemented as a part of a mobile terminal, as a part of a portable media player, or in any similar device. Each of the coding and decoding systems (identified as 1200 in Figure 8) comprises an input 1202, an output 1204, a processor 1206 and a memory 1208.

[0091] The input 1202 is configured to receive the input signal(s), e.g. the N audio objects 102 (N audio streams with the corresponding N metadata) of Figure 1 or the bit-stream 701 of Figure 7, in digital or analog form. The output 1204 is configured to supply the output signal(s), e.g. the bit-stream 111 of Figure 1 or the M decoded audio channels 703 and the M decoded metadata 704 of Figure 7. The input 1202 and the output 1204 may be implemented in a common module, for example a serial input / output device.

[0092] The processor 1206 is operatively connected to the input 1202, to the output 1204, and to the memory 1208. The processor 1206 is realized as one or more processors for executing code instructions in support of the functions of the various processors and other modules of Figures 1 and 7.

[0093] The memory 1208 may comprise a non-transient memory for storing code instructions executable by the processor(s) 1206, specifically, a processor-readable memory comprising non-transitory instructions that, when executed, cause a processor(s) to implement the operations and processors / modules of the coding and decoding systems and methods as described in the present disclosure. The memory 1208 may also comprise a random access memory or buffer(s) to store intermediate processing data from the various functions performed by the processor(s) 1206.

[0094] Those of ordinary skill in the art will realize that the description of the coding and decoding systems and methods are illustrative only and are not intended to be in any way limiting. Other embodiments will readily suggest themselves to such persons with ordinary skill in the art having the benefit of the present disclosure. Furthermore, the disclosed coding and decoding systems and methods may be customized to offer valuable solutions to existing needs and problems of encoding and decoding sound.

[0095] In the interest of clarity, not all of the routine features of the implementations of the coding and decoding systems and methods are shown and described. It will, of course, be appreciated that in the development of any such actual implementation of the coding and decoding systems and methods, numerous implementation-specific decisions may need to be made in order to achieve the developer's specific goals, such as compliance with application-, system-, network- and business-related constraints, and that these specific goals will vary from one implementation to another and from one developer to another. Moreover, it will be appreciated that a development effort might be complex and time-consuming, but would nevertheless be a routine undertaking of engineering for those of ordinary skill in the field of sound processing having the benefit of the present disclosure.

[0096] In accordance with the present disclosure, the processors / modules, processing operations, and / or data structures described herein may be implemented using various types of operating systems, computing platforms, network devices, computer programs, and / or general purpose machines. In addition, those of ordinary skill in the art will recognize that devices of a less general purpose nature, such as hardwired devices, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), or the like, may also be used. Where a method comprising a series of operations and sub-operations is implemented by a processor, computer or a machine and those operations and sub-operations may be stored as a series of non-transitory code instructions readable by the processor, computer or machine, they may be stored on a tangible and / or non-transient medium.

[0097] The coding and decoding systems and methods as described herein may use software, firmware, hardware, or any combination(s) of software, firmware, or hardware suitable for the purposes described herein.

[0098] In the coding and decoding systems and methods as described herein, the various operations and sub-operations may be performed in various orders and some of the operations and sub-operations may be optional.8.0 References

[0099] The following references are referred to in the present disclosure: [1] 3GPP Spec. TS 26.445: "Codec for Enhanced Voice Services (EVS). Detailed Algorithmic Description," v.12.0.0, Sep. 2014. [2] V. Eksler, "Method and Device for Allocating a Bit-budget Between Sub-frames in a CELP Codec," PCT patent application PCT / CA2018 / 51175

Claims

1. A system (100) for coding an object-based audio signal comprising audio objects (102) in response to audio streams with associated metadata, comprising: a metadata processor (105) for coding the metadata, the metadata processor (105) generating information (107) about bit-budgets for the coding of the metadata of the audio objects (102); an encoder (109) for coding the audio streams; and a bit-budget allocator (106) responsive to the information (107) about the bit-budgets for the coding of the metadata of the audio objects (102) from the metadata processor (107) to allocate bitrates for the coding of the audio streams by the encoder (109); characterized in that the metadata processor (105) codes the metadata prior to and separately from the coding of the audio streams and generates, after the metadata are coded, the information (107) about the bit-budgets used by the metadata processor (105) for the coding of the metadata of the audio objects (102).

2. The system according to claim 1, comprising an audio stream processor (103) for analyzing the audio streams and for providing to the metadata processor (105) and the bit-budget allocator (106) information (120, 121) on the audio streams obtained from the analysis of the audio streams by the audio stream processor (103).

3. The system according to claim 1 or 2, wherein the bit-budget allocator (106) uses a bitrate adaptation algorithm to distribute an available bit-budget for coding the audio streams.

4. The system according to claim 3, wherein the bit-budget allocator (106), using the bitrate adaptation algorithm, calculates an audio stream and metadata total bit-budget from a total bitrate for coding the audio streams and the associated metadata or a codec total bitrate.

5. The system according to claim 4, wherein the bit-budget allocator (106), using the bitrate adaptation algorithm, computes an element bit-budget by dividing the audio stream and metadata total bit-budget by a number of the audio streams.

6. The system according to claim 5, wherein the bit-budget allocator (106), using the bitrate adaptation algorithm, adjusts the element bit-budget of a last audio object to spend all the audio stream and metadata_total bit-budget.

7. The system according to claim 5, wherein the element bit-budget is constant at one audio stream and metadata total bit-budget.

8. The system according to any one of claims 5 to 7, wherein the bit-budget allocator (106), using the bitrate adaptation algorithm, sums the bit-budgets for the coding of the metadata of the audio objects and adds said sum to an audio stream and metadata common signaling bit-budget resulting in a codec side bit-budget.

9. The system according to claim 8, wherein the bit-budget allocator (106), using the bitrate adaptation algorithm, (a) splits the codec side bit-budget equally between the audio objects and (b) uses the split codec side bit-budget and the element bit-budget to compute an encoding bit-budget for each audio stream.

10. The system according to claim 9, wherein the bit-budget allocator (106), using the bitrate adaptation algorithm, adjusts the encoding bit-budget of a last audio stream to spend all available encoding bit-budget.

11. The system according to claim 9 or 10, wherein the bit-budget allocator (106), using the bitrate adaptation algorithm, computes a bitrate for coding one of the audio streams using the encoding bit-budget for the audio stream.

12. The system according to any one of claims 3 to 11, wherein the bit-budget allocator (106), using the bitrate adaptation algorithm with audio streams with inactive contents, lowers a value of a bitrate for coding one of the audio streams, and redistribute a saved bit-budget between the audio streams with active content.

13. The system according to any one of claims 3 to 12, wherein the bit-budget allocator (106), using the bitrate adaptation algorithm with audio streams with active content, adjusts a bitrate for coding one of the audio streams based on an audio stream and metadata importance classification.

14. The system according to claim 12, wherein the bit-budget allocator (106), using the bitrate adaptation algorithm with audio streams with inactive content, lowers and sets to a constant value a bit-budget for coding the audio streams.

15. The system according to claim 12 or 14, wherein the bit-budget allocator (106) computes the saved bit-budget as a difference between a lowered value of the bit-budget for coding the audio stream and a non-lowered value of the bit-budget for coding the audio stream.

16. The system according to claim 14 or 15, wherein the bit-budget allocator (106) computes a bitrate for coding the audio stream using the lowered value of the bit-budget.

17. The system according to claim 13, wherein the bit-budget allocator (106) classifies the audio stream and metadata importance based on a metric indicating how critical coding of an audio object to obtain a given quality of a decoded synthesis is.

18. The system according to claim 13 or 17, wherein the bit-budget allocator (106) classifies the audio stream and metadata importance based on at least one of the following parameters: audio stream encoder type, FEC, Forward Error Correction, sound signal classification, speech / music classification, and SNR, Signal-to-Noise Ratio, estimate.

19. The system according to any one of claims 13, 17 and 18 wherein the bit-budget allocator (106) uses the audio stream and metadata importance classification in the bitrate adaptation algorithm to increase the bit-budget for the coding of audio streams with higher audio stream and metadata importance and lower the bit-budget for the coding of audio streams with lower audio stream and metadata importance.

20. A method (150) for coding an object-based audio signal comprising audio objects (102) in response to audio streams with associated metadata, comprising: coding (155) the metadata; generating (155) information (107) about bit-budgets for the coding of the metadata of the audio objects; encoding (159) the audio streams; and allocating (156) bitrates for the encoding (159) of the audio streams in response to the information (107) about the bit-budgets for the coding of the metadata of the audio objects; characterized in that the metadata are coded (155) prior to and separately from the coding (159) of the audio streams and the information (107) about the bit-budgets for the coding of the metadata of the audio objects is generated (155) after the said metadata are coded.

21. The method according to claim 20, comprising analyzing (153) the audio streams and providing information (120, 121) on the audio streams obtained from the audio streams analysis (153) for the coding (155) of the metadata and the allocation (156) of bitrates for the coding of the audio streams.

22. The method according to claim 20 or 21, wherein the allocation (156) of bitrates for the coding (159) of the audio streams comprises using a bitrate adaptation algorithm to distribute an available bit-budget for coding the audio streams.

23. The method according to claim 22, wherein the allocation (156) of bitrates for the coding (159) of the audio streams, using the bitrate adaptation algorithm, comprises calculating an audio stream and metadata total bit-budget from a total bitrate for coding the audio streams and the associated metadata or a codec total bitrate.

24. The method according to claim 23, wherein the allocation (156) of bitrates for the coding (159) of the audio streams, using the bitrate adaptation algorithm, comprises computing an element bit-budget by dividing the audio stream and metadata total bit-budget by a number of the audio streams.

25. The method according to claim 24, wherein the allocation (156) of bitrates for the coding (159) of the audio streams, using the bitrate adaptation algorithm, comprises adjusting the element bit-budget of a last audio object to spend all the audio stream and metadata total bit-budget.

26. The method according to claim 24, wherein the element bit-budget is constant at one audio stream and metadata total bit-budget.

27. The method according to any one of claims 24 to 26, wherein the allocation (156) of bitrates for the coding (159) of the audio streams, using the bitrate adaptation algorithm, comprises summing the bit-budgets for the coding (155) of the metadata of the audio objects and adding said sum to an audio stream and metadata common signaling bit-budget resulting in a codec side bit-budget.

28. The method according to claim 27, wherein the allocation (156) of bitrates for the coding (159) of the audio streams, using the bitrate adaptation algorithm, comprises (a) splitting the codec side bit-budget equally between the audio objects and (b) using the split codec side bit-budget and the element bit-budget to compute an encoding bit-budget for each audio stream.

29. The method according to claim 28, wherein the allocation (156) of bitrates for the coding (159) of the audio streams, using the bitrate adaptation algorithm, comprises adjusting the encoding bit-budget of a last audio stream to spend all available encoding bit-budget.

30. The method according to claim 28 or 29, wherein the allocation (156) of bitrates for the coding (159) of the audio streams, using the bitrate adaptation algorithm, comprises computing a bitrate for coding one of the audio streams using the encoding bit-budget for the audio stream.

31. The method according to any one of claims 22 to 30, wherein the allocation (156) of bitrates for the coding (159) of the audio streams, using the bitrate adaptation algorithm with audio streams with inactive contents, comprises lowering a value of a bitrate for coding one of the audio streams, and redistribute a saved bit-budget between the audio streams with active content.

32. The method according to any one of claims 22 to 31, wherein the allocation (156) of bitrates for the coding (159) of the audio streams, using the bitrate adaptation algorithm with audio streams with active content, comprises adjusting a bitrate for coding one of the audio streams based on an audio stream and metadata importance classification.

33. The method according to claim 31, wherein the allocation (156) of bitrates for the coding (159) of the audio streams, using the bitrate adaptation algorithm with audio streams with inactive content, comprises lowering and setting to a constant value a bit-budget for coding the audio streams.

34. The method according to claim 31 or 33, wherein the allocation (156) of bitrates for the coding (159) of the audio streams comprises computing the saved bit-budget as a difference between a lowered value of the bit-budget for coding the audio stream and a non-lowered value of the bit-budget for coding the audio stream.

35. The method according to claim 33 or 34, wherein the allocation (156) of bitrates for the coding (159) of the audio streams comprises computing a bitrate for coding the audio stream using the lowered value of the bit-budget.

36. The method according to claim 32, wherein the allocation (156) of bitrates for the coding (159) of the audio streams comprises classifying the audio stream and metadata importance based on a metric indicating how critical coding of an audio object to obtain a given quality of a decoded synthesis is.

37. The method according to claim 32 or 36, wherein the allocation (156) of bitrates for the coding (159) of the audio streams comprises classifying the audio stream and metadata importance based on at least one of the following parameters: audio stream encoder type, FEC, Forward Error Correction, sound signal classification, speech / music classification, and SNR, Signal-to-Noise Ratio, estimate.

38. The method according to any one of claims 32, 36 and 37, wherein the allocation (156) of bitrates for the coding (159) of the audio streams comprises using the audio stream and metadata importance classification in the bitrate adaptation algorithm to increase the bit-budget for the coding of audio streams with higher audio stream and metadata importance and lower the bit-budget for the coding of audio streams with lower audio stream and metadata importance.