# Patent

## Title
Method and apparatus for encoding and decoding successive frames of an ambisonics representation of a 2- or 3-dimensional sound field

## Abstract

Representations of spatial audio scenes using higher-order Ambisonics HOA technology typically require a large number of coefficients per time instant. This data rate is too high for most practical applications that require real-time transmission of audio signals. According to the invention, the compression is carried out in spatial domain instead of HOA domain. The (N+1)2 input HOA coefficients are transformed into (N+1)2 equivalent signals in spatial domain, and the resulting (N+1)2 time-domain signals are input to a bank of parallel perceptual codecs. At decoder side, the individual spatial-domain signals are decoded, and the spatial-domain coefficients are transformed back into HOA domain in order to recover the original HOA representation.

## Background
This application claims the benefit, under 35 U.S.C. §119 of EP Patent Application 10306472.1, filed 21 Dec. 2010.
FIELD OF THE INVENTION
The invention relates to a method and to an apparatus for encoding and decoding successive frames of a higher-order Ambisonics representation of a 2- or 3-dimensional sound field.
BACKGROUND OF THE INVENTION
Ambisonics uses specific coefficients based on spherical harmonics for providing a sound field description that in general is independent from any specific loudspeaker or microphone set-up. This leads to a description which does not require information about loudspeaker positions during sound field recording or generation of synthetic scenes. The reproduction accuracy in an Ambisonics system can be modified by its order N. By that order the number of required audio information channels for describing the sound field can be determined for a 3D system because this depends on the number of spherical harmonic bases. The number O of coefficients or channels is O=(N+1)2.
Representations of complex spatial audio scenes using higher-order Ambisonics (HOA) technology (i.e. an order of 2 or higher) typically require a large number of coefficients per time instant. Each coefficient should have a considerable resolution, typically 24 bit/coefficient or more. Accordingly, the data rate required for transmitting an audio scene in raw HOA format is high. As an example, a 3rd order HOA signal, e.g. recorded with an EigenMike recording system, requires a bandwidth of (3+1)2 coefficients*44100 Hz 24 bit/coefficient=16.15 Mbit/s. As of today, this data rate is too high for most practical applications that require real-time transmission of audio signals. Hence, compression techniques are desired for practically relevant HOA-related audio processing systems.
Higher-order Ambisonics is a mathematical paradigm that allows capturing, manipulating and storage of audio scenes. The sound field is approximated at and around a reference point in space by a Fourier-Bessel series. Because HOA coefficients have this specific underlying mathematics, specific compression techniques have to be applied in order to obtain optimal coding efficiencies. Aspects of both, redundancy and psycho-acoustics, are to be accounted for, and can be expected to function differently for a complex spatial audio scene than for conventional mono or multi-channel signals. A particular difference to established audio formats is that all ‘channels’ in a HOA representation are computed with the same reference location in space. Hence, considerable coherence between HOA coefficients can be expected, at least for audio scenes with few, dominant sound objects.
There exist only few published techniques for lossy compression of HOA signals. Most of them can not be accounted to the category of perceptual coding because typically no psycho-acoustic model is utilized for controlling the compression. In contrast, several existing schemes use a decomposition of the audio scene into parameters of an underlying model.
Early Approaches for 1st to 3rd-Order Ambisonics Transmission
The theory of Ambisonics has been in use for audio production and consumption since the 1960's, although up to now the applications were mostly limited to 1st or 2nd order content. A number of distribution formats have been in use, in particular:

    
    
        B-format: This format is the standard professional, raw signal format used for exchange of content among researchers, producers and enthusiasts. Typically, it relates to 1st order Ambisonics with specific normalization of the coefficients, but there also exist specifications up to order 3.
        In recent higher-order variants of the B-format, modified normalization schemes like SN3D, and special weighting rules, e.g. the Furse-Malham aka FuMa or FMH set, typically result in a downscaling of the amplitudes of parts of the Ambisonics coefficient data. The reverse upscaling operation is performed by table lookup before decoding at receiver side.
        UHJ-format (aka C-format): This is a hierarchical encoded signal format that is applicable for delivering 1st order Ambisonics content to consumers via existing mono or two-channel stereo paths. With two channels, left and right, a full horizontal surround representation of an audio scene is feasible, albeit not with full spatial resolution. The optional third channel improves the spatial resolution in the horizontal plane, and the optional fourth channel adds the height dimension.
        G-format: This format was created in order to make content produced in Ambisonics format available to anyone, without the need to use specific Ambisonics decoders at home. Decoding to the standard 5-channel surround setup is performed already at production side. Because the decoding operation is not standardized, a reliable reconstruction of the original B-format Ambisonics content is not possible.
        D-format: This format refers to the set of decoded loudspeaker signals as produced by an arbitrary Ambisonics decoder. The decoded signals depend on the specific loudspeaker geometry and on specifics of the decoder design. The G-format is a subset of the D-format definition, because it refers to a specific 5-channel surround setup.
    
    


Neither one of the aforementioned approaches has been designed with compression in mind. Some of the formats have been tailored in order to make use of existing, low-capacity transmission paths (e.g. stereo links) and therefore implicitly reduce the data rate for transmission. However, the downmixed signal lacks a significant portion of original input signal information. Thus, the flexibility and universality of the Ambisonics approach is lost.
Directional Audio Coding
Around 2005 the DirAC (directional audio coding) technology has been developed, which is based on a scene analysis with the target to decompose the scene into one dominant sound object per time and frequency plus ambient sound. The scene analysis is based on an evaluation of the instantaneous intensity vector of the sound field. The two parts of the scene will be transmitted together with location information on where the direct sound comes from. At the receiver, the single dominant sound source per time-frequency pane is played back using vector based amplitude panning (VBAP). In addition, de-correlated ambient sound is produced according to the ratio that has been transmitted as side information. The DirAC processing is depicted in FIG. 1, wherein the input signals have B-format.
One can interpret DirAC as a specific way of parametric coding with a single-source-plus-ambience signal model. The quality of the transmission depends strongly on whether the model assumptions are true for the particular compressed audio scene. Furthermore, any erroneous detection of direct sound and/or ambient sound in the sound analysis stage may impact the quality of the playback of the decoded audio scene. To date, DirAC has only been described for 1st order Ambisonics content.
Direct Compression of HOA Coefficients
In the late 2000s, a perceptual as well as lossless compression of HOA signals has been proposed.

    
    
        For lossless coding, cross-correlation between different Ambisonics coefficients is exploited for reducing the redundancy of HOA signals, as described in E. Hellerud, A. Solvang, U. P. Svensson, “Spatial Redundancy in Higher Order Ambisonics and Its Use for Low Delay Lossless Compression”, Proc. of IEEE Intl. Conf. on Acoustics, Speech, and Signal Processing (ICASSP), April 2009, Taipei, Taiwan, and in E. Hellerud, U. P. Svensson, “Lossless Compression of Spherical Microphone Array Recordings”, Proc. of 126th AES Convention, Paper 7668, May 2009, Munich, Germany. Backward adaptive prediction is utilized which predicts current coefficients of a specific order from a weighted combination of preceding coefficients up to the order of the coefficient to be encoded. The groups of coefficients that are expected to exhibit strong cross-correlation have been found by evaluations of characteristics of real-world content.
        This compression operates in a hierarchical manner. The neighborhood analyzed for potential cross-correlation of a coefficient comprises the coefficients only up to the same order at the same time instant as well as at preceding time instances, whereby the compression is scalable on bit stream level.
        Perceptual coding is described in T. Hirvonen, J. Ahonen, V. Pulkki, “Perceptual Compression Methods for Metadata in Directional Audio Coding Applied to Audiovisual Teleconference”, Proc. of 126th AES Convention, Paper 7706, May 2009, Munich, Germany, and in the above-mentioned “Spatial Redundancy in Higher Order Ambisonics and Its Use for Low Delay Lossless Compression” article. Existing MPEG AAC compression techniques are used for coding the individual channels (i.e. coefficients) of an HOA B-format representation. By adjusting the bit allocation depending on the order of the channel, a non-uniform spatial noise distribution has been obtained. In particular, by allocating more bits to the low-order channels and fewer bits to high-order channels, a superior precision can be obtained near the reference point. In turn, the effective quantization noise rises for increasing distances from the origin.
    
    


FIG. 2 shows the principle of such direct encoding and decoding of B-format audio signals, wherein the upper path shows the above Hellerud et al. compression and the lower path shows compression to conventional D-format signals. In both cases the decoded receiver output signals have D-format.
A problem with seeking for redundancy and irrelevancy directly in the HOA domain is that any spatial information is, in general, ‘smeared’ across several HOA coefficients. In other words, information that is well localized and concentrated in spatial domain is spread around. Thereby it is very challenging to perform a consistent noise allocation that reliably adheres to psycho-acoustic masking constraints. Furthermore, important information is captured in a differential fashion in the HOA domain, and subtle differences of large-scale coefficients may have a strong impact in the spatial domain. Therefore a high data rate may be required in order to preserve such differential details.
Spatial Squeezing
More recently, B. Cheng, Ch. Ritz, I. Burnett have developed the ‘spatial squeezing’ technology:

    B. Cheng, Ch. Ritz, I. Burnett, “Spatial Audio Coding by Squeezing: Analysis and Application to Compressing Multiple Soundfields”, Proc. of European Signal Processing Conf. (EUSIPCO), 2009,
    B. Cheng, Ch. Ritz, I. Burnett, “A Spatial Squeezing Approach to Ambisonic Audio Compression”, Proc. of IEEE Intl. Conf. on Acoustics, Speech, and Signal Processing (ICASSP), April 2008,
    B. Cheng, Ch. Ritz, I. Burnett, “Principles and Analysis of the Squeezing Approach to Low Bit Rate Spatial Audio Coding”, Proc. of IEEE Intl. Conf. on Acoustics, Speech, and Signal Processing (ICASSP), April 2007.


An audio scene analysis is carried out which decomposes the sound field into the selection of the most dominant sound objects for each time/frequency pane. Then a 2-channel stereo downmix is created which contains these dominant sound objects at new positions, in-between the positions of the left and right channels. Because the same analysis can be done with the stereo signal, the operation can be partially reversed by re-mapping the objects detected in the 2-channel stereo downmix to the 360° of the full sound field.
FIG. 3 depicts the principle of spatial squeezing. FIG. 4 shows the related encoding processing.
The concept is strongly related to DirAC because it relies on the same kind of audio scene analysis. However, in contrast to DirAC the downmix always creates two channels, and it is not necessary to transmit side information about the location of dominant sound objects.
Although psycho-acoustic principles are not explicitly utilized, the scheme exploits the assumption that a decent quality can already be achieved by only transmitting the most prominent sound object for time-frequency tiles. In that respect, there are further strong parallels to the assumptions of DirAC. Analog to DirAC, any error in the parameterization of the audio scene will result in an artifact of the decoded audio scene. Furthermore, the impact of any perceptual coding of the 2-channel stereo downmix signal to the quality of the decoded audio scene is hard to predict. Due to the generic architecture of this spatial squeezing it can not be applied for 3-dimensional audio signals (i.e. signals with height dimension), and apparently it does not work for Ambisonics orders beyond one.
Ambisonics Format and Mixed-Order Representations
It has been proposed in F. Zotter, H. Pomberger, M. Noisternig, “Ambisonic Decoding with and without Mode-Matching: A Case Study Using the Hemisphere”, Proc. of 2nd Ambisonics Symposium, May 2010, Paris, France, to constrain the spatial sound information to a sub-space of the full sphere, e.g. to only cover the upper hemisphere or even smaller parts of the sphere. In the ultimate, a complete scene can be composed of several such constrained ‘sectors’ on the sphere which will be rotated to specific locations for assembling the target audio scene. This creates a kind of mixed-order composition of a complex audio scene. No perceptual coding is mentioned.
Parametric Coding
The ‘classic’ approach for describing and transmitting content intended to be played back in wave-field synthesis (WFS) systems is via parametric coding of individual sound objects of the audio scene. Each sound object consists of an audio stream (mono, stereo or something else) plus meta information on the role of the sound object within the full audio scene, i.e. most importantly the location of the object. This object-oriented paradigm has been refined for WFS playback in the course of the European ‘CARROUSO’, cf. S. Brix, Th. Sporer, J. Plogsties, “CARROUSO—An European Approach to 3D-Audio”, Proc. of 110th AES Convention, Paper 5314, May 2001, Amsterdam, The Netherlands.
One example for compressing each sound object independent from others is the joint coding of multiple objects in a downmix scenario as described in Ch. Faller, “Parametric Joint-Coding of Audio Sources”, Proc. of 120th AES Convention, Paper 6752, May 2006, Paris, France, in which simple psycho-acoustic cues are used in order to create a meaningful downmix signal from which, with the help of side information, the multi-object scene can be decoded at the receiver side. The rendering of the objects within the audio scene to the local loudspeaker setup also takes place at receiver side.
In object-oriented formats recording is particularly sophisticated. In theory, perfectly ‘dry’ recordings of the individual sound objects would be required, i.e. recordings that exclusively capture the direct sound emitted by a sound object. The challenge of this approach is two-fold: first, dry capturing is difficult in natural ‘live’ recordings because there is considerable crosstalk between microphone signals; second, audio scenes which are assembled from dry recordings lack naturalness and the ‘atmosphere’ of the room in which the recording took place.
Parametric Coding Plus Ambisonics
Some researchers have proposed to combine an Ambisonics signal with a number of discrete sound objects. The rationale is to capture ambient sound and sound objects that are not well localizable via the Ambisonics representation and to add a number of discrete, well-placed sound objects via a parametric approach. For the object-oriented part of the scene similar coding mechanisms are used as for purely parametric representations (see the previous section). That is, those individual sound objects typically come with a mono sound track and information on location and potential movements, cf. the introduction of Ambisonics playback to the MPEG-4 AudioBIFS standard. In that standard, how to transmit the raw Ambisonics and object streams to the (AudioBIFS) rendering engine is left open to the producer of an audio scene. This means that any audio codec defined in MPEG-4 can be used for directly encoding the Ambisonics coefficients.
Wave Field Coding
Instead of using the object-oriented approach, wave field coding transmits the already rendered loudspeaker signals of a WFS (wave field synthesis) system. The encoder carries out all the rendering to a specific set of loudspeakers. A multi-dimensional space-time to frequency transformation is performed for windowed, quasi-linear segments of the curved line of loudspeakers. The frequency coefficients (both for time-frequency and space-frequency) are encoded with some psycho-acoustic model. In addition to the usual time-frequency masking, also a space-frequency masking can be applied, i.e. it is assumed that masking phenomena are a function of spatial frequency. At decoder side the encoded loudspeaker channels are de-compressed and played back.
FIG. 5 shows the principle of Wave Field Coding with a set of microphones in the top part and a set of loudspeakers in the bottom part. FIG. 6 shows the encoding processing according to F. Pinto, M. Vetterli, “Wave Field Coding in the Spacetime Frequency Domain”, Proc. of IEEE Intl. Conf. on Acoustics, Speech and Signal Processing (ICASSP), April 2008, Las Vegas, Nev., USA.
Published experiments on perceptual wave field coding show that the space-time-to-frequency transform saves about 15% of data rate compared to separate perceptual compression of the rendered loudspeaker channels for a two-source signal model. Nevertheless, this processing has not the compression efficiency to be obtained by an object-oriented paradigm, most probably due to the failure to capture sophisticated cross-correlation characteristics between loudspeaker channels because a sound wave will arrive at each loudspeaker at a different time. A further disadvantage is the tight coupling to the particular loudspeaker layout of the target system.
Universal Spatial Cues
The notion of a universal audio codec able to address different loudspeaker scenarios has also been considered, starting from classical multi-channel compression. In contrast to e.g. mp3 Surround or MPEG Surround with fixed channel assignments and relations, the representation of spatial cues is designed to be independent of the specific input loudspeaker configuration, cf. M. M. Goodwin, J.-M. Jot, “A Frequency-Domain Framework for Spatial Audio Coding Based on Universal Spatial Cues”, Proc. of 120th AES Convention, Paper 6751, May 2006, Paris, France; M. M. Goodwin, J.-M. Jot, “Analysis and Synthesis for Universal Spatial Audio Coding”, Proc. of 121st AES Convention, Paper 6874, October 2006, San Francisco, Calif., USA; M. M. Goodwin, J.-M. Jot, “Primary-Ambient Signal Decomposition and Vector-Based Localization for Spatial Audio Coding and Enhancement”, Proc. of IEEE Intl. Conf. on Acoustics, Speech and Signal Processing (ICASSP), April 2007, Honolulu, Hi., USA.
Following frequency domain transformation of the discrete input channel signals, a principal component analysis is performed for each time-frequency tile in order to distinguish primary sound from ambient components. The result is the derivation of direction vectors to locations on a circle with unit radius centered at the listener, using Gerzon vectors for the scene analysis.
FIG. 7 depicts a corresponding system for spatial audio coding with downmixing and transmission of spatial cues. A (stereo) downmix signal is composed from the separated signal components and transmitted together with meta information on the object locations. The decoder recovers the primary sound and some ambient components from the downmix signals and the side information, whereby the primary sound is panned to local loudspeaker configuration. This can be interpreted as a multi-channel variant of the above DirAC processing because the transmitted information is very similar.
SUMMARY OF THE INVENTION
A problem to be solved by the invention is to provide improved lossy compression of HOA representations of audio scenes, whereby psycho-acoustic phenomena like perceptual masking are taken into account.
According to the invention, the compression is carried out in spatial domain instead of HOA domain (whereas in wave field encoding described above it is assumed that masking phenomena are a function of spatial frequency, the invention uses masking phenomena as a function of spatial location). The (N+1)2 input HOA coefficients are transformed into (N+1)2 equivalent signals in spatial domain, e.g. by plane wave decomposition. Each one of these equivalent signals represents the set of plane waves which come from associated directions in space. In a simplified way, the resulting signals can be interpreted as virtual beam forming microphone signals that capture from the input audio scene representation any plane waves that fall into the region of the associated beams.
The resulting set of (N+1)2 signals are conventional time-domain signals which can be input to a bank of parallel perceptual codecs. Any existing perceptual compression technique can be applied. At decoder side, the individual spatial-domain signals are decoded, and the spatial-domain coefficients are transformed back into HOA domain in order to recover the original HOA representation.
This kind of processing has significant advantages:

    
    
        Psycho-acoustic masking: If each spatial-domain signal is treated separately from the other spatial-domain signals, the coding error will have the same spatial distribution as the masker signal. Thus, after converting the decoded spatial-domain coefficients back to HOA domain, the spatial distribution of the instantaneous power density of the coding error will be positioned according to the spatial distribution of the power density of the original signal. Advantageously, thereby it is guaranteed that the coding error will always stay masked. Even in a sophisticated playback environment the coding error propagates always exactly together with the corresponding masker signal.
        Note, however, that something analogous to ‘stereo unmasking’ (cf. M. Kahrs, K. H. Brandenburg, “Applications of Digital Signal Processing to Audio and Acoustics”, Kluwer Academic Publishers, 1998) can still occur for sound objects that originally sit between two (2D case) or three (3D case) of the reference locations. However, probability and severity of this potential pitfall decrease if the order of the HOA input material increases, because the angular distance between different reference positions in the spatial domain decreases. By adapting the HOA-to-space transformation according to the location of dominant sound objects (see the specific embodiment below) this potential issue can be alleviated.
        Spatial de-correlation: Audio scenes are typically sparse in spatial domain, and they are usually assumed to be a mixture of few discrete sound objects on top of an underlying ambient sound field. By transforming such audio scenes into HOA domain—which is essentially a transformation into spatial frequencies—the spatially sparse, i.e. de-correlated, scene representation is transformed into a highly correlated set of coefficients. Any information on a discrete sound object is ‘smeared’ across more or less all frequency coefficients.
        In general, the aim in compression methods is to reduce redundancies by choosing a de-correlated coordinate system, ideally according to a Karhunen-Loève transformation. For time-domain audio signals, typically the frequency domain provides a more de-correlated signal representation. However, this is not the case for spatial audio because the spatial domain is closer to the KLT coordinate system than the HOA domain.
        Concentration of temporally correlated signals: Another important aspect of transforming HOA coefficients into spatial domain is that signal components that are likely to exhibit strong temporal correlation—because they are emitted from the same physical sound source—are concentrated in single or few coefficients. This means that any subsequent processing step related to compressing the spatially distributed time-domain signals can exploit a maximum of time-domain correlation.
        Comprehensibility: The coding and perceptual compression of audio content is well-known for time-domain signals.
    
    


In contrast, the redundancy and psycho-acoustics in a complex transformed domain like higher-order Ambisonics (i.e. an order of 2 or higher) is far less understood and requires a lot of mathematics and investigation. Consequently, when using compression techniques that work in spatial domain rather than HOA domain, many existing insights and techniques can be applied and adapted much easier. Advantageously, reasonable results can be obtained quickly by utilizing existing compression codecs for parts of the system.
In other words, the invention includes the following advantages:

    
    
        better utilization of psycho-acoustic masking effects,
        better comprehensibility and easy to implement,
        better suited for the typical composition of spatial audio scenes,
        better de-correlation properties than existing approaches.
    
    


In principle, the inventive encoding method is suited for encoding successive frames of an Ambisonics representation of a 2- or 3-dimensional sound field, denoted HOA coefficients, said method comprising the steps:

    
    
        transforming O=(N+1)2 input HOA coefficients of a frame into O spatial domain signals representing a regular distribution of reference points on a sphere, wherein N is the order of said HOA coefficients and each one of said spatial domain signals represents a set of plane waves which come from associated directions in space;
        encoding each one of said spatial domain signals using perceptual encoding steps or stages, thereby using encoding parameters selected such that the coding error is inaudible;
        multiplexing the resulting bit streams of a frame into a joint bit stream.
    
    


In principle, the inventive decoding method is suited for decoding successive frames of an encoded higher-order Ambisonics representation of a 2- or 3-dimensional sound field, which was encoded according to claim 1, said decoding method comprising the steps:

    
    
        de-multiplexing the received joint bit stream into O=(N+1)2 encoded spatial domain signals;
        decoding each one of said encoded spatial domain signals into a corresponding decoded spatial domain signal using perceptual decoding steps or stages corresponding to the selected encoding type and using decoding parameters matching the encoding parameters, wherein said decoded spatial domain signals represent a regular distribution of reference points on a sphere;
        transforming said decoded spatial domain signals into O output HOA coefficients of a frame, wherein N is the order of said HOA coefficients.
    
    


In principle the inventive encoding apparatus is suited for encoding successive frames of a higher-order Ambisonics representation of a 2- or 3-dimensional sound field, denoted HOA coefficients, said apparatus comprising:

    
    
        transforming means being adapted for transforming O=(N+1)2 input HOA coefficients of a frame into O spatial domain signals representing a regular distribution of reference points on a sphere, wherein N is the order of said HOA coefficients and each one of said spatial domain signals represents a set of plane waves which come from associated directions in space;
        means being adapted for encoding each one of said spatial domain signals using perceptual encoding steps or stages, thereby using encoding parameters selected such that the coding error is inaudible;
        means being adapted for multiplexing the resulting bit streams of a frame into a joint bit stream.
    
    


In principle the inventive encoding apparatus is suited for decoding successive frames of an encoded higher-order Ambisonics representation of a 2- or 3-dimensional sound field, which was encoded according to claim 1, said apparatus comprising:

    
    
        means being adapted for de-multiplexing the received joint bit stream into O=(N+1)2 encoded spatial domain signals;
        means being adapted for decoding each one of said encoded spatial domain signals into a corresponding decoded spatial domain signal using perceptual decoding steps or stages corresponding to the selected encoding type and using decoding parameters matching the encoding parameters, wherein said decoded spatial domain signals represent a regular distribution of reference points on a sphere;
        transforming means being adapted for transforming said decoded spatial domain signals into O output HOA coefficients of a frame, wherein N is the order of said HOA coefficients.
    
    


Advantageous additional embodiments of the invention are disclosed in the respective dependent claims.



BRIEF DESCRIPTION OF THE DRAWINGS
Exemplary embodiments of the invention are described with reference to the accompanying drawings, which show in:
FIG. 1 directional audio coding with B-format input;
FIG. 2 direct encoding of B-format signals;
FIG. 3 principle of spatial squeezing;
FIG. 4 spatial squeezing encoding processing;
FIG. 5 principle of Wave Field coding;
FIG. 6 Wave Field encoding processing;
FIG. 7 spatial audio coding with downmixing and transmission of spatial cues;
FIG. 8 exemplary embodiment of the inventive encoder and decoder;
FIG. 9 binaural masking level difference for different signals as a function of the inter-aural phase difference or time difference of the signal;
FIG. 10 joint psycho-acoustic model with incorporation of BMLD modeling;
FIG. 11 example largest expected playback scenario: a cinema with 7×5 seats (arbitrarily chosen for the sake of an example);
FIG. 12 derivation of maximum relative delay and attenuation for the scenario of FIG. 11;
FIG. 13 compression of a sound-field HOA component plus two sound objects A and B;
FIG. 14 joint psycho-acoustic model for a sound-field HOA component plus two sound objects A and B.



DETAILED DESCRIPTION
FIG. 8 shows a block diagram of an inventive encoder and decoder. In this basic embodiment of the invention, successive frames of input HOA representations or signals IHOA are transformed in a transform step or stage 81 to spatial-domain signals according to a regular distribution of reference points on the 3-dimensional sphere or the 2-dimensional circle.
Regarding transformation from HOA domain to spatial domain, in Ambisonics theory the sound field at and around a specific point in space is described by a truncated Fourier-Bessel series. In general, the reference point is assumed to be at the origin of the chosen coordinate system. For a 3-dimensional application using spherical coordinates, the Fourier series with coefficients Anm for all defined indices n=0, 1, . . . N and m=−n, . . . , n describes the pressure of the sound field at azimuth angle φ, inclination θ and distance r from the origin p(r, θ, φ)=Σn=0N Σm=−nn Cnm jn(kr) Ynm(θ, φ), wherein k is the wave number and jn(kr) Ynm(φ, θ) is the kernel function of the Fourier-Bessel series that is strictly related to the spherical harmonic for the direction defined by θ and φ. For convenience, HOA coefficients Anm are used with the definition Anm=Cnm jn(kr). For a specific order N the number of coefficients in the Fourier-Bessel series is O=(N+1)2.
For a 2-dimensional application using circular coordinates, the kernel functions depend only on the azimuth angle φ. All coefficients with m≠n have a value of zero and can be omitted. Therefore the number of HOA coefficients is reduced to only O=2N+1. Moreover, the inclination θ=π/2 is fixed.
For the 2D case and for a perfectly uniform distribution of the sound objects on the circle, i.e. with




  
    
      φ
      i
    
    =
    
      i
      ⁢
      
        
          2
          ⁢
          π
        
        o
      
    
  
  ,




the mode vectors within Ψ are identical to the kernel functions of the well-known discrete Fourier transform (DFT).

By the HOA-to-spatial-domain transformation the driver signal of virtual loudspeakers (emitting plane waves at infinite distance) are derived, that have to be applied in order to precisely playback the desired sound field as described by the input HOA coefficients.
All mode coefficients can be combined in a mode matrix W where the i-th column contains the mode vector Ynm(φi, θi), n=0 . . . N, m=−n . . . n according to the direction of the i-th virtual loudspeaker. The number of desired signals in spatial domain is equal to the number of HOA coefficients. Hence, a unique solution to the transformation/decoding problem exists that is defined by the inverse Ψ−1 of the mode matrix Ψ: s=Ψ−1 A. This transformation uses the assumption that the virtual loudspeakers emit plane waves. Real-world loudspeakers have different playback characteristics which a decoding rule for playback should take care of.
One example for reference points are the sampling points according to J. Fliege, U. Maier, “The Distribution of Points on the Sphere and Corresponding Cubature Formulae”, IMA Journal of Numerical Analysis, vol. 19, no. 2, pp. 317-334, 1999. The spatial-domain signals obtained by this transformation are input to independent, ‘O’ parallel known perceptual encoder steps or stages 821, 822, . . . , 820 which operate e.g. according to the MPEG-1 Audio Layer III (aka mp3) standard, wherein ‘O’ corresponds to the number O of parallel channels. Each of these encoders is parameterized such that the coding error will be inaudible. The resulting parallel bit streams are multiplexed in a multiplexer step or stage 83 into a joint bit stream BS and transmitted to the decoder side. Instead of mp3, any other suitable audio codec type like AAC or Dolby AC-3 can be used.
At decoder side a de-multiplexer step or stage 86 demultiplexes the received joint bit stream in order to derive the individual bit streams of the parallel perceptual codecs, which individual bit streams are decoded (corresponding to the selected encoding type and using decoding parameters matching the encoding parameters, i.e. selected such that the decoding error is inaudible) in known decoder steps or stages 871, 872, . . . , 87O in order to recover the uncompressed spatial-domain signals. The resulting vectors of signals are transformed in an inverse transform step or stage 88 for each time instant into the HOA domain, thereby recovering the decoded HOA representation or signal OHOA, which is output in successive frames.
With such processing or system a considerable reduction in data rate can be obtained. For example, an input HOA representation from a 3rd order recording of an EigenMike has a raw data rate of (3+1)2 coefficients*44100 Hz*24 bit/coefficient=16.9344 Mbit/s. Transformation into spatial domain results in (3+1)2 signals with a sample rate of 44100 Hz. Each of these (mono) signals representing a data rate of 44100*24=1.0584 Mbit/s is independently compressed using an mp3 codec to an individual data rate of 64 kbit/s (which means virtually transparent for mono signals). Then, the gross data rate of the joint bit stream is (3+1)2 signals*64 kbit/s per signal≈1 Mbit/s.
This assessment is on the conservative side because it assumes that the whole sphere around the listener is filled homogeneously with sound, and because it totally neglects any cross-masking effects between sound objects at different spatial locations: a masker signal with, say 80 dB, will mask a weak tone (say at 40 dB) that is only a few degrees of angle apart. By taking such spatial masking effects into account as described below, higher compression factors can be achieved. Furthermore, the above assessment neglects any correlation between adjacent positions in the set of spatial-domain signals. Again, if a better compression processing makes use of such correlation, higher compression ratios can be achieved. Last but not least, if time-varying bit rates are admissible, still more compression efficiency can be expected because the number of objects in a sound scene varies strongly, especially for film sound. Any sound object sparseness can be utilized to further reduce the resulting bit rate.
Variations: Psycho-Acoustics
In the embodiment of FIG. 8 a minimalistic bit rate control is assumed: all individual perceptual codecs are expected to run at identical data rates. As already mentioned above, considerable improvements can be obtained by using instead a more sophisticated bit rate control which takes the complete spatial audio scene into account. More specifically, the combination of time-frequency masking and spatial masking characteristics plays a key role. For the spatial dimension of this, masking phenomena are a function of absolute angular locations of sound events in relation to the listener, not of spatial frequency (note that this understanding is different from that in Pinto et al. mentioned in section Wave Field Coding). The difference between the masking threshold observed for spatial presentation compared to monodic presentation of masker and maskee is called the Binaural Masking Level Difference BMLD, cf. section 3.2.2 in J. Blauert, “Spatial Hearing: The Psychophysics of Human Sound Localization”, The MIT Press, 1996. In general, the BMLD depends on several parameters like signal composition, spatial locations, frequency range. The masking threshold in spatial presentation can be up to  ̃20 dB lower than for monodic presentation. Therefore, utilization of masking threshold across spatial domain will take this into account.

    A) One embodiment of the invention uses a psycho-acoustic masking model which yields a multi-dimensional masking threshold curve that depends on (time-)frequency as well as on angles of sound incidences on the full circle or sphere, respectively, depending on the dimension of the audio scene. This masking threshold can be obtained by combining the individual (time-)frequency masking curves obtained for the (N+1)2 reference locations via manipulation with a spatial ‘spreading function’ that takes the BMLD into account. Thereby the influence of maskers to signals which are located nearby, i.e. which are positioned with a small angular distance to the masker, can be exploited.
    
        FIG. 9 shows the BMLD for different signals (broadband noise masker plus sinusoids or 100 μs impulse trains as desired signal) as a function of the interaural phase difference or time difference (i.e. phase angles and time delays) of the signal, as disclosed in the above article “Spatial Hearing: The Psychophysics of Human Sound Localization”.
        The inverse of the worst-case characteristic (i.e. that with the highest BMLD values) can be used as conservative ‘smearing’ function for determining the influence of a masker in one direction to maskees in another direction. This worst-case requirement can be softened if BMLDs for specific cases are known. The most interesting cases are those where the masker is noise that is spatially narrow but wide in (time-)frequency.
        FIG. 10 shows how a model of the BMLD can be incorporated in the psycho-acoustic modeling in order to derive a joint masking threshold MT. The individual MT for each spatial direction is calculated in psycho-acoustic model steps or stages 1011, 1012, . . . , 101O and is input to corresponding spatial spreading function SSF steps or stages 1021, 1022, . . . , 102O, which spatial spreading function is e.g. the inverse of one of the BMLDs shown in FIG. 9. Thus, an MT covering the whole sphere/circle (3D/2D case) is computed for all signal contributions from each direction. The maximum of all individual MTs is calculated in step/stage 103 and provides the joint MT for the full audio scene.
    
    
    B) A further extension of this embodiment requires a model of sound propagation in the target listening environment, e.g. in cinemas or other venues with large audiences, because sound perception depends on the listening position relative to loudspeakers. FIG. 11 shows an example cinema scenario with 7*5=35 seats. When playing back a spatial audio signal in a cinema, the audio perception and levels depend on the size of the auditorium and on the locations of the individual listeners. A ‘perfect’ rendering will take place at the sweet spot only, i.e. usually at the centre or reference location 110 of the auditorium. If a seat position is considered which is located e.g. at the left perimeter of the audience, it is likely that sound arriving from the right side is both attenuated and delayed relative to the sound arriving from the left side, because the direct line-of-sight to the right side loudspeakers is longer than that to the left side loudspeakers. This potential direction-dependent attenuation and delay due to sound propagation for non-optimum listening positions should be taken into account in a worst-case consideration in order to prevent unmasking of coding errors from spatially disparate directions, i.e. spatial unmasking effects. For preventing such effects, the time delay and level changes are taken into consideration in the psycho-acoustic model of the perceptual codec.
    
        In order to derive a mathematical expression for the modeling of the modified BMLD values, the maximum expected relative time delay and signal attenuation are modeled for any combinations of masker and maskee directions. In the following, this is performed for a 2-dimensional example setup. A possible simplification of the FIG. 11 cinema example is shown in FIG. 12. The audience is expected to reside within a circle of radius rA, cf. the corresponding circle depicted in FIG. 11. Two signal directions are considered: the masker S is shown to come as a plane wave from the left (front direction in a cinema), and the maskee N is a plane wave arriving from the bottom right of FIG. 12, which corresponds to the rear left in a cinema.
        The line of simultaneous arrival times of the two plane waves is depicted by the dashed bisecting line. The two points on the perimeter with the largest distance to this bisecting line are the locations within the auditorium where the largest time/level differences will occur. Before reaching the marked bottom right point 120 in the diagram the sound waves travel additional distances dS and dN after reaching the perimeter of the listening area:
    
    






  
    
      d
      S
    
    =
    
      
        r
        A
      
      +
      
        
          r
          A
        
        ⁢
        
          cos
          ⁡
          
            (
            
              
                π
                -
                φ
              
              2
            
            )
          
        
      
    
  
  ,
  
    
      d
      N
    
    =
    
      
        r
        A
      
      -
      
        
          r
          A
        
        ⁢
        
          
            cos
            ⁡
            
              (
              
                
                  π
                  -
                  φ
                
                2
              
              )
            
          
          .
        
      
    
  




    
    
        Then, the relative timing difference between masker S and maskee N at that point is
    
    






  
    
      Δ
      t
    
    =
    
      
        
          
            d
            S
          
          -
          
            d
            N
          
        
        
          c
          ⁢
          
            
          
        
      
      =
      
        2
        ⁢
        
          
            r
            A
          
          c
        
        ⁢
        
          cos
          ⁡
          
            (
            
              
                π
                -
                φ
              
              2
            
            )
          
        
      
    
  
  ,




    
    
        where c denotes the speed of sound.
        For determining the differences in propagation loss a simple model with a loss by K=3 . . . 6 dB (the precise number depends on loudspeaker technology) per double-distance is assumed in the sequel. Furthermore it is assumed that the actual sound sources have a distance of dLS from the outer perimeter of the listening area. Then, the maximum propagation loss amounts to
    
    






  
    Δ
    L
  
  =
  
    
      K
      ⁢
      
        
      
      ⁢
      
        
          log
          2
        
        ⁡
        
          (
          
            
              
                d
                LS
              
              +
              
                d
                S
              
            
            
              
                d
                LS
              
              +
              
                d
                N
              
            
          
          )
        
      
    
    =
    
      K
      ⁢
      
        
      
      ⁢
      
        
          
            log
            2
          
          ⁡
          
            (
            
              
                1
                +
                
                  
                    
                      r
                      A
                    
                    
                      
                        r
                        A
                      
                      +
                      
                        d
                        LS
                      
                    
                  
                  ⁢
                  
                    cos
                    ⁡
                    
                      (
                      
                        
                          π
                          -
                          φ
                        
                        2
                      
                      )
                    
                  
                
              
              
                1
                -
                
                  
                    
                      r
                      A
                    
                    
                      
                        r
                        A
                      
                      +
                      
                        d
                        LS
                      
                    
                  
                  ⁢
                  
                    cos
                    ⁡
                    
                      (
                      
                        
                          π
                          -
                          φ
                        
                        2
                      
                      )
                    
                  
                
              
            
            )
          
        
        .
      
    
  




    
    
        This playback scenario model comprises the two parameters Δt(φ) and ΔL(φ). These parameters can be integrated into the joint psycho-acoustic modeling described above by adding the respective BMLD terms, i.e. by the replacement

SSFnew(φ)=SSFold(φ)−BMLDt(Δt(φ))−|ΔL(φ)|.

        Thereby, it is guaranteed that even in a large room any quantization error noise is masked by other spatial signal components.
    
    
    C) The same considerations as introduced in the previous sections can be applied for spatial audio formats which combine one or more discrete sound objects with one or more HOA components. The estimation of the psycho-acoustic masking threshold is performed for the full audio scene, including optional consideration of characteristics of the target environment as explained above. Then, the individual compression of discrete sound objects as well as the compression of the HOA components take the joint psycho-acoustic masking threshold into account for bit allocation.
    
        Compression of more complex audio scenes comprising both a HOA part and some distinct individual sound objects can be performed similar to the above joint psycho-acoustic model. A related compression processing is depicted in FIG. 13.
        In parallel to the consideration above, a joint psycho-acoustic model should take all sound objects into account. The same rationale and structure as introduced above can be applied. A high-level block diagram of the corresponding psycho-acoustic model is shown in FIG. 14.

## Claims

1. A method for carrying out an encoding on received successive frames of a higher-order Ambisonics representation of a 2- or 3-dimensional sound field, denoted as_HOA coefficients, said method comprising:
transforming a number of O=(N+1)2 input HOA coefficients of a frame into a number of O spatial domain signals representing a regular distribution of reference points on a sphere, wherein N is an order of said input HOA coefficients and is greater or equal to 3, and each one of said O spatial domain signals represents a set of plane waves which come from associated directions in space;
encoding each one of said O spatial domain signals using perceptual compression encoding steps or stages, thereby using encoding parameters selected such that a coding error is inaudible; and
multiplexing the encoded spatial domain signals of the frame into a joint bit stream for providing improved lossy compression of HOA representations of audio scenes.

2. The method according to claim 1, wherein a masking used in said perceptual compression encoding is a psycho-acoustic masking and is a combination of time-frequency masking and spatial masking.

3. The method according to claim 1, wherein said transforming into O spatial domain signals is plane wave decomposition.

4. The method according to claim 1, wherein said encoding of each of said O spatial domain signals corresponds to the MPEG-1 Audio Layer III or AAC or Dolby AC-3 standard.

5. An apparatus for carrying out an encoding on received successive frames of a higher order Ambisonics representation of a 2- or 3-dimensional sound field, denoted as HOA coefficients, said apparatus comprising:
a transformer configured to transform a number O=(N+1)2 input HOA coefficients of a frame into a number of O spatial domain signals representing a regular distribution of reference points on a sphere, wherein N is an order of said input HOA coefficients and is greater or equal to 3, and each one of said spatial domain signals represents a set of plane waves which come from associated directions in space;
encoders configured to encode each one of said O spatial domain signals using perceptual compression encoding steps or stages, thereby using encoding parameters selected such that a coding error is inaudible; and
a hardware multiplexer configured to multiplex the encoded spatial domain signals of the frame into a joint bit stream for providing improved lossy compression of HOA representations of audio scenes.

6. The apparatus according to claim 5, wherein a masking used in said perceptual compression encoding is a psycho-acoustic masking and is a combination of time-frequency masking and spatial masking.

7. The apparatus according to claim 5, wherein said transformation is a plane wave decomposition.

8. The apparatus according to claim 5, wherein said perceptual encoding corresponds to the MPEG-1 Audio Layer III or AAC or Dolby AC-3 standard.

9. A method for decoding received successive frames of a perceptual compression encoded higher-order Ambisonics representation of a 2- or 3-dimensional sound field, which was encoded according to claim 1, said decoding comprising:
de-multiplexing a received joint bit stream into a number of O=(N+1)2 perceptual compression encoded spatial domain signals;
decoding each one of said O encoded spatial domain signals into a corresponding decoded spatial domain signal using perceptual compression decoding steps or stages corresponding to a selected encoding type and using decoding parameters matching the encoding parameters, wherein said O decoded spatial domain signals represent a regular distribution of reference points on a sphere; and
transforming said O decoded spatial domain signals into O output HOA coefficients of a frame, wherein N is an order of said output HOA coefficients for providing improved lossy compression of HOA representations of audio scenes.

10. The method according to claim 9, wherein said decoding of each one of said O encoded spatial domain signals corresponds to the MPEG-1 Audio Layer III or AAC or Dolby AC-3 standard.

11. An apparatus for decoding received successive frames of a perceptual compression encoded higher-order Ambisonics representation of a 2- or 3-dimensional sound field, which was encoded according to claim 1, said apparatus comprising:
a hardware demultiplexer which demultiplexes a received joint bit stream into O=(N+1)2 perceptual compression encoded spatial domain signals;
decoders which decode each one of said O encoded spatial domain signals into a corresponding decoded spatial domain signal using perceptual compression decoding steps or stages corresponding to a selected encoding type and using decoding parameters matching the encoding parameters, wherein said O decoded spatial domain signals represent a regular distribution of reference points on a sphere; and
a transformer transforming said O decoded spatial domain signals into O output HOA coefficients of a frame, wherein N is an order of said output HOA coefficients for providing improved lossy compression of HOA representations of audio scenes.

12. The apparatus according to claim 11, wherein said decoding of each one of said O encoded spatial domain signals corresponds to the MPEG-1 Audio Layer III or AAC or Dolby AC-3 standard.

13. An apparatus for carrying out an encoding on received successive frames of a higher order Ambisonics representation of a 2- or 3-dimensional sound field, denoted as HOA coefficients, said apparatus comprising:
a means for transforming a number O=(N+1)2 input HOA coefficients of a frame into a number of O spatial domain signals representing a regular distribution of reference points on a sphere, wherein N is an order of said input HOA coefficients and is greater or equal to 3, and each one of said spatial domain signals represents a set of plane waves which come from associated directions in space;
a means for encoding each one of said O spatial domain signals using perceptual compression encoding steps or stages, thereby using encoding parameters selected such that a coding error is inaudible; and
a means for multiplexing the encoded spatial domain signals of the frame into a joint bit stream for providing improved lossy compression of HOA representations of audio scenes.

14. The apparatus according to claim 13, wherein a means for masking used in said perceptual compression encoding is a psycho-acoustic masking and is a combination of time-frequency masking and spatial masking.

15. The apparatus according to claim 13, wherein said means for transforming is a plane wave decomposition.

16. The apparatus according to claim 13, wherein a means for said perceptual compression encoding corresponds to the MPEG-1 Audio Layer III or AAC or Dolby AC-3 standard.

17. An apparatus for decoding received successive frames of a perceptual compression encoded higher-order Ambisonics representation of a 2- or 3-dimensional sound field, which was encoded according to claim 1, said apparatus comprising:
a means for demultiplexing a received joint bit stream into O=(N+1)2 perceptual compression encoded spatial domain signals;
a means for decoding each one of said O encoded spatial domain signals into a corresponding decoded spatial domain signal using perceptual compression decoding steps or stages corresponding to a selected encoding type and using decoding parameters matching the encoding parameters, wherein said O decoded spatial domain signals represent a regular distribution of reference points on a sphere; and
a means for transforming said O decoded spatial domain signals into O output HOA coefficients of a frame, wherein N is an order of said output HOA coefficients for providing improved lossy compression of HOA representations of audio scenes.

18. The apparatus according to claim 17, wherein said means for decoding of each one of said O encoded spatial domain signals corresponds to the MPEG-1 Audio Layer III or AAC or Dolby AC-3 standard.