Apparatus and method for encoding or decoding directional audio coding parameters using quantization and entropy coding
By quantizing directional audio coding parameters by grouping and different resolutions, and using quantizers and encoder processors for quantization and entropy coding, the problem of low coding efficiency of directional audio coding parameters in the existing technology is solved, and high efficiency at low bit rates is achieved. Coding effect.
Patent Information
- Application Number
- CN202410748798.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2017-11-17
- Filing Date
- 2018-11-16
- Publication Date
- 2024-09-06
AI Technical Summary
It is difficult for the existing technology to effectively encode directional audio coding parameters, especially at low bit rates, resulting in a large amount of spatial audio coding data that cannot meet the needs of low bit rates.
The encoding mode is optimized to reduce the data rate by grouping the diffusivity and direction parameters and quantizing and encoding them at different resolutions, using a quantizer and encoder processor for quantization and entropy encoding.
Efficient encoding of directional audio coding parameters is achieved, which significantly reduces the data rate and is suitable for low bit rate spatial audio coding.
Smart Images

Figure CN118609580A
Abstract
Description
[0001] This application is a divisional application of an application with an application date of November 16, 2018, an international application number of PCT / EP2018 / 081623, a Chinese application number of "201880086690.3", and an invention name of "Device and method for encoding or decoding directional audio coding parameters using quantization and entropy coding". Technical Field
[0002] The present invention relates to audio signal processing and in particular to an efficient coding scheme for directional audio coding parameters such as DirAC metadata. Background Art
[0003] The present invention aims to propose a low bitrate coding solution for encoding spatial metadata from 3D audio scene analysis performed by Directional Audio Coding (DirAC), a perceptually motivated technique for spatial audio processing.
[0004] Transmitting a three-dimensional audio scene requires processing multiple channels, which usually results in sending a large amount of data. Directional Audio Coding (DirAC) technology [1] is an effective method for analyzing audio scenes and representing them in a parametric manner. DirAC uses a perceptually motivated representation of the sound field based on the direction of arrival (DOA) and diffuseness measured for each frequency band. It is based on the following assumption: at one moment and for one critical frequency band, the spatial resolution of the auditory system is limited to decoding one cue for direction and another cue for interaural coherence. Spatial sound is then reproduced in the frequency domain by cross-fading the two streams (i.e., the non-directional diffuse stream and the directional non-diffuse stream).
[0005] The present invention discloses a 3D audio coding method based on DirAC sound representation and reproduction to achieve transmission of immersive audio content at a low bit rate.
[0006] DirAC is a perceptually motivated spatial sound reproduction. It is assumed that at one moment in time and for one critical frequency band, the spatial resolution of the auditory system is limited to decoding one cue for direction and another for interaural coherence.
[0007] Based on these assumptions, DirAC represents spatial sound in one frequency band by cross-fading two streams, namely a non-directional diffuse stream and a directional non-diffuse cross-fading stream. The DirAC process is performed in two stages: Fig.10a and Fig.10b The analysis and synthesis phases depicted in .
[0008] In the DirAC analysis stage, a first-order coincident microphone with B-format is considered as input and the diffuseness and arrival direction of the sound are analyzed in the frequency domain.
[0009] In the DirAC synthesis stage, the sound is split into two streams, an undiffuse stream and a diffuse stream. The undiffuse stream is reproduced as a point source using amplitude panning, which can be performed using Vector Basis Amplitude Panning (VBAP) [2]. The diffuse stream is responsible for the sense of surround and is produced by delivering signals to the speakers that are decorrelated from each other.
[0010] The DirAC parameters (hereinafter also referred to as spatial metadata or DirAC metadata) consist of a tuple of spread and direction. The direction can be expressed in spherical coordinates by two angles (azimuth and elevation), while the spread is a scalar factor between 0 and 1.
[0011] Fig.10a A filter bank 130 is shown receiving a B-format input signal. An energy analysis 132 and an intensity analysis 134 are performed. A time average of the energy results indicated at 136 and a time average of the intensity results indicated at 138 are performed and from the averaged data, diffuseness values for various time segments / frequency bins are calculated as indicated at 110. Directional values for time segments / frequency bins given by the time or frequency resolution of the filter bank 130 are calculated by block 120.
[0012] exist Fig.10b In the DirAC synthesis shown in , the analysis filter bank 431 is used again. For example, a virtual microphone processing block 421 is applied, where the virtual microphones correspond to the speaker positions of, for example, a 5.1 speaker device. The diffuseness metadata is processed by a corresponding processing block 422 for diffuseness and a vector basis amplitude translation (VBAP) gain table indicated at block 423. A speaker averaging block 424 is configured to perform gain averaging, and a corresponding normalization block 425 is applied in order to have a corresponding defined loudness level in each final speaker signal. Microphone compensation is performed in block 426.
[0013] The resulting signal is used on the one hand to generate a diffuse stream 427 including a decorrelation stage, and also to generate an undiffused stream 428. The two streams are added in an adder 429 for the corresponding subband, and in block 431, an addition with other subbands is performed (i.e., a frequency to time conversion). Block 431 can therefore also be viewed as a synthesis filter bank. Similar processing operations are performed for other channels from a particular loudspeaker arrangement, wherein the settings of the virtual microphone in block 421 will be different for different channels.
[0014] In the DirAC analysis stage, a first-order coincident microphone with B-format is considered as input and the diffuseness and arrival direction of the sound are analyzed in the frequency domain.
[0015] In the DirAC synthesis stage, the sound is split into two streams, an undiffuse stream and a diffuse stream. The undiffuse stream is reproduced as a point source using amplitude panning, which can be performed using Vector Basis Amplitude Panning (VBAP) [2]. The diffuse stream is responsible for the sense of surround and is produced by delivering signals to the speakers that are decorrelated from each other.
[0016] The DirAC parameters (hereinafter also referred to as spatial metadata or DirAC metadata) consist of a tuple of spread and direction. The direction can be expressed in spherical coordinates by two angles (azimuth and elevation), while the spread is a scalar factor between 0 and 1.
[0017] If the STFT is considered as a time-frequency transform with a time resolution of 20 milliseconds (which is generally suggested in several papers) and with a 50% overlap between adjacent analysis windows, the DirAC analysis will produce 288,000 values per second for an input sampled at 48kHz, which corresponds to a total bitrate of about 2.3Mbit / s if the angles are quantized on 8 bits. This amount of data is not suitable for implementing low bitrate spatial audio coding, and therefore an efficient encoding scheme for the DirAC metadata is needed.
[0018] Previous work on metadata reduction has focused mainly on teleconferencing scenarios, where the performance of DirAC is greatly reduced in order to allow a minimum data rate for its parameters [4]. In practice, it is proposed to limit the directional analysis to the azimuth in the horizontal plane in order to reproduce only a 2D audio scene. Furthermore, only diffuseness and azimuth are sent up to 7kHz, limiting the communication to wideband speech. Finally, diffuseness is coarsely quantized based on one or two bits, so that the diffuse stream is only sometimes switched on or off in the synthesis stage, which is not general enough when considering multiple audio sources and background noise greater than a single speech. In [4], azimuth is quantized on 3 bits and it is assumed that the sources (in this case the loudspeakers) have very static positions. Therefore, the parameters are sent only with an update frequency of 50 milliseconds. Based on these many strong assumptions, the bit requirement can be reduced to about 3kbit / s. Summary of the invention
[0019] It is an object of the present invention to provide improved spatial audio coding concepts.
[0020] This object is achieved by a device for encoding directional audio coding parameters according to an embodiment of the present application, a method for encoding directional audio coding parameters according to an embodiment of the present application, a decoder for decoding an encoded audio signal according to an embodiment of the present application, a method for decoding according to an embodiment of the present application, or a computer program according to an embodiment of the present application.
[0021] According to one aspect, the invention is based on the finding that, when on the one hand diffuseness parameters and on the other hand directional parameters are provided with different resolutions and the different parameters with different resolutions are quantized and encoded to obtain encoded directional audio coding parameters, on the one hand enhanced quality is obtained while on the other hand a reduced bit rate for encoding the spatial audio coding parameters is obtained.
[0022] In an embodiment, the time or frequency resolution of the diffuseness parameters is lower than the time or frequency resolution of the directional parameters. In another embodiment, the grouping is performed not only in frequency but also in time. For example, the initial diffuseness / directional audio coding parameters are calculated with high resolution (i.e. calculated for a high resolution time period / frequency band), and the grouping is performed and preferably performed by averaging, so as to calculate the resulting diffuseness parameters with low time or frequency resolution and the resulting directional parameters with medium time or frequency resolution (i.e. a time or frequency resolution between the time or frequency resolution of the diffuseness parameters and the initial high resolution), the initial high resolution of the initial original parameters having been calculated.
[0023] In an embodiment, the first and second time resolutions are different and the first and second frequency resolutions are the same, or vice versa, that is, the first and second frequency resolutions are different and the first and second time resolutions are the same. In another embodiment, both the first and second time resolutions are different and the first and second frequency resolutions are also different. Therefore, the first time or frequency resolution may also be considered as a first time-frequency resolution and the second time or frequency resolution may also be considered as a second time-frequency resolution.
[0024] In another embodiment, the grouping of diffuseness parameters is performed using a weighted addition, wherein the weighting factors used for the weighted addition are determined based on the power of the audio signal so that time segments / frequency bands with higher power (or, in general, higher amplitude-related measures of the audio signal) have a higher influence on the result than diffuseness parameters of time segments / frequency bands in which the signal to be analyzed has lower power or lower energy-related measures.
[0025] It is also preferred to perform a double weighted average for calculating the grouped directional parameters. This double weighted average is performed in such a way that when the power of the initial signal is very high in a time segment / frequency band, the directional parameters from this time segment / frequency band have a higher influence on the final result. The diffuseness values of the corresponding segments are also taken into account so that eventually when the power is the same in two time segments / frequency bands, the directional parameters from the time segment / frequency band associated with a high diffuseness have a lower influence on the final result compared to the directional parameters with a low diffuseness.
[0026] It is preferred to perform the processing of parameters in frames, wherein each frame is organized in a certain number of frequency bands, wherein each frequency band includes at least two initial frequency bands, in which the parameters have been calculated. The bandwidth of the frequency bands (i.e. the number of initial frequency bands) increases with the increasing frequency band numbering so that the higher frequency bands are wider than the lower frequency bands. It has been found that in a preferred embodiment, for example, the number of diffuseness parameters per frequency band and per frame is equal to 1, while the number of directional parameters per frame and per frequency band is 2 or even greater than 2, such as 4. It has been found that for diffuseness and directional parameters, the same frequency resolution but different time resolution is applicable, i.e., the number of frequency bands of diffuseness parameters and directional parameters in a frame is equal to each other. These grouped parameters are then quantized and encoded by a quantizer and encoder processor.
[0027] According to a second aspect of the invention, the object of providing an improved processing concept for spatial audio coding parameters is achieved by a parameter quantizer for quantizing diffuseness parameters and directional parameters, a subsequently connected parameter encoder for encoding the quantized diffuseness parameters and the quantized directional parameters, and a corresponding output interface for generating an encoded parameter representation comprising information related to the encoded diffuseness parameters and the encoded directional parameters. Thus, by quantization and subsequent entropy coding, a significant data rate reduction is obtained.
[0028] The diffuseness parameters and directional parameters input to the encoder may be high resolution diffuseness / directional parameters or grouped or ungrouped low resolution directional audio coding parameters. A feature of the preferred parameter quantizer is that the quantization accuracy used to quantize the directional parameter is derived from the diffuseness values of the diffuseness parameters associated with the same time / frequency region. Thus, in a feature of the second aspect, the quantization accuracy of the directional parameter associated with a diffuseness parameter having a high diffuseness is lower than that of the directional parameter associated with a time / frequency region having a diffuseness parameter indicating a low diffuseness.
[0029] The diffuseness parameter itself may be entropy coded in the original coding mode or may be coded in a single value coding mode when the diffuseness parameter of a frequency band of a frame has the same value throughout the frame. In other embodiments, the diffuseness value may be coded in only two consecutive value passes.
[0030] Another feature of the second aspect is that the directional parameter is converted into an azimuth / elevation representation. In this feature, the elevation value is used to determine the alphabet for quantization and encoding of the azimuth value. Preferably, the azimuth alphabet has the largest number of different values when the elevation indicates zero angle or generally indicates an equatorial angle on a unit sphere. The least number of values in the azimuth alphabet is when the elevation indicates the north or south pole of the unit sphere. Therefore, the alphabet value decreases as the absolute value of the elevation counted from the equator increases.
[0031] The elevation angle value is quantized using a quantization accuracy determined from the corresponding diffuseness value, and the quantization alphabet on the one hand and the quantization accuracy on the other hand determine the quantization of the corresponding azimuth angle value and generally the entropy coding.
[0032] Therefore, an efficient and parameter-adaptive processing is performed which removes as many irrelevant correlations as possible and at the same time applies high resolution or high accuracy to regions where it is worthwhile, while in other regions such as the North Pole or South Pole of the unit sphere, the accuracy will not be as high as compared to the equator of the unit sphere.
[0033] The decoder side operation according to the first aspect performs any kind of decoding and performs corresponding de-grouping by means of the encoded or decoded diffuseness parameters and the encoded or decoded direction parameters. Thus, a parameter resolution conversion is performed to enhance the resolution from the encoded or decoded directional audio coding parameters to a resolution that is ultimately used by the audio renderer to perform rendering of the audio scene. In this resolution conversion process, different resolution conversions are performed for the diffuseness parameters on the one hand and for the direction parameters on the other hand.
[0034] Diffusivity parameters are usually encoded with a low resolution and therefore one diffuseness parameter must be repeated or copied several times to obtain a high-resolution representation. On the other hand, the corresponding directional parameters must be copied or repeated less frequently than the diffuseness parameters, since the resolution of the directional parameters is already higher than the resolution of the diffuseness parameters in the encoded audio signal.
[0035] In an embodiment, the copied or repeated directional audio coding parameters are applied as is or processed (e.g. smoothed or low-pass filtered) in order to avoid artifacts caused by the parameters that vary strongly with frequency and / or time. However, since in a preferred embodiment the application of the resolution-converted parameterized data is performed in the spectral domain, the corresponding frequency-time conversion of the rendered audio signal from the frequency domain to the time domain performs coherent averaging due to the preferably applied overlap and add process (which is a feature typically included in synthesis filter banks).
[0036] At the decoder side according to the second aspect, the specific processes performed at the encoder side for entropy coding on the one hand and quantization on the other hand are unraveled. It is preferred that the dequantization accuracy at the decoder side is determined based on the diffuseness parameters, usually quantized or dequantized, associated with the corresponding directional parameters.
[0037] It is preferred that the alphabet of elevation parameters is determined from the corresponding diffuseness values and their associated dequantization precision.It is also preferred for the second aspect that the determination of the dequantization alphabet of azimuth parameters is performed based on quantized or preferably dequantized values of elevation parameters.
[0038] According to a second aspect, either the original coding mode on the one hand or the entropy coding mode on the other hand is performed at the encoder side, and the mode that produces the smaller number of bits is selected at the encoder and signaled to the decoder via some side information. Typically, for directional parameters with high diffuseness values associated therewith, the original coding mode is always performed, while for directional parameters with lower diffuseness values associated therewith, the entropy coding mode is tried. In the entropy coding mode with original coding, the azimuth and elevation values are merged into a sphere index, and the sphere index is then encoded using a binary code or a punctured code, and the entropy coding is thus unraveled at the decoder side.
[0039] In the entropy coding mode with modeling, the average elevation and azimuth values are calculated for the frame, and the residual values about these average values are actually calculated. Therefore, a prediction is performed and the predicted residual values (i.e., the distance of the elevation and azimuth) are entropy coded. For this purpose, in addition to the preferred signed distance and the average value, it is preferred to also perform an extended Golomb-Rice process that depends on the Golomb-Rice parameters determined and encoded on the encoder side. On the decoder side, once the entropy coding with modeling (i.e., the decoding mode) is signaled and determined by the auxiliary information evaluation in the decoder, the encoded average value, the encoded preferred signed distance, and the corresponding Golomb-Rice parameters of the elevation and azimuth are used to perform decoding with the extended Golomb-Rice process. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The preferred embodiments of the present invention are discussed below with reference to the accompanying drawings, in which:
[0041] Figure 1a A preferred embodiment of the encoder side of the first aspect or the second aspect is shown;
[0042] Figure 1b A preferred embodiment of the decoder side of the first aspect or the second aspect is shown;
[0043] Figure 2a A preferred embodiment of the apparatus for encoding according to the first aspect is shown;
[0044] Figure 2b Shows Figure 2a A preferred implementation of a parameter calculator;
[0045] Figure 2c Another embodiment for calculating the diffusivity parameter is shown;
[0046] Figure 2d Shows Figure 2a Another preferred embodiment of the parameter calculator 100;
[0047] Figure 3a As shown by Figure 1a The analysis filter bank 130 or Figure 1b 430 obtains a time / frequency representation with high time or frequency resolution;
[0048] Figure 3b An embodiment of diffusivity grouping with low temporal or frequency resolution, in particular with a specific low temporal resolution of a single diffusivity parameter per frame, is shown;
[0049] Figure 3c A preferred illustration of a medium resolution of the directional parameters with five frequency bands on the one hand and four time regions resulting in 20 time / frequency regions on the other hand is shown;
[0050] Figure 3d showing an output bitstream having an encoded diffuseness parameter and an encoded direction parameter;
[0051] Figure 4a An apparatus for encoding directional audio coding parameters according to the second aspect is shown;
[0052] Figure 4b Preferred embodiments of a parameter quantizer and a parameter encoder for calculating an encoded diffuseness parameter are shown;
[0053] Figure 4c The collaboration of different elements shows Figure 4a A preferred embodiment of the encoder;
[0054] Figure 4d shows a quasi-uniform coverage of a unit sphere applied for quantification purposes in a preferred embodiment;
[0055] Figure 5a shows the operation of different encoding modes Figure 4a An overview of the operation of the parameter encoder;
[0056] Figure 5b Shown for Figure 5a Preprocessing of the directional indexes of the two modes;
[0057] Figure 5c A first encoding mode in a preferred embodiment is shown;
[0058] Figure 5d A preferred embodiment of the second encoding mode is shown;
[0059] Figure 5e A preferred embodiment of entropy coding of signed distances and corresponding average values using the GR coding process is shown;
[0060] Figure 5f A preferred embodiment for determining optimal Columbus-Rice parameters is shown;
[0061] Figure 5g Shown is the Figure 5e An implementation of the reordered signed distance coded extended Golomb-Rice process indicated by block 279 of ;
[0062] Figure 6a Shows Figure 4a An implementation method of a parameter quantizer;
[0063] Figure 6b shows a preferred implementation of the functionality of a parameter dequantizer which is also used in some aspects for encoder-side implementations;
[0064] Figure 6c An overview of the implementation of the original direction encoding process is shown;
[0065] Figure 6d An implementation for the calculation and quantization of the average direction for azimuth and elevation and dequantization is shown;
[0066] Figure 6e Projections of the mean elevation and azimuth data are shown;
[0067] Figure 6f The calculation of distance in elevation and azimuth is shown;
[0068] Figure 6g An overview of encoding with mean direction in modeled entropy coding mode is shown;
[0069] Figure 7a A decoder for decoding an encoded audio signal according to the first aspect is shown;
[0070] Figure 7b Shows Figure 7a Preferred implementations of a parameter resolution converter and subsequent audio rendering;
[0071] Figure 8a A decoder for decoding an encoded audio signal according to the second aspect is shown;
[0072] Figure 8b shows a schematic bitstream representation for an encoded diffuseness parameter in an embodiment;
[0073] Figure 8c shows an implementation of the bitstream when the original encoding mode has been selected;
[0074] Figure 8d shows a schematic bitstream when another coding mode (i.e. a mode with modeled entropy coding) has been selected;
[0075] Figure 8e A preferred embodiment of a parameter decoder and a parameter dequantizer is shown, wherein the dequantization accuracy is determined based on the spread of the time / frequency region;
[0076] Figure 8f A preferred embodiment of a parameter decoder and a parameter dequantizer is shown, wherein an elevation angle alphabet is determined according to a dequantization precision, and an azimuth angle alphabet is determined based on the dequantization precision and elevation angle data for a time / frequency region;
[0077] Figure 8g shows two different decoding modes Figure 8a Overview of the parameter decoder;
[0078] Figure 9a shows the decoding operation when the original encoding mode is in effect;
[0079] Figure 9b shows the decoding of the average direction when the decoding mode with modeled entropy is in effect;
[0080] Fig.9c shows the reconstruction of elevation and azimuth angles when a decoding mode with modeling is in effect, and the subsequent dequantization;
[0081] Fig.10a The well-known DirAC analyzer is shown; and
[0082] Fig.10b The well-known DirAC synthesizer is shown. DETAILED DESCRIPTION
[0083] The present invention generalizes the compression of DirAC metadata to any situation. Figure 1a and Figure 1b In the spatial coding system shown in Figure 1a and Figure 1b A DirAC-based spatial audio encoder and decoder is depicted in FIG.
[0084] The encoder usually analyzes the spatial audio scene in B format. Alternatively, the DirAC analysis can be adjusted to analyze different audio formats, such as audio objects or multi-channel signals or a combination of any spatial audio formats. The DirAC analysis extracts a parameterized representation from the input audio scene. The direction of arrival (DOA) and the diffusion measured by each time-frequency unit form the parameters. The DirAC analysis is followed by a spatial metadata encoder, which quantizes and encodes the DirAC parameters to obtain a low bit rate parameterized representation. The latter module is the subject of the present invention.
[0085] Together with the parameters, the downmixed signal derived from different sources or audio input signals is encoded for transmission through a conventional audio core encoder. In a preferred embodiment, the EVS audio encoder is preferably used to encode the downmixed signal, but the invention is not limited to this core encoder and can be applied to any audio core encoder. The downmixed signal consists of different channels called transport channels: the signal can be, for example, four coefficient signals constituting a B-format signal, a stereo pair or a mono downmix, depending on the target bit rate. The encoded spatial parameters and the encoded audio bitstream are multiplexed before transmission through the channels.
[0086] In the decoder, the transport channels are decoded by the core decoder, and the DirAC metadata is first decoded before being fed to the DirAC synthesis via the decoded transport channels. The DirAC synthesis uses the decoded metadata to control the reproduction of the direct sound stream and its mixing with the diffuse sound stream. The reproduced sound field can be reproduced on any loudspeaker layout or can be produced in an ambisonic format (HOA / FOA) in any order.
[0087] exist Figure 1a 1 shows an audio encoder for encoding an audio signal such as a B-format input signal. The audio encoder comprises a DirAC analyzer 100. The DirAC analyzer 100 may comprise an analysis filter bank 130, a diffuseness estimator 110 and a direction estimator 120. The diffuseness data and the direction data are output to a spatial metadata encoder 200, which finally outputs the encoded metadata on line 250. The B-format signal may also be forwarded to a beamformer / signal selector 140, which generates a mono or stereo transport audio signal from the input signal, which is then encoded in an audio encoder 150 (i.e., preferably an EVS (Enhanced Voice Service) encoder). The encoded audio signal is output at 170. The encoded encoding parameters indicated at 250 are input to a spatial metadata decoder 300. The encoded audio signal 170 is input to an audio decoder 340, which in a preferred embodiment is implemented as an EVS decoder according to an encoder-side implementation.
[0088] The decoded transport signal is input into the DirAC synthesizer 400 together with the decoded directional audio coding parameters. Figure 1b In the embodiment shown in , the DirAC synthesizer comprises an output synthesizer 420, an analysis filter bank 430 and a synthesis filter bank 440. At the output of the synthesis filter bank 400, a decoded multichannel signal 450 is obtained, which can be forwarded to a loudspeaker, or can alternatively be an audio signal in any other format, such as a first-order ambisonic (FOA) or higher-order ambisonic (HOA) format. Naturally, any other parameterized data, such as MPS (MPEG Surround) data or SAOC (Spatial Audio Object Coding) data, can be generated together with the transport channels as mono or stereo channels.
[0089] In general, the output synthesizer operates by calculating a direct audio signal on the one hand and a diffuse audio signal on the other hand for each time-frequency bin as determined by the analysis filter bank 430. The direct audio signal is calculated based on the directional parameter and the relationship between the direct audio signal and the diffuse audio signal in the final audio signal for that time segment / frequency bin, and the diffuse audio signal is determined based on a diffuseness parameter, such that a time segment / frequency bin with a high diffuseness parameter produces an output signal with a large amount of diffuse signal and a small amount of direct signal, while a time segment / frequency bin with a low diffuseness produces an output signal with a large amount of direct signal and a small amount of diffuse signal.
[0090] Figure 2a An apparatus for encoding directional audio coding parameters including diffuseness parameters and directional parameters according to a first aspect is shown. The apparatus comprises a parameter calculator 100 for calculating diffuseness parameters with a first time or frequency resolution and for calculating directional parameters with a second time or frequency resolution. The apparatus comprises a quantizer and encoder processor 200 for generating quantized and encoded representations of the diffuseness parameters and directional parameters shown at 250. The parameter calculator 100 may comprise Figure 1a Components 110, 120, 130, wherein different parameters have been calculated in a first or a second time or frequency resolution.
[0091] Alternatively, Figure 2b A preferred embodiment is shown in FIG. Figure 2b The parameter calculator is configured as shown in item 130 of Figure 1aThe blocks 110, 120 in FIG. 1 , i.e. they calculate parameters with a third or fourth time or frequency resolution, which is usually high. A grouping operation is performed. For calculating the diffuseness parameter, grouping and averaging are performed as shown in block 141 to obtain a diffuseness parameter representation with a first time or frequency resolution, and for calculating the directional parameter, grouping (and averaging) is performed in block 142 to obtain a directional parameter representation with a second time or frequency resolution.
[0092] The diffuseness parameter and the directional parameter are calculated such that the second time or frequency resolution is different from the first time or frequency resolution, and the first time resolution is lower than the second time resolution, or the second frequency resolution is higher than the first frequency resolution, or alternatively, the first time resolution is lower than the second time resolution and the first frequency resolution is equal to the second frequency resolution.
[0093] Typically, the diffuseness parameter and the directional parameter are calculated for a set of frequency bands, where the bands with lower center frequencies are narrower than the bands with higher center frequencies. Figure 2b As discussed, parameter calculator 100 is configured to obtain initial diffuseness parameters having a third time or frequency resolution, and parameter calculator 100 is also configured to obtain initial direction parameters having a fourth time or frequency resolution, wherein the third and fourth time or frequency resolutions are generally equal to each other.
[0094] The parameter calculator is then configured to group and average the initial diffuseness parameters so that the third time or frequency resolution is higher than the first time or frequency resolution, i.e., a resolution reduction is performed. The parameter calculator is also configured to group and average the initial direction parameters so that the fourth time or frequency resolution is higher than the second time or frequency resolution, i.e., a resolution reduction is performed. Preferably, the third time or frequency resolution is a constant time resolution so that each initial diffuseness parameter is associated with a time slot or frequency band of the same size. The fourth time or frequency resolution is also a constant frequency resolution so that each initial direction parameter is associated with a time slot or frequency band of the same size.
[0095] The parameter calculator is configured to average a first plurality of diffuseness parameters associated with a first plurality of time slots. The parameter calculator 100 is also configured to average a second plurality of diffuseness parameters associated with a second plurality of frequency bands, and the parameter calculator is also configured to average a third plurality of directional parameters associated with a third plurality of time slots, or the parameter calculator is also configured to average a fourth plurality of directional parameters associated with a fourth plurality of frequency bands.
[0096] As about Figure 2c and Figure 2dAs discussed, the parameter calculator 100 is configured to perform a weighted average calculation, wherein the diffuseness parameter or the directional parameter derived from the input signal portion having a higher amplitude correlation measure is weighted with a higher weighting factor than the diffuseness parameter or the directional parameter derived from the input signal portion having a lower amplitude correlation measure. The parameter calculator 100 is configured as follows Figure 2c The amplitude-related measure for each segment in the third or fourth time or frequency resolution is calculated 143 as shown in item 143 of . In box 144, a weighting factor is calculated for each segment, and in box 145, grouping and averaging are performed using a weighted combination (such as weighted addition) with the diffuseness parameters of the individual segments being input into box 145. At the output of box 145, diffuseness parameters with the first time or frequency resolution are obtained, which can then be normalized in box 146, but this process is only optional.
[0097] Figure 2d The calculation of the direction parameter with the second resolution is shown. In block 146, similar to Figure 2c Item 143 calculates the amplitude correlation measure for each segment in the third or fourth resolution. In block 147, a weighting factor is calculated for each segment, but this depends not only on the amplitude correlation measure obtained from block 147, but also on the use of Figure 2d . Thus, for the same amplitude-related measurement, a higher factor is typically calculated for a lower diffuseness. In block 148, grouping and averaging are performed using a weighted combination (such as addition), and the result may be normalized as shown in optional block 146. Thus, at the output of block 146, a directional parameter is obtained as a unit vector corresponding to a two-dimensional or three-dimensional region, e.g., a Cartesian vector in polar coordinate form that can be easily converted to an azimuth value and an elevation value.
[0098] Figure 3a As shown by Figure 1a and Figure 1b The filter bank analysis 430 is obtained or obtained by Figure 1b The filter combination is combined into a time / frequency grid of 440 applications. In an embodiment, the entire frequency range is divided into 60 frequency bands and the frame additionally has 16 time slots. This high time or frequency resolution is preferably the third or fourth highest time or frequency resolution. Therefore, starting from 60 frequency bands and 16 time slots, 960 time / frequency blocks or segments per frame are obtained.
[0099] Figure 3b The parameter calculator and specifically the Figure 2bThe block 141 of is performed to obtain a first time or frequency resolution representation of the diffuseness value. In this embodiment, the entire frequency bandwidth is divided into five grouping frequency bands and only a single time slot. Therefore, for a frame, only five diffuseness parameters are finally obtained per frame, which are then quantized and encoded.
[0100] Figure 3c Shown by Figure 2b The corresponding process performed by the box 142 of Figure 3a The high-resolution directional parameters (one for each segment) are grouped and averaged into Figure 3c A medium-resolution representation of the Figure 3a Compared to now having four time slots. Therefore, in the end, one frame accommodates 20 directional parameters, i.e., 20 packet segments per frame for directional parameters and 20 packets per frame for Figure 3b In a preferred embodiment, the band edges are excluded in their upper edges so that
[0101] When compared Figure 3b and Figure 3c When , it should be noted that the diffuseness parameter of the first frequency band (i.e., diffuseness parameter 1) corresponds to or is associated with the four directional parameters of the first frequency band. As will be outlined later, the quantization accuracy of all directional parameters in the first frequency band is determined by the diffuseness parameter of the first frequency band, or exemplarily, the quantization accuracy of the directional parameters of the fifth frequency band (i.e., the corresponding four directional parameters covering the fifth frequency band and the four time slots in the fifth frequency band) is determined by a single diffuseness parameter of the fifth frequency band.
[0102] Therefore, in this embodiment, all directional parameters in one band have the same quantization / dequantization precision, in the case where each band consists of only a single diffuseness parameter. As will be outlined later, the alphabet used to quantize and encode the azimuth parameter depends on the value of the original / quantized / dequantized elevation parameter. Therefore, although each directional parameter of each band has the same quantization / dequantization parameter, Figure 3c Each packet segment or each azimuth parameter of a time region / frequency region may have a different alphabet for quantization and encoding.
[0103] exist Figure 3d In more detail, Figure 2a The resulting bitstream produced by the quantizer and encoder processor 200 is shown at 250 in FIG. The bitstream may include a resolution indication 260 indicating the first resolution and the second resolution. However, when the first resolution and the second resolution are fixedly set by the encoder and the decoder, the resolution indication is not required. Items 261, 262 show the encoded diffuseness parameters of the corresponding frequency bands. Figure 3d Only five frequency bands are shown, so only five diffuseness parameters are included in the encoded data stream. Items 363, 364 show the encoded direction parameters. For the first frequency band, there are four encoded direction parameters, where the first index of the direction parameter indicates the frequency band and the second parameter indicates the time slot. The fifth frequency band and the fourth time slot (i.e. Figure 3c The directional parameter of the upper right frequency band in the image is indicated as DIR54.
[0104] Subsequently, more preferred embodiments are discussed in detail.
[0105] Time-Frequency Decomposition
[0106] In DirAC, analysis and synthesis are performed in the frequency domain. Time-frequency analysis and synthesis can be performed using various block transforms such as short-term Fourier transform (STFT) or filter banks such as complex modulated quadrature mirror filter banks (QMF). In our preferred embodiment, we aim to share framing between DirAC processing and the core encoder. Since the core encoder is preferably based on the 3GPP EVS codec, 20 milliseconds of framing is expected. In addition, important criteria such as time and frequency resolution and the robustness of aliasing are meaningful for very efficient time-frequency processing in DirAC. Since the system is designed for communication, algorithm delay is another important aspect.
[0107] For all these reasons, a complex modulated low delay filter bank (CLDFB) is the preferred choice. The CLDFB has a time resolution of 1.25 milliseconds and divides a 20 millisecond frame into 16 time slots. The frequency resolution is 400Hz, which means that the input signal is decomposed into (fs / 2) / 400 frequency bands. The filter bank operation is described in general form by the following formula:
[0108]
[0109] Where X CR and X CI are the real and imaginary subband values, respectively, t is the subband time index, where 0≤t≤15, and k is the subband index, where 0≤k≤L C -1. Analyze the prototype c is dependent on s HP An asymmetric low-pass filter with an adaptive length. c The length of Given , this means that the filter is transformed across 10 consecutive blocks.
[0110] For example, the CLDFB will decompose a signal sampled at 48kHz into 60x16=960 time-frequency blocks per frame. The delay after analysis and synthesis can be adjusted by choosing different prototype filters. A delay of 5 milliseconds (analysis and synthesis) was found to be a good compromise between the quality delivered and the delay incurred. For each time-frequency block, the spread and direction are calculated.
[0111] DirAC parameter estimation
[0112] In each frequency band, the direction of arrival of the sound and the diffusion of the sound are estimated. i (n), x i (n), y i (n), z i (n) From the time-frequency analysis, the pressure and velocity vectors can be determined as:
[0113] P i (n, k) = W i (n, k)
[0114] U i (n, k) = X i (n,k)e x +Y i (n,k)e y +Z i (n,k)e z
[0115] where i is the index of the input, n and k are the time and frequency indices of the time-frequency block, and e x , e y , e z represents a Cartesian unit vector. P(n, k) and U(n, k) are necessary to calculate the DirAC parameters (i.e., DOA and diffuseness) by calculation of the intensity vector:
[0116]
[0117] in represents the complex conjugate. The diffuseness of the combined sound field is given by:
[0118]
[0119] where E{.} denotes the time averaging operator, c is the speed of sound, and the sound field energy E(k,n) is given by:
[0120]
[0121] The diffuseness of a sound field is defined as the ratio between the sound intensity and the energy density, and has a value between 0 and 1.
[0122] The direction of arrival (DOA) is expressed with the help of the unit vector direction(n, k), which is defined as
[0123]
[0124] The direction of arrival is determined by energy analysis of the B-format input and can be defined as the relative direction of the intensity vector. The direction is defined in Cartesian coordinates but can be easily transformed into spherical coordinates defined by unit radius, azimuth and elevation.
[0125] In summary, if for each time-frequency block the parameter values are converted directly into bits, 3 values must be encoded: azimuth, elevation and spread. The metadata then consists of 2880 values per frame (i.e. 144000 values per second) in the example of CLDFB. This huge amount of data needs to be significantly reduced to achieve low bitrate encoding.
[0126] Grouping and averaging of DirAC metadata
[0127] In order to reduce the amount of parameters, the parameters calculated in each time-frequency block are first grouped and averaged along the frequency parameter bands and over several time slots. The grouping decouples between diffuseness and direction, which is an important aspect of the present invention. In fact, the decoupling exploits the fact that diffuseness preserves longer-term characteristics of the sound field compared to direction, which is a more reactive spatial cue.
[0128] The parameter bands constitute a non-uniform and non-overlapping decomposition of the bands in approximately integer multiples of the equivalent rectangular bandwidth (ERB) ratio. By default, a 9x ERB ratio is used for a total of 5 parameter bands for an audio bandwidth of 16 kHz.
[0129] The diffusion is calculated as:
[0130]
[0131] where power(n, k) α is the energy of the input signal measured in the time-frequency bin indexed (t, k) and raised to the power of α, and diffusess(n, k) is the spread of the input signal measured in the time-frequency bin indexed (n, k), and where band diff [] defines the limits of the parameter bands with respect to the band index, and slot diff [] defines the restrictions on time grouping in the time slot index. For example, the table can be defined for 5 parameter bands and 1 time grouping as:
[0132] slot diff=[0, 16]
[0133] band diff =[0, 1, 3, 7, 15, 60]
[0134] The direction vector in Cartesian coordinates is calculated as:
[0135]
[0136] where power(n, k) α is the energy of the input signal measured in the time-frequency bin at index (t, k) and raised to the power of α, diffuseness(n, k) is the diffuseness of the input signal measured in the time-frequency bin at index (n, k), and direction(n, k) is the direction measured in the time-frequency bin at index (n, k) in three-dimensional Cartesian coordinates, and where band dv [] defines the limits of the parameter bands with respect to the band index and slot dv [] defines the restrictions on time grouping in the slot index. For example, the table can be defined for 5 parameter bands and 4 time groups as:
[0137] slot dv =[0, 4, 8, 12, 16]
[0138] band dv =[0, 1, 3, 7, 15, 60]
[0139] The parameter α allows to compress or expand the power-based weights in the weighted sum performed for the average parameter. In a preferred mode, α=1.
[0140] In general, this value may be a non-negative real number, since exponents less than 1 may also be suitable. For example 0.5 (square root) will still give more weight to higher amplitude dependent signals, but will be more modest when compared to exponents of 1 or greater.
[0141] After grouping and averaging, the resulting orientation vector dv[g, b] is generally no longer a unit vector. Therefore, normalization is required:
[0142]
[0143] Subsequently, preferred embodiments of the second aspect of the present invention are discussed. Figure 4a An apparatus for encoding directional audio coding parameters including diffuseness parameters and direction parameters according to a further second aspect is shown. The apparatus comprises a parameter quantiser 210 which receives at its input grouped parameters as discussed with respect to the first aspect or parameters which have not been grouped or have been grouped in a different way.
[0144] Thus, a parameter quantizer 210 together with a subsequently connected parameter encoder 220 for encoding a quantized diffuseness parameter and a quantized directional parameter and an output interface for generating an encoded parameter representation comprising information related to the encoded diffuseness parameter and the encoded directional parameter are included in, for example, Figure 1a within the frame 200. Figure 2a The quantizer and encoder processor 200 may be implemented as, for example, discussed subsequently with respect to the parameter quantizer 210 and the parameter encoder 220, but the quantizer and encoder processor 200 may also be implemented in any different manner for the first aspect.
[0145] Preferably, Figure 4a The parameter quantizer 210 is configured to quantize using a non-uniform quantizer such as Figure 4b The diffusion parameter shown at 231 in is used to generate a diffusion index. Figure 4a The parameter encoder 220 is configured as shown in item 232, i.e., to entropy encode the diffuseness values obtained for the frame using preferably three different modes, but a single mode may also be used or only two different modes may also be used. One mode is the original mode in such a way that each individual diffuseness value is encoded using, for example, a binary code or a punctured binary code. Alternatively, differential encoding may be performed so that each difference value and the initial absolute value are encoded using the original mode. However, the situation may cause the same frame to have the same diffuseness across all frequency bands and only one value code may be used. Furthermore, alternatively, the situation may be that there are continuous values for diffuseness, i.e., continuous diffuseness indices in one frame, and then the third encoding mode may be applied as shown in box 232.
[0146] Figure 4c Shows Figure 4a An implementation of the parameter quantizer 210. Figure 4a The parameter quantizer 210 is configured to convert the directional parameters into polar coordinate form as shown at 233. In block 234, the quantization accuracy of the segment is determined. The segment may be an initially high resolution segment or alternatively and preferably a low resolution grouped segment.
[0147] As previously mentioned Figure 3b and Figure 3c As discussed, each frequency band has the same diffuseness value but has four different directional values. The same quantization precision is determined for the entire frequency band, i.e., for all directional parameters within the frequency band. In block 235, the elevation parameter as output by block 233 is quantized using the quantization precision. The quantization alphabet used to quantize the elevation parameter is preferably also obtained according to the quantization precision of the segment as determined in block 234.
[0148] For the purpose of processing the azimuth values, an azimuth angle alphabet is determined 236 from the elevation angle information of the corresponding (grouped) time segment / band. The elevation angle information may be a quantized elevation angle value, an initial elevation angle value or a quantized and re-dequantized elevation angle value, wherein the latter value (i.e. the quantized and re-dequantized elevation angle value) is preferred in order to have the same situation at the encoder side and at the decoder side. In block 237, the azimuth angle parameter is quantized by the alphabet of the time segment / band. Although we can have the same information as before about Figure 3b The same quantization accuracy of the frequency bands in question, but we can still have a different azimuth alphabet for each individual grouped time segment / frequency band associated with a directional parameter.
[0149] DirAC metadata encoding
[0150] For each frame, the DirAC spatial parameters are calculated on a grid consisting of nbands bands across frequency, and for each band b, the num_slots time slots are grouped into multiple time packets of the same size nblock(b). For each band, the spread parameter is sent, and for each time packet of each band, the directional parameter is sent.
[0151] For example, if nbands=5 and nblocks(b)=4, in the case of num_slots=16, this will result in 5 diffuseness parameters and 20 direction parameters per frame, which will be further quantized and entropy encoded.
[0152] Quantification of the diffusion parameter
[0153] Each diffuseness parameter diff(b) is quantized to one of diff_alph discrete levels using a non-uniform quantizer to generate diffuseness index diff_idx(b). For example, the quantizer may be derived from the ICC quantization table used in the MPS standard, for which the threshold and reconstruction level are calculated by the generate_diffuseness_quantizer function.
[0154] Preferably, only non-negative values from the ICC quantization table are used, such as icc=[1.0, 0.937, 0.84118, 0.60092, 0.36764, 0.0], which contains only 6 levels out of the original 8. Because an ICC of 0.0 corresponds to a diffuseness of 1.0, and an ICC of 1.0 corresponds to a diffuseness of 0.0, a set of y coordinates is established as y=1.0-icc, where the corresponding set of x coordinates is x=[0.0, 0.2, 0.4, 0.6, 0.8, 1.0]. A shape-preserving piecewise cubic interpolation method (called Piecewise Cubic Hermite Interpolating Polynomial (PCHIP)) is used to derive a curve through a set of points defined by x and y. The number of steps of the diffuseness quantizer is diff_alph, which is 8 in the proposed implementation, but it is independent of the total number of levels of the ICC quantization table (which is also 8).
[0155] A new set of diff_alph equally spaced coordinates x_interpolated from 0.0 to 1.0 (or close to but less than 1.0 when pure diffuseness of 1.0 is avoided due to sound rendering considerations) is generated, and the corresponding y values on the curve are used as reconstruction values, which are spaced non-linearly. Points halfway between consecutive x_interpolated values are also generated, and the corresponding y values of the curve are used as thresholds to decide which values map to a particular diffuseness index and therefore to a reconstruction value. For the proposed implementation, the resulting reconstruction and threshold (rounded to 5 digits) calculated by the generate_diffuseness_quantizer function are:
[0156] reconstructions = [0.0, 0.03955, 0.08960, 0.15894, 0.30835, 0.47388, 0.63232, 0.85010]
[0157] thresholds = [0.0, 0.01904, 0.06299, 0.11938, 0.22119, 0.39917, 0.54761, 0.73461, 2.0]
[0158] The placeholder overrange large threshold (2.) is added at the end of the threshold to make it easier to search for it. For example, if for a particular frequency band b, diff(b) = 0.33, then thresholds[4] <= diff(b) < thresholds[5], so diff_idx(b) = 4, and the corresponding reconstruction value is reconstructions[4] = 0.30835.
[0159] The above process is only one possible choice for a non-linear quantizer for the diffuseness values.
[0160] Entropy Coding of Diffusivity Parameters
[0161] The EncodeQuasiUniform(value, alphabet_sz) function is used to encode value using quasi-uniform probability using a punctured code. For value∈{0,...,alphabet_sz-1}, use bits to encode multiple minimums, and the remaining values use If alphabet_sz is a power of two, a binary code is generated.
[0162] Depending on its value, the quantized diffuseness index can be entropy encoded using one of three available methods: raw encoding, only one value, and only two consecutive values. The first bit (diff_use_raw_coding) indicates whether the raw encoding method is used. For raw encoding, each diffuseness index value is encoded using the EncodeQuasiUniform function.
[0163] If all index values are equal, then the only one value method is used. The second bit (diff_have_unique_value) is used to indicate this method, and then the EncodeQuasiUniform function is used to encode the unique value. If all index values consist of only two consecutive values, then the only two consecutive values method is used, which is indicated by the second bit mentioned above. Considering that its alphabet size is reduced to diff_alph-1, the smaller of the two consecutive values is encoded using the EncodeQuasiUniform function. Then, for each value, one bit is used to encode its difference from the minimum value.
[0164] The preferred EncodeQuasiUniform(value, alphabet_sz) function implements the so-called punctured code. It can be defined in pseudocode as:
[0165]
[0166] If alphabet_sz is a power of 2, then alphabet_sz = 2^bits, and thresh = 2^bits, so the else branch is never used and a binary encoding is produced. Additionally, the first thresh minimum values are encoded using a binary code with bits, and the remainder (starting with value = thresh) are encoded using a binary code with bits+1 bits. The first binary code encoded using bits+1 bits has the value value+thresh = thresh+thresh = thresh*2, so the decoder can figure out if an additional bit needs to be read by reading only the first bits bits and comparing their value with thresh. The decoding function DecodeQuasiUniform(alphabet_sz) can be defined in pseudocode as:
[0167]
[0168] Conversion of direction parameters to polar coordinates
[0169] Use the function DirectionVector2AzimuthElevation to transform each 3D direction vector dv (which is normalized so that dv[0] 2 +dv[1] 2 +dv[2] 2 =1) is converted into polar coordinates consisting of elevation angle el∈[-90,90] and azimuth angle az∈[0,360]. The function AzimuthElevation2DirectionVector is used to achieve the reverse conversion (from polar coordinates to normalized direction vector).
[0170] Quantification of Directional Parameters
[0171] The directions expressed as elevation and azimuth pairs are further quantized.For each quantized diffuseness index level, the required angular precision is selected from the angle_spacing configuration vector as deg_req = angle_spacing(diff_idx(b)) and used to generate a set of quasi-uniformly distributed quantization points on the unit sphere.
[0172] The angle interval value deg_req is preferably not calculated from the diffuseness diff(b), but from the diffuseness index diff_idx(b). Therefore, there are diff_alph possible deg_req values, one for each possible diffuseness index. At the decoder side, initially the diffuseness diff(b) is not available, only the diffuseness index diff_idx(b) is available, which can be used to select the same angle interval value as in the encoder. In the proposed embodiment, the angle interval table is:
[0173] angle_spacing_table=[5.0, 5.0, 7.5, 10.0, 18.0, 30.0, 45.0, 90.0]
[0174] Quasi-uniformly distributed points on the unit sphere are generated in a way that satisfies several important desired properties. The points should be distributed symmetrically about the X, Y, and Z axes. Quantization of a given direction to the nearest point and mapping to an integer index should be a constant time operation. Finally, computing the corresponding point on the sphere from the integer index to the direction and dequantization should be a constant or logarithmic time operation with respect to the total number of points on the sphere.
[0175] There are two types of symmetry about the axis for points on the horizontal plane: two points are presented when the orthogonal axis intersects the unit sphere on the current plane, and no points are presented. As an example, for any horizontal plane, there are three possible cases. If the number of points is a multiple of 4 (such as 8), there is symmetry about the X (left-right) axis and two points presented at 90 degrees and 270 degrees on the Y axis, and there is symmetry about the Y (front-back) axis and two points presented at 0 degrees and 180 degrees on the X axis. If the number of points is only a multiple of 2 (such as 6), there is symmetry about the X axis but no points at 90 degrees and 270 degrees on the Y axis, and there is symmetry about the Y axis and two points presented at 0 degrees and 180 degrees on the X axis. Finally, when the number of points is an arbitrary integer (such as 5), there is symmetry about the X axis but no points at 90 degrees and 270 degrees on the Y axis, and there is no symmetry about the Y axis.
[0176] In a preferred embodiment, having points at 0, 90, 180 and 270 degrees in all horizontal planes (corresponding to all quantized elevation angles) is considered useful from a sonographic point of view, which means that the number of points on each horizontal plane is always a multiple of 4. However, depending on the specific application, the condition on the number of points on each horizontal plane can be relaxed to only multiples of 2, or to any integer.
[0177] Additionally, in a preferred embodiment, for each elevation angle, the "origin" azimuth point always exists in the 0 degree privileged direction (towards the front). This behavior can be relaxed by independently selecting a pre-computed quantization offset angle for each elevation angle, with the azimuth points distributed relative to the offset angle rather than the 0 degree direction. This can be easily achieved by adding the offset before quantization and subtracting the offset after dequantization.
[0178] The required angle accuracy is deg_req and should be a multiple of 90 degrees. In addition, it is recalculated as deg_req = 90 ÷ [90 ÷ deg_req] before actual use. For example, the list of possible values is {90, 45, 30, 22.5, 18, 15, 12.86, 11.25, 10, ..., 5, ...}. The elevation angle el is uniformly quantized using the step size deg_req, resulting in el_idx = round (el ÷ deg_req) + n_points, el_alph = one of 2·n_points + 1 quantization indices, where This index corresponds to the dequantized elevation angle of q_el = (el_idx - n_points) · deg_req. Equivalently, based only on the alphabet size, el_idx = round(((el+90) ÷ 900) · (el_alph - 1)) is used for quantization and q_el = (el_idx ÷ (el_alph - 1)) · 180 - 90 is used for dequantization.
[0179] At the equator, the azimuth angle az is uniformly quantized using a step size of deg_req, resulting in az_idx, one of 4·n_points quantization indices. For other elevation angles, the horizontal angle interval as seen from the center of the unit sphere (which corresponds to the chord length between two consecutive points) can be approximated by the arc length on the horizontal circle at the elevation angle q_el. Therefore, with respect to the equatorial circle, the number of points on the horizontal circle corresponding to 90 degrees decreases proportionally with its radius so that the arc length between two consecutive points remains approximately the same everywhere. At the poles, the total number of points becomes 1.
[0180] There are az_alph=max(4·round(radius_len·n_points), 1) quantization indices corresponding to the q_el elevation angle, where radius_len=cos(q_el). The corresponding quantization index is az_idx=round((az÷360)·az_alph), where the resulting value of az_alph is replaced with 0. This index corresponds to the dequantized azimuth angle of q_az=az_idx·(360÷az_alph). Note that excluding the poles in the case of az_alph=1, the minimum values near the poles are az_alph=4 for deg_req=90 and deg_req=45, and az_alph=8 for all the rest.
[0181] If the condition regarding the number of points on each horizontal plane is relaxed to only multiples of 2, the azimuth alphabet becomes az_alph=max(2·round(radius_len.(2·n_points)), 1), because there are 2·n_points points corresponding to 180 degrees on the equatorial plane. If the condition regarding the number of points is relaxed to an arbitrary integer, the azimuth alphabet becomes az_alph=max(round(radius_len·(4·n_points)), 1), because there are 4·n_points points corresponding to 360 degrees on the equatorial plane. In both cases, the number of points on the equatorial plane is always a multiple of 4, because radius_len=1 and n_points is an integer.
[0182] The quantization and dequantization processes described above are implemented using the QuantizeAzimuthElevation function and the DequantizeAzimuthElevation function respectively.
[0183] Preferably, the round(x) function rounds x to the nearest integer, typically implemented in fixed point as round(x) = floor(x + 0.5). Rounding for ties (which are values exactly halfway between integers, such as 1.5) can be done in several ways. The above definition rounds ties towards +infinity (1.5 rounds to 2, 2.5 rounds to 3). Floating point implementations typically have a natural round to integer function that rounds ties to even integers (1.5 rounds to 2, 2.5 rounds to 2).
[0184] The indication is "quasi-uniform coverage of the unit sphere" Figure 4dAn example of quasi-uniform coverage of a unit sphere using 15 degree angular precision is shown, showing the quantized directions. A 3D view from above, only the upper hemisphere is drawn for better visualization, and the connecting dashed spiral lines are only for easier visual identification of points from the same horizontal circle or plane.
[0185] Subsequently, a method for encoding the quantized direction parameters (ie, the quantized elevation index and the quantized azimuth index) is shown. Figure 4a A preferred embodiment of the parameter encoder 220. Figure 5a As shown in FIG. 2 , the encoder is configured to classify 240 each frame for diffuseness values in the frame. Block 240 receives diffuseness values, which are Figure 3b In the embodiment, there are only five diffusion values of the frame. If the frame consists of only low diffusion values, the low diffusion encoding mode 241 is applied. When the five diffusion values in the frame are only high diffusion values, the high diffusion encoding mode 242 is applied. When it is determined that the diffusion value in the frame is both below and above the diffusion threshold ec_max, the mixed diffusion encoding mode 243 is applied. In both the low diffusion encoding mode 241 and the high diffusion encoding mode 242, and also for the low diffusion band of the mixed diffusion frame, (as indicated at 244a, 244b and 244c) on the one hand, original encoding is attempted and on the other hand, entropy encoding is attempted. However, for the high diffusion band in the mixed diffusion frame, the original encoding mode is always used as indicated at 244d.
[0186] In case different encoding modes are used, namely the original encoding mode and the entropy encoding mode (with modeling), the result is selected by the encoder controller, which selects the mode that produces the smaller amount of bits to encode the quantized index. This is indicated at 245a, 245b and 245c.
[0187] On the other hand, we can encode the index using only the original coding mode for all frames or frequency bands, and only the entropy coding mode with modeling for all frequency bands, or using any other coding mode (such as Huffman coding mode or arithmetic coding mode with or without context adaptation).
[0188] Depending on the result of the selected process in blocks 245a, 245b and 245c, as shown in blocks 246a, 246b, the auxiliary information is set for the entire frame, or is set only for the corresponding frequency band (i.e., the low diffuseness frequency band in block 246c). Alternatively, in the case of item 246c, the auxiliary information can also be set for the entire frame. In this case, the determination of the high diffuseness frequency band can be performed separately in the decoder, so that even if the auxiliary information is set for the entire frame, the decoder still determines that there is a mixed diffuseness frame, and the direction parameters of the frequency band with high diffuseness values in the mixed diffuseness frame are encoded by the original coding mode, although the auxiliary information of the frame indicates the entropy coding mode with modeling.
[0189] In a preferred embodiment, diff_alph = 8. Next, the ec_max threshold is chosen to be 5 by minimizing the average compressed size of large test volumes. Depending on the value range of the diffuseness index of the current frame, the threshold ec_max is used in the following modes:
[0190] - for low to medium diffuseness frames, where diff_idx(b) <= ec_max, for all bands b, all directions are encoded using both raw and entropy coding, and the best is chosen and indicated by one bit as side information (identified above as dir_use_raw_coding);
[0191] - for mixed diffuseness frames, where diff_idx(b) <= ec_max, for some bands b, the directions corresponding to these bands are coded exactly as in the first case; however, for other high diffuseness bands b, where diff_idx(b) > ec_max, the directions corresponding to these other bands are always coded as original (to avoid mixing the entropy coded statistics of directions with low to medium diffuseness with directions with high diffuseness, the directions corresponding to these other bands are also very coarsely quantized);
[0192] - For high diffuseness frames, where diff_idx(b)>ec_max, the ec_max threshold is pre-set to ec_max=diff_alph for the current frame for all bands b (since the diffuseness index is encoded before the direction, this setting can be done identically at the decoder side in advance), so the case reverts to the first case.
[0193] Figure 5bA preferred but optional pre-processing of the direction index for both modes is shown. For both modes, the quantized direction index (i.e., the quantized azimuth index and the quantized elevation index) is processed in block 247 to produce a conversion of the elevation / azimuth index to signed values, where a zero index corresponds to zero elevation or azimuth. A subsequent conversion 248 to unsigned values (including interleaving of positive / negative values) is performed in order to have a more compact representation of the reordered unsigned azimuth / elevation indices.
[0194] Figure 5c A preferred implementation of a first encoding mode 260, i.e. the original encoding mode without modelling, is shown. The pre-processed azimuth / elevation index is input into a block 261 in order to merge the two indices into a single sphere index. Based on the quantization accuracy derived from the associated diffuseness index, i.e. deg_req, encoding is performed 262 by an encoding function such as EncodeQuasiUniform or (punctured) binary code. Thus, an encoded sphere index for a frequency band or for the entire frame is obtained. In case only low diffuseness frames have been selected for the original encoding or in case only high diffuseness frames have been selected for the original encoding again, an encoded sphere index for the entire frame is obtained, or in case only high diffuseness frames have been selected for the original encoding again, an encoded sphere index for the entire frame is obtained. Figure 5a In case of a mixed diffuseness frame as indicated at 243 in , where a second coding mode such as with modelled entropy coding has been selected for other bands with low or medium diffuseness, the encoded sphere index is obtained only for the high diffuseness band of the frame.
[0195] Figure 5d This second coding mode, which can be used, for example, as a modeled entropy coding mode, is shown. The pre-processed index (which is, for example, classified for mixed diffuseness frames, such as Figure 5a The azimuth angles are input to a frame (shown at 240) into a block 266 which collects corresponding quantized data such as an elevation index, an elevation alphabet, an azimuth index, an azimuth alphabet, and the data is collected in separate vectors for the frame. In block 267, averages of elevation and azimuth are explicitly calculated based on information derived from dequantization and corresponding vector transformations as discussed subsequently. These averages are quantized by the highest angular precision used in the frame as indicated at block 268. As shown in block 269, predicted elevation and azimuth indices are generated from the averages, and the signed distances of the elevation and azimuth angles from the original indices and associated with the predicted elevation and azimuth indices are calculated and optionally reduced to another smaller interval of values.
[0196] like Figure 5e As shown in , the Figure 5d The data generated by the modeling operation of the projection operation of the predicted value shown in FIG. 1 is entropy encoded. Figure 5eThis encoding operation shown in finally produces coded bits according to the corresponding data. In block 271, the average values of the azimuth and elevation angles are converted into signed values, and a certain reordering 272 is performed to have a more compact representation, and these average values are encoded 273 by a binary code or a punctured binary code to produce an elevation average bit 274 and an azimuth average bit. In block 275, such as Figure 5f , and as shown at block 276, this parameter is then also encoded by a (punctured) binary code so as to have a Golomb-Rice parameter for elevation and another Golomb-Rice parameter for azimuth shown at 277. In block 278, the (reduced) signed distances calculated by block 270 are reordered and then encoded by an extended Golomb-Rice method as shown at 279 so as to have the encoded elevation distance and azimuth distance indicated at 280.
[0197] Figure 5f A preferred embodiment is shown for the determination of the Golomb-Rice parameters in block 275, which is performed for both the determination of the elevation Golomb-Rice parameters or the azimuth Golomb-Rice parameters. In block 281, intervals are determined for the corresponding Golomb-Rice parameters. In block 282, for each candidate value, the total number of bits for the total reduced signed distance is calculated, and in block 283, the candidate value that produces the least number of bits is selected as the Golomb-Rice parameter for either azimuth or elevation processing.
[0198] Then, discuss Figure 5g To further illustrate Figure 5e The process in box 279 of the method of FIG. 270 is an extended Golomb-Rice method. Based on the selected Golomb-Rice parameter p, the distance index for elevation or for azimuth is separated into the most significant part MSP and the least significant part LSP as shown on the right side of box 284. In box 285, in the case where MSP is the maximum possible value, the terminating zero bit of the MSP part is eliminated, and in box 286, the result is encoded by a (punctured) binary code.
[0199] The LSP part is also encoded by a (punctured) binary code, as shown at 287. Thus, on lines 288 and 289, the encoded bits of the most significant part MSP and the encoded bits of the least significant part LSP are obtained, which together represent the corresponding encoded reduced signed distance for the elevation angle or for the azimuth angle.
[0200] Figure 8d An example for the coded direction is shown. The mode bit 806 indicates, for example, an entropy coding mode with modeling. Figure 5eAs discussed in item 274 of , item 808a shows the azimuth average bit and item 808b shows the elevation average bit. Columbus-Rice azimuth parameter 808c and Columbus-Rice elevation parameter 808d are also included in encoded form in the corresponding content of what has been discussed previously with respect to item 277. Figure 8d The encoded elevation distance 808e and the encoded azimuth distance 808f are included as obtained at 288 and 289 or as previously described with respect to Figure 5e and Figure 5g Item 808g shows other payload bits for other elevation / azimuth distances. The elevation and azimuth averages and the elevation and azimuth Columbus-Rice parameters need only be calculated once per frame, but can be calculated twice for a frame if necessary, or if the frame is very long or the signal statistics vary strongly within a frame.
[0201] Figure 8c shows that when the mode bit indicates Figure 5c The mode bit 806 indicates the original encoding mode and item 808 indicates the bit stream used for the sphere index (i.e. Figure 5c The result of box 262) is the payload bits.
[0202] Entropy Coding of Directional Parameters
[0203] When encoding the quantized direction, the elevation index el_idx is always encoded first before the azimuth index az_idx. If the current configuration only considers the horizontal equatorial plane, no information is encoded for the elevation angle and it is considered zero everywhere.
[0204] Before encoding, signed values are mapped to unsigned values using a generic reordering transform that interleaves positive and negative numbers into unsigned numbers (e.g., u_val=2·|s_val|-(s_val<0)), which is implemented by the ReorderGeneric function. The expression (condition) evaluates to 1 if the condition is true, and evaluates to 0 if the condition is false.
[0205] Because multiple smaller unsigned values are more efficiently encoded with one less bit using the EncodeQuasiUniform function, both the elevation index and the azimuth index (which are already unsigned) are converted to signed so that a signed index value of zero corresponds to an elevation or azimuth of zero, and the ReorderGeneric function is applied only afterwards. By converting to signed first, the zero value is in the middle of the signed interval of possible values, and the resulting unsigned reordered elevation index value after applying the ReorderGeneric function is And the resulting unsigned reordered azimuth index value is az_idx_r = ReorderGeneric(az_idx - az_alph·(az_idx ≥ az_alph ÷ 2)).
[0206] For the original encoding without modeling, the two unsigned reordered indices are merged into a single unsigned sphere index sphere_idx=sphere_offsets(deg_req, el_idx_r)×az_idx_r, where the sphere_offsets function calculates the sum of all azimuth alphabets az_alph corresponding to the unsigned reordered elevation indices less than el_idx_r. For example, when deg_req=90, where el_idx_r=0 (elevation 0 degrees) has az_alph=4, el_idx_r=1 (elevation -90 degrees) has az_alph=1, and el_idx_r=2 (elevation 90 degrees) has az_alph=1, sphere_offsets(90,2) will take the value 4+1. If the current configuration considers only the horizontal equatorial plane, el_idx_r is always 0 and the unsigned sphere index simplifies to sphere_idx=az_idx_r. Generally speaking, the total number of points on the sphere, or the count of sphere points, is sphere_alph=sphere_offsets(deg_req, el_alph+1).
[0207] The unsigned sphere index shpere_idx is encoded using the EncodeQuasiUniform function. For entropy coding with modeling, the quantized directions are grouped into two categories. The first category contains quantized directions for entropy-coded diffuseness index diff_idx(b)≤ec_max, and the second category contains quantized directions for originally encoded diffuseness index diff_idx(b)>ec_matx, where ec_max is a threshold that depends on the best choice of diff_alph. When bands with low to medium diffuseness are also present in the frame, the method implicitly does not include entropy coding for bands with high diffuseness to avoid mixed residual statistics. For mixed diffuseness frames, the original coding is always used for bands with high diffuseness. However, if all bands have high diffuseness diff_idx(b)>ec_max, the threshold is pre-set to ec_max=diff_alph to enable entropy coding for all bands.
[0208] For the first category of entropy encoded quantized directions, the corresponding elevation index el_idx, elevation alphabet el_alph, azimuth index az_idx, and azimuth alphabet az_alph are collected into separate vectors for further processing.
[0209] The average direction vector is derived by converting each entropy-coded quantized direction back to a direction vector, calculating the average, median or mode of the direction vectors (including renormalization), and converting the average direction vector into average elevation angle el_avg and azimuth angle az_avg. These two values are quantized using the best angular precision deg_req used by the entropy-coded quantized direction denoted as deg_req_avg, which is typically the required angular precision corresponding to the minimum diffuseness index min(diff_idx(b)) for b∈{0, ..., nbands-1} and diff_idx(b)≤ec_max.
[0210] el_avg is quantized normally using the corresponding n_points_avg value derived from deg_req_avg, resulting in el_avg_idx and el_avg_alph, whereas az_avg is quantized using the precision at the equator, resulting in az_avg_idx and az_avg_alph = 4·n_points_avg.
[0211] For each direction to be entropy coded, the dequantized average elevation angle q_el_avg and azimuth angle q_az_avg are projected using the precision of the direction to obtain the predicted elevation and azimuth indices. For the elevation index el_idx, its precision (which can be derived from el_alph) is used to calculate the projected average elevation index el_avg_idx_p. For the corresponding azimuth index az_idx, its precision on the horizontal circle at the q_el elevation angle (which can be derived from az_alph) is used to calculate the projected average azimuth index az_avg_idx_p.
[0212] The projection to obtain the predicted elevation and azimuth indices can be calculated in several equivalent ways. For elevation, It can be easily simplified to To facilitate bit-accurate operation, the previous formula can be rewritten using only integer math (including division) as el_avg_idx_p = (2·el_avg_idx·(el_alph-1)+(el_apg_alph-1))div(2·(el_avg_alph-1)). For the azimuth angle, It can be easily simplified to To facilitate bit-accurate operation, the previous formula can be rewritten as az_avg_idx_p=((2·az_avg_idx·az_alph+az_avg_alph)div(2·az_avg_alph))modaz_alph using only integer math (including division). At the poles, where az_alph=1, we always have az_idx=0 and directly set az_avg_idx_p=0.
[0213] The signed distance el_idx_dist is calculated as the difference between each elevation index el_idx and its corresponding el_avg_idx_p. In addition, since the difference produces a value in the interval {-el_alph+1, ..., el_alph-1}, it is reduced to the interval {-el_alph+1, ..., el_alph-1} by adding el_alph for too small values and subtracting el_alph for too large values as in the modulo operation. If this reduced distance relative to el_avg_idx_p is interpreted using wrap-around, it can produce all values from the unsigned alphabet containing el_alph values.
[0214] Similarly, the signed distance az_idx_dist is calculated as the difference between each azimuth index az_idx and its corresponding az_avg_idx_p. The difference operation produces a value in the interval {-az_alph+1, ..., az_alph-1}, which is reduced to the interval {-az_alph÷2, ..., az_alph÷2-1} by adding az_alph for too small values and subtracting az_alph for too large values. When az_alph=1, the azimuth index is always az_idx=0 and nothing needs to be encoded.
[0215] Depending on their values, the quantized elevation and azimuth indices can be encoded using one of two available methods: raw encoding or entropy encoding. The first bit (dir_use_raw_coding) indicates whether the raw encoding method is used. For raw encoding, the merged sphere_index single unsigned sphere index is directly encoded using the EncodeQuasiUniform function.
[0216] The entropy coding consists of several parts. All quantized elevation and azimuth indices corresponding to diffuseness index diff_idx(b)>ec_max are coded similarly to the original coding. Then, for the others, the elevation part is entropy coded first, followed by the azimuth part.
[0217] The elevation part consists of three components: the average elevation index, the Golomb-Rice parameter, and the reduced signed elevation distance. The average elevation index el_avg_idx is converted to signed so that the zero value is in the middle of the signed interval of possible values, the ReorderGeneric function is applied, and the result is encoded using the EncodeQuasiUniform function. The Golomb-Rice parameter is encoded using the EncodeQuasiUniform function, which has an alphabet size that depends on the maximum value of the alphabet size of the elevation index. Finally, for each reduced signed elevation distance el_idx_dist, the ReorderGeneric function is applied to generate el_idx_dist_r, and the result is encoded using the extended Golomb-Rice method with the parameters indicated above.
[0218] For example, if the optimal angle accuracy used, deg_req_min, is 5 degrees, then the maximum value of the elevation alphabet size, el_alph, will be In this case, the value of the Golomb-Rice parameter (denoted as p in the following description of the Golomb-Rice method) is restricted to the interval {0, 1, 2, 3, 4}. In general, the maximum potential applicable value of the Golomb-Rice parameter is It uses the EncodeQuasiUniform function to produce a binary codeword of length equal to or slightly longer than that produced by the original encoding. The optimized value of the Golomb-Rice parameter el_gr_param is selected by efficiently calculating the total size in bits of all el_idx_dist_r values to be encoded using the extended Golomb-Rice method for each value in the above interval without encoding and selecting the value that provides the minimum bit size.
[0219] The azimuth part also consists of three components: the average azimuth index, the Golomb-Rice parameters, and the reduced signed azimuth distance. The average azimuth index az_avg_idx is converted to signed so that the zero value is in the middle of the signed interval of possible values, the ReorderGeneric function is applied, and the result is encoded using the EncodeQuasiUniform function. The Golomb-Rice parameters are encoded using the EncodeQuasiUniform function with an alphabet size that has a maximum value depending on the alphabet size of the azimuth index. Finally, for each reduced signed azimuth distance az_idx_dist, the ReorderGeneric function is applied to produce az_idx_dist_r, and the result is encoded using the extended Golomb-Rice method with the parameters indicated above.
[0220] For example, if the optimal angular accuracy used, deg_req_min, is 5 degrees, then the maximum value of the azimuth alphabet size, az_alph, will be In this case, the Golomb-Rice parameter values (denoted as p in the following description of the Golomb-Rice method) are restricted to the interval {0, 1, 2, 3, 4, 5}. The optimized value of the Golomb-Rice parameter is selected by effectively calculating the total size in bits of all az_idx_dist_r values to be encoded using the extended Golomb-Rice method for each value in the above interval and selecting the value that provides the minimum bit size.
[0221] An important property to consider for efficient entropy coding is that each reordered reduced elevation distance el_idx_dist_r can have a different alphabet size, which is exactly the el_alph of the original elevation index value el_idx and depends on the corresponding diffuseness index diff_idx(b). In addition, each reordered reduced azimuth distance az_idx_dist_r can have a different alphabet size, which is exactly the az_alph of the original azimuth index value az_idx and depends on the corresponding q_el of its horizontal circle and the diffuseness index diff_idx(b).
[0222] The existing Golomb-Rice entropy coding method is used to encode an unsigned integer u when the integer parameter p ≥ 0. First, u is split into the least significant part u_lsp = u mod 2 with p bits. p and the most significant part The most significant part is encoded in unary using u_msp 1 bits and a terminating zero bit, and the least significant part is encoded in binary.
[0223] Since arbitrarily large integers can be encoded, some coding efficiency may be lost when the actual value to be encoded has a known and relatively small alphabet size. Another disadvantage is that out-of-range or invalid values may be decoded in the event of transmission errors or intentionally created invalid bit streams, or an extremely large number of 1 bits may be read.
[0224] The extended Golomb-Rice method combines three improvements over the existing Golomb-Rice method to encode vectors of values, each with a known and potentially different alphabet size u_alph. First, the alphabet size of the most significant part can be calculated as If the maximum possible value of the most significant part is encoded as (u_msp_alph-1), the terminating zero bit can be eliminated because this condition can be implicitly detected at the decoder side, modifying the existing limited Golomb-Rice method. In addition, for the same case when u_msp=u_msp_alph-1, the alphabet size u_lsp of the least significant part (which can be calculated as u_alph-(u_msb_alph-1)·2 p ) may be less than 2 p , allowing the use of the EncodeQuasiUniform function instead of a binary encoding with P bits. p This also applies when u_alph is an alphabet of length p. Finally, when u_msp_alph ≤ 3, the finite Golomb-Rice method produces codes of only one length of p or p+1 bits, or codes of only two lengths of p+1 and p+2 bits. The EncodeQuasiUniform function is optimal for at most two lengths, so it is used instead.
[0225] Threshold 3 is a particularly preferred value because when u_msp_alph=3, the finite Golomb-Rice codewords for the most significant part are 0, 10, 11; therefore, the total length of the code is 1+p, 2+p, and 2+p, where p is the number of bits used for the least significant part; because the punctured code is always optimal for at most two lengths, it is used instead, replacing the most and least significant parts.
[0226] Furthermore, it will be outlined that the function EncodeQuasiUniform is exactly a punctured code, which implicitly becomes a binary code when the alphabet size is a power of two. In general, the punctured code is optimal and uniquely determined given the alphabet size; it produces codes of only one or two lengths; for 3 or more consecutive code lengths, the possible codes are no longer non-quasi-uniform, and there are different choices for the number of possible codes for each length.
[0227] The invention is not limited to the exact description above. Alternatively, the invention can be easily extended in the form of an inter-frame predictive coding scheme, where for each parameter band, an average direction vector is calculated temporally from the current frame and optionally also from previous frames using previous direction vectors, instead of calculating a single average direction vector for all current frames and quantizing and encoding it as auxiliary information. This solution will have the advantage of being more efficient in coding, but less robust against possible packet losses.
[0228] Figure 6a to Figure 6g Other processes performed in the encoder as discussed previously are shown. Figure 6a A general overview of a parameter quantizer 210 consisting of a quantize elevation function 210a, a quantize azimuth function 210b, and a dequantize elevation function 210c is shown. Figure 6a The preferred embodiment of 210 shows a parameter quantizer with an azimuth function 210c that depends on a quantized and then dequantized elevation value q_el.
[0229] Figure 6c As has been shown before for Figure 6a The corresponding dequantizer for the elevation angle discussed for the encoder. However, Figure 6b The embodiments also apply to Figure 8a The dequantizer shown in item 840 of . Based on the dequantization accuracy deg_req, the elevation angle index on the one hand and the azimuth angle index on the other hand are dequantized in order to finally obtain a dequantized elevation angle value q_e1 and a dequantized azimuth angle value q_az. Figure 6c The first coding mode is shown, that is, Figure 5c The original encoding mode discussed in items 260 to 262. Figure 6c In addition, it shows Figure 5b The preprocessing discussed in FIG. 1 is performed, which shows the conversion of the elevation data to signed values at 247a and the corresponding conversion of the azimuth data to signed values at 247b. Reordering is performed for elevation as indicated at 248a and for azimuth as indicated at 248b. A sphere point counting process is performed in block 248c to calculate the sphere alphabet based on the quantization or dequantization precision. In block 261, a merge of the two indices into a single sphere index is performed, and encoding in block 262 is performed by binary or punctured binary code, where in addition to the sphere index, the sphere alphabet is also represented as shown in FIG. Figure 5c The sphere alphabet for the corresponding solution quantization precision is derived as shown in .
[0230] Figure 6dThe process for entropy coding mode with modeling is shown. In item 267a, the dequantization of azimuth and elevation data is performed based on the corresponding index and dequantization precision. The dequantized value is input into box 267b to calculate the direction vector according to the dequantized value. In box 267c, average is performed for the vector with the associated diffusion index below the corresponding threshold value to obtain the average vector. In box 267d, the direction average direction vector is converted back into the elevation average value and the azimuth average value again, and then these values are quantized using the highest accuracy as determined by box 268e. This quantization is shown at 268a, 268b, and quantization produces the corresponding quantized index and quantization alphabet, wherein the alphabet is determined by means of the quantization precision of the average value. In boxes 268c and 268d, dequantization is performed again to obtain the dequantized average value of elevation and azimuth.
[0231] exist Figure 6e In block 269a, the average projected elevation angle is calculated and in block 269b the average projected azimuth angle is calculated, i.e. Figure 6e Shows Figure 5d A preferred embodiment of block 269 of FIG. Figure 6e As shown in , blocks 269a, 269b preferably receive the quantized and re-dequantized averages of the elevation and azimuth angles. Alternatively, projection can also be performed directly on the output of block 267d, although the process with quantization and re-dequantization is preferred for higher accuracy and higher compatibility with the states at the encoder and decoder sides.
[0232] exist Figure 6f In the preferred embodiment, the Figure 5d In blocks 278a, 278b, the corresponding difference or "distance" (e.g., in Figure 5d A corresponding interval reduction is performed in box 270c for elevation data and in box 270d for azimuth data. After the reordering in boxes 270e, 270f, the obtained Figure 5e to Figure 5g The Extended Columbus-Rice encoded data is discussed.
[0233] Figure 6g Additional details are shown regarding the process performed to generate the encoded bits for elevation averaging and azimuth averaging. Boxes 271a and 271b show the conversion of the elevation and azimuth average data to signed data, and then the ReorderGeneric function is shown for both data in boxes 272a and 272b. Items 273a and 273b show encoding the data using a (punctured) binary code, such as the encoding quasi-uniform function described above.
[0234] Figure 7a A decoder for decoding an encoded audio signal comprising encoded directional audio coding parameters according to a first aspect is shown, the encoded directional audio coding parameters comprising encoded diffuseness parameters and encoded direction parameters. The device comprises a parameter processor 300 for decoding the encoded directional audio coding parameters to obtain decoded diffuseness parameters with a first time or frequency resolution and decoded direction parameters with a second time or frequency resolution. The parameter processor 300 is connected to a parameter resolution converter 710, which is used to convert the decoded diffuseness parameters or the decoded direction parameters into converted diffuseness parameters or converted direction parameters. Alternatively, as shown by the hedged line, the parameter resolution converter 710 may have performed parameter resolution processing on the encoded parameter data, and the converted encoded parameters are sent from the parameter resolution converter 710 to the parameter processor 300. In this latter case, the parameter processor 300 then directly feeds the processed (i.e. decoded) parameters to the audio renderer 420. However, it is preferred to perform parameter resolution conversion on the decoded diffuseness parameter and the decoded direction parameter.
[0235] The decoded direction and diffuseness parameters, when they are provided to the audio renderer 420 , typically have a third or fourth time or frequency resolution that is higher than the resolution inherent in these parameters when they are output by the parameter processor 300 .
[0236] The parameter resolution converter 710 is configured to perform different parameter resolution conversions on the decoded diffuseness parameter and the decoded direction parameter, because the inherent time or frequency resolutions of the decoded diffuseness parameter and the decoded direction parameter are different from each other, and the decoded diffuseness parameter generally has a lower time or frequency resolution than the decoded direction parameter. Figure 3a to Figure 3c As discussed, the highest resolution used by the audio renderer 420 is Figure 3b The resolution shown in Figure 3c The medium resolution shown in is the resolution inherent in the decoded direction parameters, and the low resolution inherent in the decoded diffuseness parameters is Figure 3b The resolution shown in .
[0237] Figure 3a to Figure 3cOnly examples of three very specific time or frequency resolutions are shown. Any other time or frequency resolution having the same trend as high time or frequency resolution, medium resolution and low resolution can also be applied by the present invention. When a time or frequency resolution and another time or frequency resolution both have the same frequency resolution but different time resolutions, the time or frequency resolution is lower than the other time or frequency resolution, or vice versa, as already described in Figure 3b and Figure 3c In this example, the frequency resolution is Figure 3b and Figure 3c is the same as in Figure 3c The higher the Figure 3c Shows medium resolution Figure 3b Low resolution is shown.
[0238] The result of the audio renderer 420 operating at the third or fourth highest time or frequency resolution is then forwarded to the spectrum / time converter 440, which then produces the spectrum / time converter as previously described with respect to Figure 1b The time domain multi-channel audio signal 450 discussed. The spectrum / time converter 440 converts the data from the spectrum domain as generated by the audio renderer 420 to the time domain on line 450. For a frame, the spectrum domain on which the audio renderer 420 operates includes a first number of time slots and a second number of frequency bands. The frame includes a number of time segments / frequency bands equal to the multiplication result of the first number and the second number, wherein the first number and the second number define a third time or frequency resolution, i.e., a high time or frequency resolution.
[0239] The resolution converter 710 is configured to generate multiple (at least four) diffuseness parameters based on the diffuseness parameters associated with the first time or frequency resolution, wherein two of the diffuseness parameters are used for time periods / frequency bands that are adjacent in time, and the other two of the at least four diffuseness parameters are used for time periods / frequency bands that are adjacent to each other in frequency.
[0240] Since the time or frequency resolution of the diffusivity parameters is lower than the time or frequency resolution of the direction parameters, the parameter resolution converter is configured to generate a first number of converted diffusivity parameters for the decoded diffusivity parameters and a second number of converted direction parameters for the decoded direction parameters, wherein the second number is higher than the first number.
[0241] Figure 7bThe preferred process performed by the parameter resolution converter is shown. In box 721, the parameter resolution converter 710 obtains the diffuseness / direction parameters for the frame. In box 722, the diffuseness parameter repetition or replication operation to at least four high-resolution time segments / frequency bands is performed. In box 723, the repeated parameters in the high-resolution representation are subjected to optional processing such as smoothing or low-pass filtering. In box 724, the high-resolution parameters are applied to the corresponding audio data in the corresponding high-resolution time segments / frequency bands.
[0242] Figure 8a A preferred embodiment of a decoder for decoding an encoded audio signal according to the first aspect is shown, the encoded audio signal comprising encoded directional audio coding parameters, the encoded directional audio coding parameters comprising encoded diffuseness parameters and encoded direction parameters. The encoded audio signal is input into an input interface. The input interface 800 receives the encoded audio signal and usually separates the encoded diffuseness parameters and the encoded direction parameters from the encoded audio signal in a frame-by-frame manner. The data is input into a parameter decoder 820, which generates quantized diffuseness parameters and quantized direction parameters based on the encoded parameters, wherein the quantized direction parameters are, for example, azimuth indexes and elevation indexes. The data is input into a parameter dequantizer 840, which is used to determine dequantized diffuseness parameters and dequantized direction parameters based on the quantized diffuseness parameters and the quantized direction parameters. This data may then be used to convert one audio format into another, or may be used to render the audio signal into a multi-channel signal or in any other representation, such as an ambisonic representation, an MPS representation or a SAOC representation.
[0243] The dequantized parameters output by block 840 may be input to the Figure 7a In the optional parameter resolution converter discussed at block 710, the converted or unconverted parameters may be input to Figure 8a When the encoded audio signal further comprises an encoded transport signal, the input interface 800 is configured to separate the encoded transport signal from the encoded audio signal and feed the data into the previously described audio renderer 420, 440. Figure 8b The result is input to the time-spectrum converter 430, and then fed into the audio renderer 420. Figure 1b When implemented as shown in , use Figure 1b The synthesis filter bank 440 is used to perform the conversion to the time domain.
[0244] Figure 8bA portion of an encoded audio signal is shown which is typically organized in a bitstream indicating the encoded diffuseness parameter. The diffuseness parameter has preferably been combined with a bitstream for indicating the diffuseness parameter. Figure 8b The two mode bits 802 of the three different modes shown in and discussed previously are associated. The encoded data for the spread parameter includes payload data 804.
[0245] As discussed previously, in Figure 8c and Figure 8d The portion of the bitstream used for the direction parameter is shown in Figure 8c shows the situation when the original encoding mode has been selected and Figure 8d A situation is shown where a mode of decoding with modeled entropy has been selected / indicated by a mode bit or mode flag 806 .
[0246] Figure 8a The parameter decoder 820 is configured to decode the dispersion payload data of the time / frequency region as indicated in block 850, and in a preferred embodiment the time / frequency region is a time / frequency region with a low resolution. In block 851, the dequantization accuracy of the time / frequency region is determined. Based on the dequantization accuracy, Figure 8e Block 852 shows decoding and / or dequantizing the directional parameter using the dequantization precision that is the same for the time / frequency region associated with the diffuseness parameter. Figure 8e The output of is a time / frequency region (e.g., Figure 3c A set of decoded directional parameters for one frequency band in the frame), i.e., in the example shown, four directional parameters for one frequency band in the frame.
[0247] Figure 8f The decoder (and specifically Figure 8a 820 and parameter dequantizer 840). Regardless of whether the dequantization accuracy is determined based on the diffuseness parameter or is otherwise explicitly signaled or determined somewhere, block 852a indicates that the elevation alphabet is determined based on the signaled dequantization accuracy for the time / frequency region. In block 852b, the elevation data is decoded using the elevation alphabet for the time / frequency region and optionally dequantized to obtain dequantized elevation parameters at the output of block 852b. In block 852c, the azimuth alphabet for the time / frequency region is determined based not only on the dequantization accuracy from block 851 but also on the quantized or dequantized elevation data to reflect the previously determined elevation alphabet for the time / frequency region. Figure 4d In block 852d, decoding through the azimuth alphabet and optionally dequantizing the azimuth data is performed for the time / frequency region.
[0248] The invention according to the second aspect preferably combines these two features, but the two features (i.e. Figure 8a One of or Figure 8f Another one in ) can also be applied independently of each other.
[0249] Figure 8g The difference between the original decoding mode and the modeled decoding mode (as shown by Figure 8c and Figure 8d When raw decoding is to be applied, the sphere index of the frequency band is decoded as indicated at 862, and the quantized azimuth / elevation parameters of the frequency band are calculated from the decoded sphere index as indicated at block 864.
[0250] When decoding with modeling is indicated by the mode bit 806, then the average of the azimuth / elevation data in the band / frame is decoded as indicated by block 866. In block 868, the distance of the azimuth / elevation information in the band is decoded, and in block 870, the corresponding quantized elevation and azimuth parameters are calculated, typically using an addition operation.
[0251] Regardless of whether the original decoding mode or the modeled decoding mode is used, the decoded azimuth / elevation index is the same as Figure 8a 840 in FIG. 872 and the result may be converted to Cartesian coordinates for the frequency band in block 874. Alternatively, when the azimuth and elevation data may be used directly in an audio renderer, no such conversion in block 874 is required. In any case, if a conversion to Cartesian coordinates is performed, any potentially used parameter resolution conversion may be applied before or after the conversion.
[0252] Subsequently, reference is also made to additional preferred embodiments of the decoder. Figures 9a to 9c . Figure 9a The decoding operation shown in block 862 is shown. Figure 8e or Figure 8f The dequantization precision determined at block 851 in block 248c is used to perform the function sphere point count in order to determine the actual sphere alphabet that has also been applied during encoding. The bits for the sphere index are decoded at block 862 and as shown at 864a and Figure 9a As given in more detail in FIG. 8 , the bits are decomposed into two indices. Reordering functions 864b, 864c and corresponding conversion functions in blocks 864d and 864e are performed to ultimately obtain an elevation index, an azimuth index and a corresponding alphabet for performing Figure 8g Subsequent dequantization in box 872 of .
[0253] Figure 9b The corresponding process for another decoding mode (i.e., the decoding mode with modeling) is shown. In block 866a, the dequantization accuracy for averaging is calculated as has been discussed previously on the encoder side. The alphabet is calculated in blocks 866b and 866c and 866d, the decoding Figure 8d The reordering functions 866e, 866f are performed in subsequent conversion operations 866g, 866h to undo or emulate the corresponding operations performed on the encoder side.
[0254] Fig.9c Also shown is the complete dequantization operation 840 in the preferred embodiment. Block 852a determines if Figure 8f The elevation alphabet discussed above is also calculated, and the corresponding calculation of the azimuth alphabet is also performed in block 852c. The projection calculation operations 820a, 820e are also performed for the elevation and azimuth angles. The reordering process for the elevation angles 820b and azimuth angles 820f is also performed and the corresponding addition operations 820c, 820g are also performed. The corresponding interval reduction is also performed for the elevation angles in block 820d and for the azimuth angles in block 820h, and the dequantization of the elevation angles is performed in blocks 840a and 840b. Fig.9c The process shown implies a specific order, ie, in a preferred embodiment of the invention the elevation data is processed first and based on the dequantized elevation data, decoding and dequantization of the azimuth data is performed.
[0255] Next, the benefits and advantages of the preferred embodiments are summarized as follows:
[0256] • Efficiently encode the spatial metadata generated by DirAC without compromising the generality of the model. This is a key enabling point for integrating DirAC into low-bitrate coding schemes.
[0257] • Grouping and averaging of direction and diffuseness parameters with different temporal (or optionally different frequency) resolutions: diffuseness is averaged over a longer time than direction, since diffuseness preserves longer term properties of the sound field, which is a more reactive spatial cue, than direction.
[0258] Quasi-uniform dynamic coverage of a 3D sphere, complete symmetry about the X, Y and Z coordinate axes, and any desired angular resolution is possible.
[0259] • Quantization and dequantization operations are of constant complexity (no search for the nearest code vector is required).
[0260] • The encoding and decoding of one quantized point index has constant or at most logarithmic complexity with respect to the total number of quantized points on the sphere.
[0261] • The worst case entropy encoding size of all DirAC spatial metadata for a frame is always limited to only 2 bits more than the original encoding size.
[0262] • Extended Golomb-Rice coding method, which is optimal for encoding vectors of symbols with potentially different alphabet sizes.
[0263] • Use the average direction for efficient entropy coding of the direction, mapping the quantized average direction from the highest resolution to each azimuth and elevation resolution.
[0264] For mixed diffusivity frames, always use the original encoding for directions with high diffusivity above a predefined threshold.
[0265] • Use angular resolution for each direction according to its corresponding diffuseness.
[0266] A first aspect of the invention relates to processing diffuseness parameters and directional parameters with first and second time or frequency resolutions and subsequent quantization and encoding of these values. This first aspect further relates to grouping of parameters with different time / frequency resolutions. Further aspects relate to performing amplitude measurement related weighting within groupings, and further further aspects relate to weighting for averaging and grouping of directional parameters using corresponding diffuseness parameters as the basis for corresponding weights. The above aspects are also described and detailed in the claim set.
[0267] A second aspect of the invention, which is described in more detail subsequently in the attached set of examples, relates to performing quantization and encoding. This aspect may be performed without the features outlined in the first aspect or may be used together with corresponding features detailed in the first aspect.
[0268] Therefore, all the different aspects detailed in the set of claims and examples and in the different dependent claims and examples of the claims can be used independently of each other or can be used together, and for the most preferred embodiment, it is particularly preferred to use all aspects of the set of claims and the set of examples together.
[0269] The collection of examples includes the following examples:
[0270] 1. An apparatus for encoding directional audio coding parameters including diffuseness parameters and direction parameters, comprising:
[0271] a parameter calculator (100) for calculating the diffusivity parameter with a first time or frequency resolution and for calculating the directional parameter with a second time or frequency resolution; and
[0272] A quantizer and encoder processor (200) is provided for producing quantized and encoded representations of the diffuseness parameter and the directional parameter.
[0273] 2. An apparatus according to Example 1, wherein the parameter calculator (100) is configured to calculate the diffusion parameter and the direction parameter so that the second time or frequency resolution is different from the first time or frequency resolution.
[0274] 3. An apparatus according to Example 1 or 2, wherein the parameter calculator (100) is configured to calculate the diffusion parameter and the direction parameter so that the first time resolution is lower than the second time resolution, or the second frequency resolution is higher than the first frequency resolution, or the first time resolution is lower than the second time resolution and the first frequency resolution is equal to the second frequency resolution.
[0275] 4. The device according to one of the preceding examples,
[0276] The parameter calculator (100) is configured to calculate the diffuseness parameter and the directional parameter for a set of frequency bands, wherein frequency bands with lower center frequencies are narrower than frequency bands with higher center frequencies.
[0277] 5. The device according to one of the preceding examples,
[0278] wherein the parameter calculator (100) is configured to obtain an initial diffusion parameter with a third time or frequency resolution and to obtain an initial direction parameter with a fourth time or frequency resolution, and
[0279] wherein the parameter calculator (100) is configured to group and average the initial diffusivity parameters so that the third time or frequency resolution is higher than the first time or frequency resolution, or
[0280] The parameter calculator (100) is configured to group and average the initial direction parameters so that the fourth time or frequency resolution is higher than the second time or frequency resolution.
[0281] 6. The apparatus according to example 5,
[0282] Wherein the third time or frequency resolution and the fourth time or frequency resolution are equal to each other.
[0283] 7. The apparatus according to example 5 or 6,
[0284] wherein the third time resolution or frequency resolution is a constant time resolution or frequency resolution, such that each initial diffuseness parameter is associated with a time slot or frequency bin having the same size, or
[0285] wherein the fourth time or frequency resolution is a constant time or frequency resolution such that each initial direction parameter is associated with a time slot or frequency bin having the same size, and
[0286] wherein the parameter calculator (100) is configured to average a first plurality of diffuseness parameters associated with a first plurality of time slots, or
[0287] wherein the parameter calculator (100) is configured to average a second plurality of diffuseness parameters associated with a second plurality of frequency bands, or
[0288] wherein the parameter calculator (100) is configured to average a third plurality of directional parameters associated with a third plurality of time slots, or
[0289] The parameter calculator (100) is configured to average a fourth plurality of directional parameters associated with a fourth plurality of frequency bands.
[0290] 8. The apparatus according to any one of Examples 5 to 7,
[0291] The parameter calculator (100) is configured to perform the averaging using a weighted average, wherein diffuseness parameters or directional parameters derived from input signal portions having higher amplitude correlation measures are weighted using a higher weighting factor than diffuseness parameters or directional parameters derived from input signal portions having lower amplitude correlation measures.
[0292] 9. The apparatus according to example 8,
[0293] The amplitude-related measure is the power or energy in a time portion or a frequency portion, or the power or energy in the time portion or the frequency portion indexed by a non-negative real number equal to or different from 1.
[0294] 10. The apparatus according to any one of Examples 5 to 9,
[0295] The parameter calculator (100) is configured to perform the averaging so that the diffuseness parameter or the directional parameter is normalized for an amplitude-related measure derived from a time portion of the input signal corresponding to the first time or frequency resolution or the second time or frequency resolution.
[0296] 11. The apparatus according to any one of Examples 5 to 9,
[0297] The parameter calculator (100) is configured to group and average the initial directional parameters using weighted averaging, wherein the first directional parameters associated with a first time portion having a first diffusivity parameter indicating a lower diffusivity are weighted more strongly than the second directional parameters associated with a second time portion having a second diffusivity parameter indicating a higher diffusivity.
[0298] 12. The device according to one of the preceding examples,
[0299] wherein the parameter calculator (100) is configured to calculate the initial direction parameters such that the initial direction parameters each comprise a Cartesian vector having a component for each of two or three directions, and wherein the parameter calculator (100) is configured to perform the averaging individually on each individual component of the Cartesian vector, or wherein the components are normalized such that the sum of the squared components of the Cartesian vector for a direction parameter is equal to the unit element.
[0300] 13. The apparatus of one of the preceding examples, further comprising:
[0301] a time-frequency decomposer for decomposing an input signal having a plurality of input channels into a time-frequency representation for each input channel, or
[0302] Wherein the time-frequency decomposer is configured for decomposing the input signal having a plurality of input channels into a time-frequency representation for each input channel having the third time or frequency resolution or the fourth time or frequency resolution.
[0303] 14. The device according to one of examples 6 to 13,
[0304] The time-frequency decomposer comprises a complex-valued modulation filter bank generating each sub-band signal, wherein each sub-band signal has a plurality of time slots per frame and per frequency band.
[0305] 15. The device according to one of the preceding examples,
[0306] Wherein the apparatus is configured to associate an indication of the first time or frequency resolution or the second time or frequency resolution to the quantized and encoded representation for transmission to a decoder or for storage.
[0307] 16. An apparatus according to one of the preceding examples, wherein the quantizer and encoder processor (200) for generating quantized and encoded representations of the diffuseness parameter and the directional parameter comprises a parameter quantizer for quantizing the diffuseness parameter and the directional parameter and a parameter encoder for encoding the quantized diffuseness parameter and the quantized directional parameter.
[0308] 17. A method for encoding directional audio coding parameters including a diffuseness parameter and a direction parameter, comprising:
[0309] calculating the diffusivity parameter with a first time or frequency resolution and calculating the directional parameter with a second time or frequency resolution; and
[0310] Quantized and encoded representations of the diffuseness parameter and the directional parameter are generated.
[0311] 18. A decoder for decoding an encoded audio signal comprising directional audio coding parameters, the directional audio coding parameters comprising an encoded diffuseness parameter and an encoded direction parameter, the decoder comprising:
[0312] a parameter processor (300) for decoding the encoded directional audio coding parameters to obtain decoded diffuseness parameters having a first time or frequency resolution and decoded direction parameters having a second time or frequency resolution; and
[0313] A parameter resolution converter (710) for converting an encoded or decoded diffuseness parameter or an encoded or decoded direction parameter into a converted diffuseness parameter or a converted direction parameter having a third time or frequency resolution, the third time or frequency resolution being different from the first time or frequency resolution or the second time or frequency resolution, or different from the first time or frequency resolution and the second time or frequency resolution.
[0314] 19. The decoder according to Example 18 further includes an audio renderer (420) operating in a spectral domain, wherein, for a frame, the spectral domain includes a first number of time slots and a second number of frequency bands, so that the frame includes a plurality of time periods / frequency bands equal to the multiplication result of the first number and the second number, wherein the first number and the second number define the third time or frequency resolution.
[0315] 20. The decoder according to Example 18 or 19 further includes an audio renderer (420) operating in a spectral domain, wherein, for a frame, the spectral domain includes a first number of time slots and a second number of frequency bands, so that the frame includes a plurality of time periods / frequency bands equal to the multiplication result of the first number and the second number, wherein the first number and the second number define a fourth time-frequency resolution, wherein the fourth time or frequency resolution is equal to or higher than the third time or frequency resolution.
[0316] 21. The decoder according to one of Examples 18 to 20,
[0317] wherein the first time or frequency resolution is lower than the second time or frequency resolution, and
[0318] The parameter resolution converter (710) is configured to generate a first number of converted diffusivity parameters based on the decoded diffusivity parameters and to generate a second number of converted direction parameters based on the decoded direction parameters, wherein the second number is greater than the first number.
[0319] 22. The decoder according to one of Examples 18 to 21,
[0320] wherein the encoded audio signal comprises a sequence of frames, wherein each frame is organized in frequency bands, wherein each frame comprises only one encoded diffuseness parameter per frequency band and comprises at least two time-series directional parameters per frequency band, and
[0321] wherein the parameter resolution converter (710) is configured to associate the decoded diffuseness parameter with all time segments in the frequency band or with each time segment / frequency segment in the frequency band included in the frame, and
[0322] One of the at least two directional parameters of the frequency band is associated with a first group of time periods and each time period / frequency segment included in the frequency band, and a second decoded directional parameter of the at least two directional parameters is associated with a second group of time periods and each time period / frequency segment included in the frequency band, wherein the second group does not include any time period in the first group.
[0323] 23. The decoder of one of Examples 18 to 22, wherein the encoded audio signal comprises an encoded audio transport signal, wherein the decoder comprises:
[0324] an audio decoder (340) for decoding the encoded audio transport signal to obtain a decoded audio signal, and
[0325] A time / frequency converter (430) is provided for converting the decoded audio signal into a frequency representation having the third time or frequency resolution.
[0326] 24. The decoder of one of Examples 18 to 23, comprising:
[0327] an audio renderer (420) for applying the converted diffuseness parameter and the converted direction parameter to a spectral representation of an audio signal in the third time or frequency resolution to obtain a synthesized spectral representation; and
[0328] A spectrum / time converter (440) is used to convert the synthesized spectrum representation in the third time or frequency resolution or the fourth time or frequency resolution to obtain a synthesized time-domain spatial audio signal with a time resolution higher than the third time or frequency resolution.
[0329] 25. The decoder according to one of Examples 18 to 24,
[0330] The parameter resolution converter (710) is configured to repeat a decoded direction parameter using a copy operation or to repeat a decoded diffuseness parameter using a copy operation, or to smooth or low pass filter a set of repeated direction parameters or a set of repeated diffuseness parameters.
[0331] 26. The decoder according to one of Examples 18 to 25,
[0332] The second time or frequency resolution is different from the first time or frequency resolution.
[0333] 27. The decoder according to one of Examples 18 to 26,
[0334] The first time resolution is lower than the second time resolution, or the second frequency resolution is higher than the first frequency resolution, or the first time resolution is lower than the second time resolution and the first frequency resolution is equal to the second frequency resolution.
[0335] 28. The decoder according to one of Examples 18 to 27,
[0336] The parameter resolution converter (710) is configured to repeat the decoded diffuseness parameter and the decoded directional parameter into a corresponding number of frequency-adjacent converted parameters for a set of frequency bands, wherein frequency bands with lower center frequencies receive fewer repeated parameters than frequency bands with higher center frequencies.
[0337] 29. The decoder according to one of Examples 18 to 28,
[0338] wherein the parameter processor (300) is configured to decode, for a frame of the encoded audio signal, an encoded diffuseness parameter to obtain a quantized diffuseness parameter for the frame, and wherein the parameter processor (300) is configured to use the quantized or dequantized diffuseness parameter to determine a dequantization accuracy for dequantization of at least one directional parameter for the frame, and
[0339] The parameter processor is configured to dequantize the quantized direction parameter using the dequantization precision.
[0340] 30. The decoder according to one of Examples 18 to 29,
[0341] wherein the parameter processor (300) is configured to determine a decoding alphabet for decoding the encoded directional parameters of the frame according to a dequantization precision to be used by the parameter processor (300) for dequantization, and
[0342] The parameter processor (300) is configured to decode the encoded direction parameter using the determined decoding alphabet and determine a dequantized direction parameter.
[0343] 31. The decoder according to one of Examples 18 to 30,
[0344] wherein the parameter processor (300) is configured to determine an elevation angle alphabet for processing the encoded elevation angle parameter according to a dequantization accuracy to be used by the parameter processor (300) to dequantize the directional parameter, and to determine an azimuth angle alphabet according to an elevation angle index obtained using the elevation angle alphabet, and
[0345] The parameter processor (300) is configured to dequantize the encoded azimuth parameters using the azimuth alphabet.
[0346] 32. A method for decoding an encoded audio signal comprising directional audio coding parameters, the directional audio coding parameters comprising an encoded diffuseness parameter and an encoded direction parameter, the method comprising:
[0347] decoding (300) the encoded directional audio coding parameters to obtain decoded diffuseness parameters having a first time or frequency resolution and decoded direction parameters having a second time or frequency resolution; and
[0348] The encoded or decoded diffuseness parameter or the encoded or decoded direction parameter is converted (710) into a converted diffuseness parameter or a converted direction parameter having a third time or frequency resolution, the third time or frequency resolution being different from the first time or frequency resolution or the second time or frequency resolution, or different from the first time or frequency resolution and the second time or frequency resolution.
[0349] 33. A computer program for executing the method according to example 17 or 32 when the computer program is run on a computer or a processor.
[0350] The novel encoded audio signal including the parametric representation may be stored on a digital storage medium or a non-transitory storage medium or may be transmitted on a transmission medium such as a wireless transmission medium or a wired transmission medium (eg the Internet).
[0351] Although some aspects have been described in the context of an apparatus, it will be clear that these aspects also represent a description of a corresponding method, wherein a block or device corresponds to a method step or a feature of a method step. Similarly, aspects described in the context of a method step also represent a description of a corresponding block or item or a feature of a corresponding apparatus.
[0352] Depending on certain implementation requirements, embodiments of the invention can be implemented in hardware or in software. The embodiments can be implemented using a digital storage medium (e.g., a floppy disk, DVD, CD, ROM, PROM, EPROM, EEPROM or FLASH memory) on which electronically readable control signals are stored, cooperating (or capable of cooperating) with a programmable computer system so that the corresponding method is performed.
[0353] Some embodiments according to the invention comprise a data carrier having electronically readable control signals, which are capable of cooperating with a programmable computer system, such that one of the methods described herein is performed.
[0354] Generally, embodiments of the present invention can be implemented as a computer program product with a program code, the program code being operative for performing one of the methods when the computer program product runs on a computer.The program code may, for example, be stored on a machine readable carrier.
[0355] Other embodiments comprise the computer program for performing one of the methods described herein, wherein the computer program is stored on a machine readable carrier or a non-transitory storage medium.
[0356] In other words, an embodiment of the inventive method is, therefore, a computer program having a program code for performing one of the methods described herein, when the computer program runs on a computer.
[0357] A further embodiment of the inventive methods is, therefore, a data carrier (or a digital storage medium, or a computer-readable medium) comprising, recorded thereon, the computer program for performing one of the methods described herein.
[0358] Therefore, another embodiment of the inventive method is a data stream or a sequence of signals representing the computer program for performing one of the methods described herein. The data stream or the sequence of signals may, for example, be configured to be transmitted via a data communication connection (eg, via the Internet).
[0359] Further embodiments comprise a processing means, for example a computer or a programmable logic device, configured to or adapted to perform one of the methods described herein.
[0360] A further embodiment comprises a computer having installed thereon the computer program for performing one of the methods described herein.
[0361] In some embodiments, a programmable logic device (e.g., a field programmable gate array) can be used to perform some or all of the functions of the methods described herein. In some embodiments, a field programmable gate array can collaborate with a microprocessor to perform one of the methods described herein. Typically, the method is preferably performed by any hardware device.
[0362] The above embodiments are merely illustrative of the principles of the present invention. It should be understood that modifications and variations of the arrangements and details described herein will be apparent to other persons skilled in the art. Therefore, it is intended that the scope of the present invention be limited only by the scope of the appended patent claims and not by the specific details given by way of the description and explanation of the embodiments herein.
[0363] References
[0364] [1] V. Pulkki, MV. Laitinen, J. Vilkamo, J. Ahonen, T. Lokki, and T. , "Directional audio coding-perception-based reproduction of spatial sound", International Workshop on the Principles and Application 0n Spatial Hearing, Nov. 2009, Zao; Miyagi, Japan.
[0365] [2]V.Pulkki,“Virtual source positioning using vector base amplitudepanning”,J.Audio Eng.Soc.,45(6):456-466,June 1997.
[0366] [3]J.Ahonen and V.Pulkki,“Diffuseness estimation using temporalvariation of intensity vectors”,in Workshop on Applications of SignalProcessing to Audio and Acoustics WASPAA,Mohonk Mountain House,New Paltz,2009.
[0367] [4]T.Hirvonen,J.Ahonen,and V.Pulkki,“Perceptual compression methodsfor metadata in Directional Audio Coding applied to audiovisualteleconference”,AES126th Convention,2009,May 7-10,Munich,Germany。
Claims
1. A device for encoding directional audio coding parameters including diffuseness parameters and direction parameters, the device comprising: A parameter quantizer (210), configured to quantize the diffusion parameter and the direction parameter; A parameter encoder (220) for encoding a quantized diffuseness parameter and a quantized direction parameter; as well as An output interface (230) for generating an encoded parameter representation comprising information related to an encoded diffuseness parameter and an encoded direction parameter.
2. The device according to claim 1, The parameter quantizer (210) is configured to quantize the diffuseness parameter using a non-uniform quantizer to generate a diffuseness index.
3. The device according to claim 2, The parameter quantizer (210) is configured to use an inter-channel coherence quantization table to derive the non-uniform quantizer to obtain a threshold and a reconstruction level of the non-uniform quantizer.
4. The device according to claim 1, The parameter encoder (220) is configured as follows: encoding the quantized diffuseness parameter in the original coding mode using a binary code in case the size of the coding alphabet is a power of two, or encoding the quantized diffuseness parameter in the original coding mode using a punctured code in case the size of the coding alphabet is different from a power of two, or encoding the quantized diffuseness parameter in only one value mode using a first specific indication and a codeword from the original coding mode, or The quantized diffuseness parameter is encoded in only two consecutive values mode using a second specific indication, a code for the smaller of two consecutive values and bits for a difference between the or each actual value and the smaller of the two consecutive values.
5. The device according to claim 4, wherein the parameter encoder (220) is configured to determine, for all diffuseness values associated with a time portion or a frequency portion, whether the encoding mode is the original encoding mode, the only one value mode or the only two consecutive value mode, wherein one of the two bits is used to signal the original coding pattern, wherein the other of the two bits having a first value is used to signal the only one value pattern, and wherein the other of the two bits having a second value is used to signal the only two consecutive value patterns.
6. The apparatus according to claim 1, wherein the parameter quantizer (210) is configured to: For each direction parameter, a Cartesian vector with two or three components is received, and The Cartesian vector is converted into a representation having azimuth and elevation values.
7. The device according to claim 1, The parameter quantizer (210) is configured to determine, for the quantization of the directional parameter, a quantization accuracy that depends on a diffuseness parameter associated with the directional parameter, such that a directional parameter associated with a lower diffuseness parameter is quantized more accurately than a directional parameter associated with a higher diffuseness parameter.
8. The device according to claim 7, wherein the parameter quantizer (210) is configured to determine the quantization accuracy, so that the quantized points are semi-uniformly distributed on the unit sphere, or so that the quantized points are distributed symmetrically with respect to the x-axis, y-axis or z-axis, or Quantizing a given direction to the closest quantization point or one of several closest quantization points by mapping to an integer index is a constant time operation, or Such that computing corresponding points on the sphere from said integer indexing and dequantization for directions is a constant or logarithmic time operation with respect to the total number of points on the sphere.
9. The device according to claim 6, The parameter quantizer (210) is configured to quantize the elevation angles having negative and positive values into a set of unsigned quantization indices, wherein a first group of quantization indices indicates a negative elevation angle and a second group of quantization indices indicates a positive elevation angle.
10. The device according to claim 1, The parameter quantizer (210) is configured to quantize the azimuth angle using a plurality of possible quantization indices, wherein the number of the quantization indices decreases from a lower elevation angle to a higher elevation angle, such that a first number of possible quantization indices for a first elevation angle having a first magnitude is higher than a second number of possible quantization indices for a second elevation angle having a second magnitude, the absolute value of the second magnitude being greater than the absolute value of the first magnitude.
11. The apparatus according to claim 10, wherein the parameter quantizer (210) is configured to: determining a required accuracy based on a divergence value associated with said azimuth, quantifying an elevation angle associated with the azimuth angle using the desired accuracy, and The azimuth angle is quantized using the quantized elevation angle.
12. The device according to claim 1, The quantized direction parameter comprises a quantized elevation angle and a quantized azimuth angle, and the parameter encoder (220) is configured to first encode the quantized elevation angle and then encode the quantized azimuth angle.
13. The device according to claim 1, wherein the quantized direction parameter comprises an unsigned index for an azimuth and elevation pair, wherein the parameter encoder (220) is configured to convert the unsigned index into a signed index such that the index indicating the zero angle is in the middle of the signed interval of possible values, and The parameter encoder (220) is configured to perform a reordering transform on the signed indices to interleave positive and negative numbers into unsigned numbers.
14. The device according to claim 1, wherein the quantized direction parameters comprise pairs of reordered or unreordered unsigned azimuth and elevation indices, and wherein the parameter encoder (220) is configured to merge the indexes of the pairs into a sphere index, and A raw encoding of the sphere index is performed.
15. The device according to claim 14, wherein the parameter encoder (220) is configured to derive the sphere index based on a sphere offset and a current reordered or non-reordered azimuth index, and Wherein the sphere offset is derived from a sum of an azimuth angle alphabet corresponding to reordered or unreordered elevation angle indices less than a current reordered or unreordered elevation angle index.
16. The apparatus of claim 1, wherein the parameter encoder (220) is configured to perform entropy encoding on quantized directional parameters associated with diffuseness values below or equal to a threshold, and to perform raw encoding on quantized directional parameters associated with diffuseness values greater than the threshold.
17. The device according to claim 16, wherein the parameter encoder (220) is configured to dynamically determine the threshold using a quantization alphabet and quantization of the diffuseness parameter, or wherein the parameter encoder (220) is configured to determine the threshold based on the quantization alphabet of the diffuseness parameter.
18. The device according to claim 1, wherein the parameter quantizer (210) is configured to determine an elevation index, an elevation alphabet associated with the elevation index, an azimuth index, and an azimuth alphabet associated with the azimuth index as quantized direction parameters, The parameter encoder (220) is configured as deriving an average direction vector from the quantized direction vectors of the time portion or the frequency portion of the input signal, quantizing the mean direction vector using the best angular accuracy of the vector of the time portion or the frequency portion, and Encode the quantized mean direction vector, or The output interface (230) is configured to input the encoded mean direction vector as additional side information into the encoded parameter representation.
19. The device according to claim 18, The parameter encoder (220) is configured as follows: using the average direction vector to calculate a predicted elevation index and a predicted azimuth index, and Signed distances are calculated between the elevation index and the predicted elevation index and between the azimuth index and the predicted azimuth index.
20. The device according to claim 19, The parameter encoder (220) is configured to transform the signed distance into a reduced interval by adding a value for small values and subtracting a value for large values.
21. The device according to claim 1, wherein the parameter encoder (220) is configured to decide whether the quantized direction parameter is encoded by a raw encoding mode or an entropy encoding mode, and wherein the output interface (230) is configured to introduce a corresponding indication into the encoded parameter representation.
22. The device according to claim 1, The parameter encoder (220) is configured to perform entropy encoding using a Golomb-Rice method or a modification of the Golomb-Rice method.
23. The apparatus of claim 18, wherein the parameter encoder (220) is configured to: converting the components of the mean direction vector into signed representations such that the corresponding zero value is in the middle of the signed interval of possible values, performing a reordering transformation of the signed values to interleave positive and negative numbers into unsigned numbers, encoding the result using an encoding function to obtain an encoded component of the mean direction vector; and The Golomb-Rice parameters are encoded using the alphabet size according to the maximum value of the alphabet size for the corresponding components of the direction vector.
24. The device according to claim 19, wherein the parameter encoder (220) is configured to perform the signed distance or reduced signed distance reorder transform to interleave positive and negative numbers into unsigned numbers, The parameter encoder (220) is configured to encode the reordered signed distance or the reordered reduced signed distance using a Golomb-Rice method or a modification of the Golomb-Rice method.
25. The apparatus of claim 24, wherein the parameter encoder (220) is configured to apply the Golomb-Rice method or a modification of the Golomb-Rice method using the following operation: determining a most significant part and a least significant part of a value to be encoded; calculating the alphabet of the most significant part; calculating the alphabet of said least significant part; as well as The most significant portion is encoded in a unary manner using the alphabet for the most significant portion, and the least significant portion is encoded in a binary manner using the alphabet for the least significant portion.
26. The device according to claim 1, wherein the parameter encoder (220) is configured to apply a Golomb-Rice method or a modification of the Golomb-Rice method using operations of determining a most significant part and a least significant part of a value to be encoded and computing an alphabet for the most significant part, wherein when the alphabet of the most significant portion is less than or equal to a predefined value, an EncodeQuasiUniform method is used to encode the entire value, wherein the EncodeQuasiUniform method produces a code of only one length or a code having only two lengths, or The least significant part is encoded in the original encoding mode using a binary code if the size of the alphabet is a power of two, or is encoded in the original encoding mode using a punctured code if the size of the alphabet is different from a power of two.
27. The apparatus of claim 1, further comprising a parameter calculator for calculating the diffusivity parameter with a first time or frequency resolution and the direction parameter with a second time or frequency resolution.
28. A method for encoding directional audio coding parameters including diffuseness parameters and direction parameters, the method comprising: quantifying the diffusivity parameter and the direction parameter; encoding a quantized diffuseness parameter and a quantized directional parameter; as well as An encoded parameter representation is generated that includes information related to the encoded diffuseness parameter and the encoded direction parameter.
29. A decoder for decoding an encoded audio signal, the encoded audio signal comprising encoded directional audio coding parameters, the encoded directional audio coding parameters comprising an encoded diffuseness parameter and an encoded direction parameter, the decoder comprising: an input interface (800) for receiving the encoded audio signal and for separating the encoded diffuseness parameter and the encoded directional parameter from the encoded audio signal; a parameter decoder (820) for decoding the encoded diffuseness parameter and the encoded direction parameter to obtain a quantized diffuseness parameter and a quantized direction parameter; as well as A parameter dequantizer (840) is used to determine a dequantized diffuseness parameter and a dequantized directional parameter based on the quantized diffuseness parameter and the quantized directional parameter.
30. The decoder according to claim 29, The input interface (800) is configured to determine whether the parameter decoder (820) will use a first decoding mode or a second decoding mode to decode the encoded direction parameter based on an encoding mode indication (806) included in the encoded audio signal, wherein the first decoding mode is an original decoding mode and the second decoding mode is a decoding mode having modeling and different from the first decoding mode.
31. The decoder according to claim 29, wherein the parameter decoder (820) is configured to decode the encoded diffuseness parameter (804) for a frame of the encoded audio signal to obtain a quantized diffuseness parameter of the frame, wherein the dequantizer (840) is configured to use the quantized or dequantized diffuseness parameter to determine a dequantization accuracy for dequantization of at least one directional parameter of the frame, and The parameter dequantizer (840) is configured to dequantize the quantized direction parameter using the dequantization accuracy.
32. The decoder according to claim 31, wherein the parameter decoder (820) is configured to determine a decoding alphabet for decoding the encoded direction parameter of the frame according to a dequantization precision, and The parameter decoder (820) is configured to decode the encoded direction parameter using the decoding alphabet to obtain the quantized direction parameter.
33. The decoder according to claim 29, The parameter decoder (820) is configured to derive a quantized sphere index according to the encoded direction parameter, and decompose the quantized sphere index into a quantized elevation index and a quantized azimuth index.
34. The decoder of claim 29, wherein the parameter decoder (820) is configured to: Determine the elevation alphabet according to the solution precision, or An azimuth angle alphabet is determined based on the quantized elevation angle parameter or the dequantized elevation angle parameter.
35. The decoder of claim 29, wherein the parameter decoder (820) is configured to: decoding a quantized elevation parameter according to the encoded direction parameter, and decoding a quantized azimuth parameter according to the encoded direction parameter, wherein the parameter dequantizer (840) is configured to determine an azimuth angle alphabet based on the quantized elevation angle parameter or the dequantized elevation angle parameter, wherein the size of the azimuth angle alphabet is larger for elevation angle data indicating an elevation angle of a first absolute value than for elevation angle data indicating an elevation angle of a second absolute value, the second absolute value being larger than the first absolute value, and wherein the parameter decoder (820) is configured to generate quantized azimuth parameters using the azimuth alphabet, or wherein the parameter dequantizer is configured to dequantize the quantized azimuth parameters using the azimuth alphabet.
36. The decoder according to claim 29, wherein the input interface (800) is configured to determine a decoding mode having a modeling according to a decoding mode indication (806) in the encoded audio signal, The parameter decoder (820) is configured to obtain an average elevation index or an average azimuth index.
37. The decoder of claim 36, wherein the parameter decoder (820) is configured to determine a dequantization accuracy (851) of a frame based on a quantized diffuseness index of the frame, determining (852a) an elevation average alphabet or an azimuth average alphabet based on the dequantization accuracy of the frame, and The average elevation index is calculated using bits (808b) in the encoded audio signal and the elevation average alphabet, or the average azimuth index is calculated using bits (808a) in the encoded audio signal and the azimuth average alphabet.
38. The decoder according to claim 36, wherein the parameter decoder (820) is configured to decode certain bits (808c) in the encoded audio signal to obtain decoded elevation Columbus-Rice parameters, and to decode other bits (808c) in the encoded audio signal to obtain decoded elevation distances, or wherein the parameter decoder (820) is configured to decode certain bits (808a) in the encoded audio signal to obtain decoded azimuth Columbus-Rice parameters, and to decode other bits (808f) in the encoded audio signal to obtain decoded azimuth distances, The parameter decoder (820) is configured to calculate a quantized elevation parameter based on the elevation Columbus-Rice parameter, the decoded elevation distance and the average elevation index, or to calculate a quantized azimuth parameter based on the azimuth Columbus-Rice parameter, the decoded azimuth distance and the average azimuth index.
39. The decoder according to claim 31, wherein the parameter decoder (820) is configured to decode diffuseness parameters for time and frequency portions from the encoded audio signal to obtain quantized diffuseness parameters (850), wherein the parameter dequantizer (840) is configured to determine a dequantization accuracy (851) based on the quantized or dequantized diffuseness parameter, wherein the parameter decoder (820) is configured to derive an elevation angle alphabet according to the dequantization precision (852a) and use the elevation angle alphabet to obtain quantized elevation angle parameters for the time and frequency portions of the frame, and Wherein the dequantizer is configured to dequantize the quantized elevation angle parameters using the elevation angle alphabet to obtain dequantized elevation angle parameters for the time and frequency portions of the frame.
40. The decoder according to claim 29, wherein the parameter decoder (820) is configured to decode the encoded direction parameter to obtain a quantized elevation parameter, wherein the parameter dequantizer (840) is configured to determine an azimuth angle alphabet based on the quantized elevation angle parameter or the dequantized elevation angle parameter (852c), and wherein the parameter decoder (820) is configured to use the azimuth alphabet (852d) to calculate the quantized azimuth parameters, or wherein the parameter dequantizer (840) is configured to use the azimuth alphabet to dequantize the quantized azimuth parameters.
41. The decoder of claim 29, wherein the parameter dequantizer (840) is configured to: Determine the elevation alphabet using the dequantized precision (852a), and determining an azimuth angle alphabet using the dequantized precision and a quantized or dequantized elevation parameter generated using the elevation angle alphabet (852c), and wherein the parameter decoder (820) is configured to decode the encoded direction parameter using the elevation alphabet to obtain a quantized elevation parameter, and to decode the encoded direction parameter using the azimuth alphabet to obtain a quantized azimuth parameter, or wherein the parameter dequantizer (840) is configured to dequantize the quantized elevation parameter using the elevation alphabet and to dequantize the quantized azimuth parameter using the azimuth alphabet.
42. The decoder of claim 36, wherein the parameter decoder (820) is configured to: using the average elevation index or the average azimuth index to calculate a predicted elevation index or a predicted azimuth index, and performing a Golomb-Rice decoding operation or a modification of a Golomb-Rice decoding operation to obtain a range in azimuth or elevation parameters, and The distance of the azimuth or elevation parameter is added to the average elevation index or the average azimuth index to obtain the quantized elevation index or the quantized azimuth index.
43. The decoder of claim 29, further comprising: a parameter resolution converter (710) for converting the time / frequency resolution of the dequantized diffuseness parameter or the time or frequency resolution of the dequantized azimuth or elevation parameter or a parameter representation derived from the dequantized azimuth parameter or the dequantized elevation parameter into a target time or frequency resolution, and An audio renderer (420) is configured to apply the diffuseness parameter and the direction parameter in the target time or frequency resolution to an audio signal to obtain a decoded multi-channel audio signal.
44. A decoder according to claim 43, comprising: A spectrum / time converter (440) is used to convert the multi-channel audio signal from a spectrum domain representation to a time domain representation having a time resolution higher than the target time or frequency resolution.
45. The decoder according to claim 29, wherein the encoded audio signal comprises an encoded transport signal, wherein the input interface (800) is configured to extract the encoded transport signal, wherein the decoder comprises a transport signal audio decoder (340) for decoding the encoded transport signal, wherein the decoder further comprises a time / spectral converter (430) for converting the decoded transport signal into a spectral representation, and wherein the decoder comprises an audio renderer (420, 440) for rendering a multi-channel audio signal using the dequantized diffuseness parameter and the dequantized directional parameter, and The decoder further comprises a spectrum / time converter (440) for converting the rendered audio signal into a time domain representation.
46. A method for decoding an encoded audio signal, the encoded audio signal comprising encoded directional audio coding parameters, the encoded directional audio coding parameters comprising an encoded diffuseness parameter and an encoded direction parameter, the method comprising: receiving (800) the encoded audio signal and separating the encoded diffuseness parameter and the encoded directional parameter from the encoded audio signal; decoding (820) the encoded diffuseness parameter and the encoded direction parameter to obtain a quantized diffuseness parameter and a quantized direction parameter; as well as A dequantized diffuseness parameter and a dequantized directional parameter are determined (840) from the quantized diffuseness parameter and the quantized directional parameter.
47. A computer readable storage medium having stored thereon a computer program for executing the method according to claim 28 or 46 when the computer program is run on a computer or a processor.
