# Patent

## Title
Method and device for decoding a higher-order ambisonics (HOA) representation of an audio soundfield

## Abstract

The invention discloses rendering sound field signals, such as Higher-Order Ambisonics (HOA), for arbitrary loudspeaker setups, where the rendering results in highly improved localization properties and is energy preserving. This is obtained by rendering an audio sound field representation for arbitrary spatial loudspeaker setups and/or by a decoder that decodes based on a decode matrix (D). The decode matrix (D) is based on smoothing and scaling of a first decode matrix {circumflex over (D)} with smoothing coefficients. The first decode matrix {circumflex over (D)} is based on a mix matrix G and a mode matrix {tilde over (Ψ)}, where the mix matrix G was determined based on L speakers and positions of a spherical modelling grid related to a HOA order N, and the mode matrix {tilde over (Ψ)} was determined based on the spherical modelling grid and the HOA order N.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
This application is a continuation of U.S. patent application Ser. No. 17/189,067, filed Mar. 1, 2021, which is a continuation of U.S. patent application Ser. No. 16/789,077, filed Feb. 12, 2020, now U.S. Pat. No. 10,939,220, which is a continuation of U.S. patent application Ser. No. 16/417,515, filed May 20, 2019, now U.S. Pat. No. 10,595,145, which is a continuation of U.S. patent application Ser. No. 16/114,937, filed Aug. 28, 2018, now U.S. patent Ser. No. 10,306,393, which is a continuation of U.S. patent application Ser. No. 15/920,849, filed Mar. 14, 2018, now U.S. Pat. No. 10,075,799, which is a continuation of the U.S. patent application Ser. No. 15/619,935, filed Jun. 12, 2017, now U.S. Pat. No. 9,961,470, which is a continuation of U.S. patent application Ser. No. 14/415,561, filed Jan. 16, 2015, now U.S. Pat. No. 9,712,938, which is the U.S. National Stage of the International Application No. PCT/EP2013/065034, filed Jul. 16, 2013, which claims priority to the European Patent Application No. 12305862.0, filed Jul. 16, 2012, each of which is incorporated by reference in its entirety.


FIELD OF THE INVENTION
This invention relates to a method and a device for rendering an audio soundfield representation, and in particular an Ambisonics formatted audio representation, for audio playback.
BACKGROUND
Accurate localization is a key goal for any spatial audio reproduction system. Such reproduction systems are highly applicable for conference systems, games, or other virtual environments that benefit from 3D sound. Sound scenes in 3D can be synthesized or captured as a natural sound field. Soundfield signals such as e.g. Ambisonics carry a representation of a desired sound field. The Ambisonics format is based on spherical harmonic decomposition of the soundfield. While the basic Ambisonics format or B-format uses spherical harmonics of order zero and one, the so-called Higher Order Ambisonics (HOA) uses also further spherical harmonics of at least 2nd order. A decoding or rendering process is required to obtain the individual loudspeaker signals from such Ambisonics formatted signals. The spatial arrangement of loudspeakers is referred to as loudspeaker setup herein. However, while known rendering approaches are suitable only for regular loudspeaker setups, arbitrary loudspeaker setups are much more common. If such rendering approaches are applied to arbitrary loudspeaker setups, sound directivity suffers.
SUMMARY OF THE INVENTION
The present invention describes a method for rendering/decoding an audio sound field representation for both regular and non-regular spatial loudspeaker distributions, where the rendering/decoding provides highly improved localization properties and is energy preserving. In particular, the invention provides a new way to obtain the decode matrix for sound field data, e.g. in HOA format. Since the HOA format describes a sound field, which is not directly related to loudspeaker positions, and since loudspeaker signals to be obtained are necessarily in a channel-based audio format, the decoding of HOA signals is always tightly related to rendering the audio signal. Therefore, the present invention relates to both decoding and rendering sound field related audio formats.
One advantage of the present invention is that energy preserving decoding with very good directional properties is achieved. The term “energy preserving” means that the energy within the HOA directive signal is preserved after decoding, so that e.g. a constant amplitude directional spatial sweep will be perceived with constant loudness. The term “good directional properties” refers to the speaker directivity characterized by a directive main lobe and small side lobes, wherein the directivity is increased compared with conventional rendering/decoding.
The invention discloses rendering sound field signals, such as Higher-Order Ambisonics (HOA), for arbitrary loudspeaker setups, where the rendering results in highly improved localization properties and is energy preserving. This is obtained by a new type of decode matrix for sound field data, and a new way to obtain the decode matrix. In a method for rendering an audio sound field representation for arbitrary spatial loudspeaker setups, the decode matrix for the rendering to a given arrangement of target loudspeakers is obtained by steps of obtaining a number of target speakers and their positions, positions of a spherical modeling grid and a HOA order, generating a mix matrix from the positions of the modeling grid and the positions of the speakers, generating a mode matrix from the positions of the spherical modeling grid and the HOA order, calculating a first decode matrix from the mix matrix and the mode matrix, and smoothing and scaling the first decode matrix with smoothing and scaling coefficients to obtain an energy preserving decode matrix.
In one embodiment, the invention relates to a method for decoding and/or rendering an audio sound field representation for audio playback. In another embodiment, the invention relates to a device for decoding and/or rendering an audio sound field representation for audio playback. In yet another embodiment, the invention relates to a computer readable medium having stored on it executable instructions to cause a computer to perform a method for decoding and/or rendering an audio sound field representation for audio playback.
Generally, the invention uses the following approach. First, panning functions are derived that are dependent on a loudspeaker setup that is used for playback. Second, a decode matrix (e.g. Ambisonics decode matrix) is computed from these panning functions (or a mix matrix obtained from the panning functions) for all loudspeakers of the loudspeaker setup. In a third step, the decode matrix is generated and processed to be energy preserving. Finally, the decode matrix is filtered in order to smooth the loudspeaker panning main lobe and suppress side lobes. The filtered decode matrix is used to render the audio signal for the given loudspeaker setup. Side lobes are a side effect of rendering and provide audio signals in unwanted directions. Since the rendering is optimized for the given loudspeaker setup, side lobes are disturbing. It is one of the advantages of the present invention that the side lobes are minimized, so that directivity of the loudspeaker signals is improved.
According to one embodiment of the invention, a method for rendering/decoding an audio sound field representation for audio playback comprises steps of buffering received HOA time samples b(t), wherein blocks of M samples and a time index □ are formed, filtering the coefficients B(□) to obtain frequency filtered coefficients {circumflex over (B)}(μ), rendering the frequency filtered coefficients {circumflex over (B)}(μ) to a spatial domain using a decode matrix D, wherein a spatial signal W(□) is obtained. In one embodiment, further steps comprise delaying the time samples w(t) individually for each of the L channels in delay lines, wherein L digital signals are obtained, and Digital-to-Analog (D/A) converting and amplifying the L digital signals, wherein L analog loudspeaker signals are obtained.
The decode matrix D for the rendering step, i.e. for rendering to a given arrangement of target speakers, is obtained by steps of obtaining a number of target speakers and positions of the speakers, determining positions of a spherical modeling grid and a HOA order, generating a mix matrix from the positions of a spherical modeling grid and the positions of the speakers, generating a mode matrix from the spherical modeling grid and the HOA order, calculating a first decode matrix from the mix matrix G and the mode matrix {tilde over (Ψ)}, and smoothing and scaling the first decode matrix with smoothing and scaling coefficients, wherein the decode matrix is obtained.
According to another aspect, a device for decoding an audio sound field representation for audio playback comprises a rendering processing unit having a decode matrix calculating unit for obtaining the decode matrix D, the decode matrix calculating unit comprising means for obtaining a number L of target speakers and means for obtaining positions L of the speakers, means for determining positions a spherical modeling grid s and means for obtaining a HOA order N, and first processing unit for generating a mix matrix G from the positions of the spherical modeling grid s and the positions of the speakers, second processing unit for generating a mode matrix {tilde over (Ψ)} from the spherical modeling grid s and the HOA order N, third processing unit for performing a compact singular value decomposition of the product of the mode matrix {tilde over (Ψ)} with the Hermitian transposed mix matrix G according to U S VH={tilde over (Ψ)}GH, where U,V are derived from Unitary matrices and S is a diagonal matrix with singular value elements, calculating means for calculating a first decode matrix {circumflex over (D)} from the matrices U,V according to {circumflex over (D)}=V Ŝ UH, wherein Ŝ is either an identity matrix or a diagonal matrix derived from said diagonal matrix with singular value elements, and a smoothing and scaling unit for smoothing and scaling the first decode matrix {circumflex over (D)} with smoothing coefficients , wherein the decode matrix D is obtained.
According to yet another aspect, a computer readable medium has stored on it executable instructions that when executed on a computer cause the computer to perform a method for decoding an audio sound field representation for audio playback as disclosed above.
According to an aspect of the invention, a method for rendering a Higher-Order Ambisonics (HOA) representation of a sound or sound field, includes rendering coefficients of the HOA sound field representation from a frequency domain to a spatial domain based on a smoothed decode matrix {tilde over (D)}, determining a mix matrix G based on L speakers and positions of a spherical modelling grid related to a HOA order N; determining a mode matrix {tilde over (Ψ)}based on the spherical modelling grid and the HOA order N; wherein a compact singular value decomposition of a product of the mode matrix {tilde over (Ψ)} with a Hermitian transposed mix matrix GH is determined based on U S VH={tilde over (Ψ)}GH, wherein U,V are based on Unitary matrices and S is based on a diagonal matrix with singular value elements, and a first decode matrix {circumflex over (D)} is determined based on the matrices U,V based on {circumflex over (D)}=VŜUH, wherein 3 is a truncated compact singular value decomposition matrix that is either an identity matrix or a modified diagonal matrix, the modified diagonal matrix being determined based on the diagonal matrix with singular value elements by replacing a singular value element that is larger or equal than a threshold by ones, and replacing a singular value element that is smaller than the threshold by zeros, and wherein the smoothed decode matrix {tilde over (D)} is determined based on smoothing and scaling of the first decode matrix {circumflex over (D)} with smoothing coefficients, and wherein a rendering matrix D is determined based on a Frobenius norm of the smoothed decode matrix {tilde over (D)}.
The smoothing may be based on a first smoothing method that is based on a determination of L≥O3D, and the smoothing is further based on a second smoothing method that is based on a determination of L≤O3D, wherein O3D=(N+1)2, and wherein the smoothed decode matrix {tilde over (D)} is obtained based on the smoothing. The second smoothing method may be based on weighting coefficients that are based on elements of a Kaiser window. The Kaiser window may be determined based on =KaiserWindow(len, width), wherein len=2N+1, width=2N, wherein  is a vector with 2N+1 real valued elements based on



 
  
   
    K
    i
   
   =
   
    
     
      I
      0
     
     (
     
      width
      ⁢
      
       
        1
        -
        
         
          (
          
           
            
             2
             ⁢
             i
            
            
             len
             -
             1
            
           
           -
           1
          
          )
         
         2
        
       
      
     
     )
    
    
     
      I
      0
     
     (
     width
     )
    
   
  
  ,
 



wherein Io denotes a zero-order Modified Bessel function of a first kind. The first smoothing method may be based on weighting coefficients  that are based on zeros of Legendre polynomials of order N+1.

The first decode matrix {circumflex over (D)} may be smoothed to obtain the smoothed decode matrix {tilde over (D)}, and the smoothed decode matrix {circumflex over (D)} is scaled based on a constant scaling factor cf. The method may include buffering and serializing a spatial signal W which is obtained based on the rendering the coefficients of the HOA sound field representation, wherein time samples w(t) for L channels are obtained; and delaying time samples w(t) individually for each of the L channels in delay lines, wherein L digital signals are obtained; and wherein the delay lines compensate different loudspeaker distances.
An aspect is directed to an apparatus for rendering a Higher-Order Ambisonics (HOA) representation of a sound or sound field, comprising a decoder configured to decode coefficients of the HOA sound field representation. The decoder includes a renderer configured to render coefficients of the HOA sound field representation from a frequency domain to a spatial domain based on a smoothed decode matrix {tilde over (D)}, a processing unit configured to determine a mix matrix G based on L speakers and positions of a spherical modelling grid related to a HOA order N and determining a mode matrix {tilde over (Ψ)} based on the spherical modelling grid and the HOA order N and determining a mode matrix {tilde over (Ψ)} based on the spherical modelling grid and the HOA order N; wherein the processing unit is further configured to determine a compact singular value decomposition of a product of the mode matrix {tilde over (Ψ)} with a Hermitian transposed mix matrix GH is determined based on U S VH={tilde over (Ψ)}GH, and wherein U,V are based on Unitary matrices and S is based on a diagonal matrix with singular value elements, and a first decode matrix {circumflex over (D)} is determined based on the matrices U,V based on {circumflex over (D)}=VŜUH, wherein 3 is a truncated compact singular value decomposition matrix that is either an identity matrix or a modified diagonal matrix, the modified diagonal matrix being determined based on the diagonal matrix with singular value elements by replacing a singular value element that is larger or equal than a threshold by ones, and replacing a singular value element that is smaller than the threshold by zeros, and wherein the smoothed decode matrix {tilde over (D)} is determined based on smoothing and scaling of the first decode matrix {circumflex over (D)} with smoothing coefficients, wherein a rendering matrix D is determined based on a Frobenius norm of the smoothed decode matrix {tilde over (D)}. The decoder may be configured to apply the smoothed decode matrix {tilde over (D)} to the HOA sound field representation to determine a decoded audio signal. The apparatus may further comprise a storage for storing the smoothed decode matrix {tilde over (D)}. The smoothing may be based on a first smoothing method that is based on a determination of L≥O3D, and the smoothing is further based on a second smoothing method that is based on a determination of L<O3D, wherein O3D=(N+1)2, and wherein the smoothed decode matrix {tilde over (D)} is obtained based on the smoothing. The second smoothing method may be based on weighting coefficients  that are based on elements of a Kaiser window. The Kaiser window is determined based on =KaiserWindow(len, width), wherein len=2N+1, width=2N, wherein  is a vector with 2N+1 real valued elements based on



 
  
   
    K
    i
   
   =
   
    
     
      I
      0
     
     (
     
      width
      ⁢
      
       
        1
        -
        
         
          (
          
           
            
             2
             ⁢
             i
            
            
             len
             -
             1
            
           
           -
           1
          
          )
         
         2
        
       
      
     
     )
    
    
     
      I
      0
     
     (
     width
     )
    
   
  
  ,
 



wherein Io denotes a zero-order Modified Bessel function of a first kind. The first smoothing method may be based on weighting coefficients that are based on zeros of Legendre polynomials of order N+1. The first decode matrix {circumflex over (D)} may be smoothed to obtain the smoothed decode matrix {tilde over (D)}, and the smoothed decode matrix {tilde over (D)} is scaled based on a constant scaling factor cf.

An aspect of the present invention is directed to methods, apparatus and non-transitory computer readable medium having stored thereon executable instructions to cause a computer to perform a method of decoding a Higher-Order Ambisonics (HOA) representation of a sound or sound field, the method comprising:
receiving a smoothed decode matrix {tilde over (D)} that is based on a mix matrix G and a mode matrix {tilde over (Ψ)}, wherein the mix matrix G was determined based on L speakers and positions of a spherical modelling grid related to a HOA order N, wherein the mode matrix {tilde over (Ψ)} was determined based on the spherical modelling grid and the HOA order N,
wherein the smoothed decode matrix {tilde over (D)} was determined based on smoothing and scaling of a first decode matrix {circumflex over (D)} with smoothing coefficients, wherein the first decode matrix {circumflex over (D)} was determined based on {circumflex over (D)}=V S UH, wherein U,V are based on Unitary matrices, wherein a compact singular value decomposition of a product of the mode matrix {tilde over (Ψ)} with a Hermitian transposed mix matrix GH is determined based on U S VH={tilde over (Ψ)}GH, wherein S is based on a diagonal matrix with singular value elements, and wherein Ŝ is a truncated compact singular value decomposition matrix that is either an identity matrix or a modified diagonal matrix, the modified diagonal matrix being determined based on the diagonal matrix with singular value elements by replacing a singular value element that is larger or equal than a threshold by ones, and replacing a singular value element that is smaller than the threshold by zeros, and wherein a value of the threshold for each singular value element depends on the value of the each singular value element; and
rendering coefficients of the HOA sound field representation from a frequency domain to a spatial domain based on the smoothed decode matrix {tilde over (D)}.
Further objects, features and advantages of the invention will become apparent from a consideration of the following description and the appended claims when taken in connection with the accompanying drawings.



BRIEF DESCRIPTION OF THE DRAWINGS
Exemplary embodiments of the invention are described with reference to the accompanying drawings, which show in
FIG. 1 illustrates an exemplary flow-chart of a method according to one embodiment of the invention;
FIG. 2 illustrates an exemplary flow-chart of a method for building the mix matrix G;
FIG. 3 illustrates an exemplary block diagram of a renderer;
FIG. 4A illustrates an exemplary;
FIG. 4B illustrates an exemplary a flow-chart of schematic steps of a decode matrix generation process;
FIG. 5 illustrates an exemplary block diagram of a decode matrix generation unit;
FIG. 6 illustrates an exemplary 16-speaker setup, where speakers are shown as connected nodes;
FIG. 7 illustrates the exemplary 16-speaker setup in natural view, where nodes are shown as speakers;
FIG. 8 illustrates an energy diagram showing the Ê/E ratio being constant for perfect energy preserving characteristics for a decode matrix obtained with prior art [14], with N=3;
FIG. 9 illustrates a sound pressure diagram for a decode matrix designed according to prior art [14] with N=3, where the panning beam of the center speaker has strong side lobes;
FIG. 10 illustrates an energy diagram showing the Ê/E ratio having fluctuations larger than 4 dB for a decode matrix obtained with prior art [2], with N=3;
FIG. 11 illustrates a sound pressure diagram for a decode matrix designed according to prior art [2] with N=3, where the panning beam of the center speaker has small side lobes;
FIG. 12 illustrates an energy diagram showing the Ê/E ratio having fluctuations smaller than 1 dB as obtained by a method or apparatus according to the invention, where spatial pans with constant amplitude are perceived with equal loudness; and
FIG. 13 illustrates a sound pressure diagram for a decode matrix designed with the method according to the invention, where the center speaker has a panning beam with small side lobes.



DETAILED DESCRIPTION OF THE INVENTION
In general, the invention relates to rendering (i.e. decoding) sound field formatted audio signals such as Higher Order Ambisonics (HOA) audio signals to loudspeakers, where the loudspeakers are at symmetric or asymmetric, regular or non-regular positions. The audio signals may be suitable for feeding more loudspeakers than available, e.g. the number of HOA coefficients may be larger than the number of loudspeakers. The invention provides energy preserving decode matrices for decoders with very good directional properties, i.e. speaker directivity lobes generally comprise a stronger directive main lobe and smaller side lobes than speaker directivity lobes obtained with conventional decode matrices. Energy preserving means that the energy within the HOA directive signal is preserved after decoding, so that e.g. a constant amplitude directional spatial sweep will be perceived with constant loudness.
FIG. 1 shows a flow-chart of a method according to one embodiment of the invention. In this embodiment, the method for rendering (i.e. decoding) a HOA audio sound field representation for audio playback uses a decode matrix that is generated as follows: first, a number L of target loudspeakers, the positions L of the loudspeakers, a spherical modeling grid s and an order N (e.g. HOA order) are determined 11. From the positions L of the speakers and the spherical modeling grid s, a mix matrix G is generated 12, and from the spherical modeling grid s and the HOA order N, a mode matrix {tilde over (Ψ)} is generated 13. A first decode matrix {circumflex over (D)} is calculated 14 from the mix matrix G and the mode matrix {tilde over (Ψ)}. The first decode matrix {circumflex over (D)} is smoothed 15 with smoothing coefficients, wherein a smoothed decode matrix {circumflex over (D)} is obtained, and the smoothed decode matrix {circumflex over (D)} is scaled 16 with a scaling factor obtained from the smoothed decode matrix {circumflex over (D)}, wherein the decode matrix D is obtained. In one embodiment, the smoothing 15 and scaling 16 is performed in a single step.
In one embodiment, the smoothing coefficients  are obtained by one of two different methods, depending on the number of loudspeakers L and the number of HOA coefficient channels O3D=(N+1)2. If the number of loudspeakers L is below the number of HOA coefficient channels O3D, a new method for obtaining the smoothing coefficients is used.
In one embodiment, a plurality of decode matrices corresponding to a plurality of different loudspeaker arrangements are generated and stored for later usage. The different loudspeaker arrangements can differ by at least one of the number of loudspeakers, a position of one or more loudspeakers and an order N of an input audio signal. Then, upon initializing the rendering system, a matching decode matrix is determined, retrieved from the storage according to current needs, and used for decoding.
In one embodiment, the decode matrix D is obtained by performing a compact singular value decomposition of the product of the mode matrix {tilde over (Ψ)} with the Hermitian transposed mix matrix GH according to U S VH={tilde over (Ψ)}GH, and calculating a first decode matrix {circumflex over (D)} from the matrices U,V according to {circumflex over (D)}=V UH. The U,V are derived from Unitary matrices, and S is a diagonal matrix with singular value elements of said compact singular value decomposition of the product of the mode matrix {tilde over (Ψ)} with the Hermitian transposed mix matrix GH. Decode matrices obtained according to this embodiment are often numerically more stable than decode matrices obtained with an alternative embodiment described below. The Hermitian transposed of a matrix is the conjugate complex transposed of the matrix.
In the alternative embodiment, the decode matrix D is obtained by performing a compact singular value decomposition of the product of the Hermitian transposed mode matrix {tilde over (Ψ)}H with the mix matrix G according to U S VH=G{tilde over (Ψ)}H, wherein a first decode matrix is derived by {circumflex over (D)}=U VH.
In one embodiment, a compact singular value decomposition is performed on the mode matrix {tilde over (Ψ)} and mix matrix G according to U S VH=G{tilde over (Ψ)}H, where a first decode matrix is derived by {circumflex over (D)}=U S VH, where Ŝ is a truncated compact singular value decomposition matrix that is derived from the singular value decomposition matrix S by replacing all singular values larger or equal than a threshold thr by ones, and replacing elements that are smaller than the threshold thr by zeros. The threshold thr depends on the actual values of the singular value decomposition matrix and may be, exemplarily, in the order of 0.06*S1 (the maximum element of S).
In one embodiment, a compact singular value decomposition is performed on the mode matrix {tilde over (Ψ)} and mix matrix G according to S UH=G{tilde over (Ψ)}H, where a first decode matrix is derived by {circumflex over (D)}=VŜUH. The Ŝ and threshold thr are as described above for the previous embodiment. The threshold thr is usually derived from the largest singular value.
In one embodiment, two different methods for calculating the smoothing coefficients are used, depending on the HOA order N and the number of target speakers L: if there are less target speakers than HOA channels, i.e. if O3D=(N2+1)>L, the smoothing and scaling coefficients  corresponds to a conventional set of max rE coefficients that are derived from the zeros of the Legendre polynomials of order N+1; otherwise, if there are enough target speakers, i.e. if O3D=(N2+1)≤L, the coefficients of are constructed from the elements  of a Kaiser window with len=(2N+1) and width=2N according to =cf[N+1,N+2,N+2,N+2,N+3,N+3, . . . , 2N]T with a scaling factor cf. The used elements of the Kaiser window begin with the (N+1)′ element, which is used only once, and continue with subsequent elements which are used repeatedly: the (N+2)nd element is used three times, etc.
In one embodiment, the scaling factor is obtained from the smoothed decoding matrix. In particular, in one embodiment it is obtained according to



 
  
   c
   f
  
  =
  
   
    1
    
     
      
       ∑
       
        l
        =
        1
       
       L
      
      
       
        ∑
        
         q
         =
         1
        
        
         O
         
          3
          ⁢
          D
         
        
       
       
        
         
          ❘
          "\[LeftBracketingBar]"
         
         
          
           d
           ~
          
          
           l
           ,
           q
          
         
         
          ❘
          "\[RightBracketingBar]"
         
        
        2
       
      
     
    
   
   .
  
 



In the following, a full rendering system is described. A major focus of the invention is the initialization phase of the renderer, where a decode matrix {circumflex over (D)} is generated as described above. Here, the main focus is a technology to derive the one or more decoding matrices, e.g. for a code book. For generating a decode matrix, it is known how many target loudspeakers are available, and where they are located (i.e. their positions).
FIG. 2 shows a flow-chart of a method for building the mix matrix G, according to one embodiment of the invention. In this embodiment, an initial mix matrix with only zeros is created 21, and for every virtual source s with an angular direction ΩS=[θs, φs]T and radius rs, the following steps are performed. First, three loudspeakers l1, l2, l3 are determined 22 that surround the position [1,ΩST]T, wherein unit radii are assumed, and a matrix R=[rl1, rl2, rl3] is built 23, with rli=[1, {circumflex over (Ω)}liT]T. The matrix R is converted 24 to Cartesian coordinates, according to Lt=spherical_to_cartesian(R). Then, a virtual source position is built 25 according to s=(sin Θs cos φs, sin Θs sin φs, cos Θs)T, and a gain g is calculated 26 according to g=Lt−1s, with g=(gl1, gl1, gl3)T. The gain is normalized 27 according to =g/∥g∥2, and the corresponding elements Gl,s of G are replaced with the normalized gains: Gl1,s=gl1, Gl2,s=gl2, Gl3,s=gl3.
The following section gives a brief introduction to Higher Order Ambisonics (HOA) and defines the signals to be processed, i.e. rendered for loudspeakers. Higher Order Ambisonics (HOA) is based on the description of a sound field within a compact area of interest, which is assumed to be free of sound sources. In that case the spatiotemporal behavior of the sound pressure p(t, x) at time t and position x=[r, θ, φ]T within the area of interest (in spherical coordinates: radius r, inclination θ, azimuth φ) is physically fully determined by the homogeneous wave equation. It can be shown that the Fourier transform of the sound pressure with respect to time, i.e.,

P(ω,x)=t{p(t,x)}  (1)

where ω denotes the angular frequency (and t { } corresponds to ∫−∞∞p(t, x) e−ωtdt), may be expanded into the series of Spherical Harmonics (SHs) according to [13]:




 
  
   
    
     
      P
      ⁡
      (
      
       
        k
        ⁢
        
         c
         s
        
       
       ,
       x
      
      )
     
     =
     
      
       ∑
       
        n
        =
        0
       
       ∞
      
      
       
        ∑
        
         m
         =
         
          -
          n
         
        
        n
       
       
        
         
          A
          n
          m
         
         (
         k
         )
        
        ⁢
        
         
          j
          n
         
         (
         kr
         )
        
        ⁢
        
         
          Y
          n
          m
         
         (
         
          θ
          ,
          φ
         
         )
        
       
      
     
    
   
   
    
     (
     2
     )
    
   
  
 



In eq. (2), cs denotes the speed of sound and




 
  k
  =
  
   ω
   
    c
    s
   
  
 



the angular wave number. Further, jn(·) indicate the spherical Bessel functions of the first kind and order n and Ynm(·) denote the Spherical Harmonics (SH) of order n and degree m. The complete information about the sound field is actually contained within the sound field coefficients Anm (k).

It should be noted that the SHs are complex valued functions in general. However, by an appropriate linear combination of them, it is possible to obtain real valued functions and perform the expansion with respect to these functions.

Related to the pressure sound field description in eq. (2) a source field can be defined as:



 
  
   
    
     
      
       D
       ⁡
       (
       
        
         k
         ⁢
         
          c
          s
         
        
        ,
        Ω
       
       )
      
      =
      
       
        ∑
        
         n
         =
         0
        
        ∞
       
       
        
         ∑
         
          m
          =
          
           -
           n
          
         
         n
        
        
         
          
           B
           n
           m
          
          (
          k
          )
         
         ⁢
         
          
           Y
           n
           m
          
          (
          Ω
          )
         
        
       
      
     
     ,
    
   
   
    
     (
     3
     )
    
   
  
 



with the source field or amplitude density [12] D(k cs, Ω) depending on angular wave number and angular direction Ω=[θ,φ]T. A source field can consist of far-field/nearfield, discrete/continuous sources [1]. The source field coefficients Bnm are related to the sound field coefficients Anm by, [1]:




 
  
   
    
     
      A
      n
      m
     
     =
     
      {
      
       
        
         
          4
          ⁢
          π
          ⁢
          
           i
           n
          
          ⁢
          
           B
           n
           m
          
         
        
        
         
          for
          ⁢
             
          the
          ⁢
             
          far
          ⁢
             
          field
         
        
       
       
        
         
          
           -
           i
          
          ⁢
          k
          ⁢
          
           
            h
            n
            
             (
             2
             )
            
           
           (
           
            kr
            s
           
           )
          
          ⁢
          
           B
           n
           m
          
         
        
        
         
          for
          ⁢
             
          the
          ⁢
             
          near
          ⁢
             
          field
         
        
       
      
     
    
   
   
    
     (
     4
     )
    
   
  
 



where it hn(2) is the spherical Hankel function of the second kind and rs is the source distance from the origin.

Signals in the HOA domain can be represented in frequency domain or in time domain as the inverse Fourier transform of the source field or sound field coefficients. The following description will assume the use of a time domain representation of source field coefficients:

bnm=it{Bnm}  (5)

of a finite number: The infinite series in eq. (3) is truncated at n=N. Truncation corresponds to a spatial bandwidth limitation. The number of coefficients (or HOA channels) is given by:

O3D=(N+1)2 for 3D  (6)

or by O2D=2N+1 for 2D only descriptions. The coefficients bnm comprise the Audio information of one time sample t for later reproduction by loudspeakers. They can be stored or transmitted and are thus subject of data rate compression. A single time sample t of coefficients can be represented by vector b(t) with O3D elements:

b(t):=[b00(t),b1−1(t),b10(t),b11(t),b2−2(t), . . . ,bNN(t)]T  (7)

and a block of M time samples by matrix B∈O3D×M 

B:=[b(tSTART+1),b(tSTART+2), . . . ,b(tSTART+M)]  (8)

Two dimensional representations of sound fields can be derived by an expansion with circular harmonics. This is a special case of the general description presented above using a fixed inclination of



 
  
   θ
   =
   
    π
    2
   
  
  ,
 



different weighing of coefficients and a reduced set to O2D coefficients (m=±n). Thus, all of the following considerations also apply to 2D representations; the term “sphere” then needs to be substituted by the term “circle”.

In one embodiment, metadata is sent along the coefficient data, allowing an unambiguous identification of the coefficient data. All necessary information for deriving the time sample coefficient vector b(t) is given, either through transmitted metadata or because of a given context. Furthermore, it is noted that at least one of the HOA order N or O3D, and in one embodiment additionally a special flag together with rs to indicate a nearfield recording are known at the decoder.
Next, rendering a HOA signal to loudspeakers is described. This section shows the basic principle of decoding and some mathematical properties.
Basic decoding assumes, first, plane wave loudspeaker signals and, second, that the distance from speakers to origin can be neglected. A time sample of HOA coefficients b rendered to L loudspeakers that are located at spherical directions {circumflex over (Ω)}l=[θl, l]T with l=1, . . . , L can be described by [10]:

w=Db  (9)

where w∈L×1 represents a time sample of L speaker signals and decode matrix D∈L×O3D. A decode matrix can be derived by

D=Ψ+  (10)

where Ψ+ is the pseudo inverse of the mode matrix Ψ. The mode-matrix Ψ is defined as

Ψ=[y1, . . . ,yL]  (11)

with Ψ∈O3D×L and yl=[Y00({circumflex over (Ω)}l), Y1−1({circumflex over (Ω)}1), . . . , YNN({circumflex over (Ω)}l)]H consisting of the Spherical Harmonics of the speaker directions {circumflex over (Ω)}l=[{circumflex over (θ)}l, ]T where H denotes conjugate complex transposed (also known as Hermitian).

Next, a pseudo inverse of a matrix by Singular Value Decomposition (SVD) is described. One universal way to derive a pseudo inverse is to first calculate the compact SVD:

Ψ=U S VH  (12)

where U∈O3D×K, V ∈L×K are derived from rotation matrices and S=diag(S1, . . . , SK)∈K×K is a diagonal matrix of the singular values in descending order S1≥S2≥ . . . ≥SK with K>0 and K≤min(O3D, L). The pseudo inverse is determined by

Ψ+=V ŜUH  (13)

where Ŝ=diag(S1−1, . . . , SK−1). For bad conditioned matrices with very small values of SK, the corresponding inverse values Sk−1 are replaced by zero. This is called Truncated Singular Value Decomposition. Usually a detection threshold with respect to the largest singular value S1 is selected to identify the corresponding inverse values to be replaced by zero.

In the following, the energy preservation property is described. The signal energy in HOA domain is given by

E=bHb  (14)

and the corresponding energy in the spatial domain by

Ê=wHw=bHdHDb  (15)

The ratio Ê/E for an energy preserving decoder matrix is (substantially) constant. This can only be achieved if DHD=cI, with identity matrix I and constant c∈. This requires D to have a norm-2 condition number cond(D)=1. This again requires that the SVD (Singular Value Decomposition) of D produces identical singular values: D=U S VH with

S=diag(SK, . . . ,SK).

Generally, energy preserving renderer design is known in the art. An energy preserving decoder matrix design for L≥O3D is proposed in [14] by

D=V UH  (16)

where Ŝ from eq. (13) is forced to be Ŝ=I and thus can be dropped in eq. (16). The product DHD=U VHV UH=I and the ratio Ê/E becomes one. A benefit of this design method is the energy preservation which guarantees a homogenous spatial sound impression where spatial pans have no fluctuations in perceived loudness. A drawback of this design is a loss in directivity precision and strong loudspeaker beam side lobes for asymmetric, non-regular speaker positions (see FIG. 8-9). The present invention can overcome this drawback.

Also, a renderer design for non-regular positioned speakers is known in the art: In [2], a decoder design method for L≥O3D and L<O3D is described which allows rendering with high precision in reproduced directivity. A drawback of this design method is that the derived renderers are not energy preserving (see FIG. 10-11).
Spherical convolution can be used for spatial smoothing. This is a spatial filtering process, or a windowing in the coefficient domain (convolution). Its purpose is to minimize the side lobes, so-called panning lobes. A new coefficient {tilde over (b)}nm is given by the weighted product of the original HOA coefficient {tilde over (b)}nm and a zonal coefficient hn0[5]:



 
  
   
    
     
      
       b
       ~
      
      n
      m
     
     =
     
      2
      ⁢
      π
      ⁢
      
       
        
         4
         ⁢
         π
        
        
         
          2
          ⁢
          n
         
         +
         1
        
       
      
      ⁢
      
       h
       n
       0
      
      ⁢
      
       b
       n
       m
      
     
    
   
   
    
     (
     17
     )
    
   
  
 



This is equivalent to a left convolution on S2 in the spatial domain [5]. Conveniently this is used in [5] to smooth the directive properties of loudspeaker signals prior to rendering/decoding by weighting the HOA coefficients B by:

{tilde over (B)}=diag()B,  (18)

with vector




 
  h
  =
  
   
    
     d
     f
    
    (
    
     
      h
      0
      0
     
     ,
     
      
       h
       1
       0
      
      
       3
      
     
     ,
     
      
       h
       1
       0
      
      
       3
      
     
     ,
     
      
       h
       1
       0
      
      
       3
      
     
     ,
     
      
       h
       2
       0
      
      
       5
      
     
     ,
     
      
       h
       2
       0
      
      
       5
      
     
     ,
     ...
        
     ,
     
      
       h
       N
       0
      
      
       
        
         √
         2
        
        ⁢
        N
       
       +
       1
      
     
    
    )
   
   T
  
 



containing usually real valued weighting coefficients and a constant factor df. The idea of smoothing is to attenuate HOA coefficients with increasing order index n. A well-known example of smoothing weighting coefficients  are so called max rv, max rE and inphase coefficients [4]. The first offers the default amplitude beam (trivial, =(1, 1, . . . , 1)T, a vector of length O3D with only ones), the second provides evenly distributed angular power and inphase features full side lobe suppression.

In the following, further details and embodiments of the disclosed solution are described.
First, a renderer architecture is described in terms of its initialization, start-up behavior and processing.
Every time the loudspeaker setup, i.e. the number of loudspeakers or position of any loudspeaker relative to the listening position changes, the renderer needs to perform an initialization process to determine a set of decoding matrices for any HOA-order N that supported HOA input signals have. Also, the individual speaker delays dl for the delay lines and speaker gains l are determined from the distance between a speaker and a listening position. This process is described below. In one embodiment, the derived decoding matrices are stored within a code book. Every time the HOA audio input characteristics change, a renderer control unit determines currently valid characteristics and selects a matching decode matrix from the code book. Code book key can be the HOA order N or, equivalently, O3D (see eq. (6)).
The schematic steps of data processing for rendering are explained with reference to FIG. 3, which shows a block diagram of processing blocks of the renderer. These are a first buffer 31, a Frequency Domain Filtering unit 32, a rendering processing unit 33, a second buffer 34, a delay unit 35 for L channels, and a digital-to-analog converter and amplifier 36.
The HOA time samples with time-index t and O3D HOA coefficient channels b(t) are first stored in the first buffer 31 to form blocks of M samples with block index μ. The coefficients of B(μ) are frequency filtered in the Frequency Domain Filtering unit 32 to obtain frequency filtered blocks {circumflex over (B)}(μ). This technology is known (see [3]) for compensating for the distance of the spherical loudspeaker sources and enabling the handling of near field recordings. The frequency filtered block signals {circumflex over (B)}(μ) are rendered to the spatial domain in the rendering processing unit 33 by:

W(μ)=D{circumflex over (B)}(μ)  (19)

with W(μ)∈L×M representing a spatial signal in L channels with blocks of M time samples. The signal is buffered in the second buffer 34 and serialized to form single time samples with time index t in L channels, referred to as w(t) in FIG. 3. This is a serial signal that is fed to L digital delay lines in the delay unit 35. The delay lines compensate for different distances of listening position to individual speaker l with a delay of dl samples. In principle, each delay line is a FIFO (first-in-first-out memory). Then, the delay compensated signals 355 are D/A converted and amplified in the digital-to-analog converter and amplifier 36, which provides signals 365 that can be fed to L loudspeakers. The speaker gain compensation l can be considered before D/A conversion or by adapting the speaker channel amplification in analog domain.

The renderer initialization works as follows.
First, speaker number and positions need to be known. The first step of the initialization is to make available the new speaker number L and related positions L=[r1, r2, . . . , rL], with rl=[r1, {circumflex over (θ)}l,]T=[rl, {circumflex over (Ω)}1T] where r1 is the distance from a listening position to a speaker l, and where {circumflex over (θ)}l,  are the related spherical angles. Various methods may apply, e.g. manual input of the speaker positions or automatic initialization using a test signal. Manual input of the speaker positions L may be done using an adequate interface, like a connected mobile device or a device-integrated user-interface for selection of predefined position sets. Automatic initialization may be done using a microphone array and dedicated speaker test signals with an evaluation unit to derive L. The maximum distance rmax is determined by rmax=max(r1, . . . , rL), the minimal distance rmin by rmin=min(r1, . . . , rL).
The L distances rl and rmax are input to the delay line and gain compensation 35. The number of delay samples for each speaker channel dl are determined by

dl=[(rmax−rl)fs/c+0.5]  (20)

with sampling rate fs, speed of sound c (c≅343 m/s at a temperature of 20° celsius) and [x+0.5] indicating rounding to next integer. To compensate the speaker gains for different rl, loudspeaker gains l are determined by




 
  
   
    g
    l
   
   =
   
    
     r
     l
    
    
     r
     
      m
      ⁢
      i
      ⁢
      n
     
    
   
  
  ,
 



or are derived using an acoustical measurement.

Calculation of decoding matrices, e.g. for the code book, works as follows. Schematic steps of a method for generating the decode matrix, in one embodiment, are shown in FIGS. 4A and 4B. FIG. 5 shows, in one embodiment, processing blocks of a corresponding device for generating the decode matrix. Inputs are speaker directions L, a spherical modeling grid s and the HOA-order N.
The speaker directions L=[{circumflex over (Ω)}1, . . . , {circumflex over (Ω)}L] can be expressed as spherical angles {circumflex over (Ω)}l=[{circumflex over (θ)}l, ]T, and the spherical modeling grid s=[Ωs, . . . , ΩS] by spherical angles ΩS=[θs, φs]T. The number of directions is selected larger than the number of speakers (S>L) and larger than the number of HOA coefficients (S>O3D). The directions of the grid should sample the unit sphere in a very regular manner. Suited grids are discussed in [6], [9] and can be found in [7], [8]. The grid s is selected once. As an example, a S=324 grid from [6] is sufficient for decoding matrices up to HOA-order N=9. Other grids may be used for different HOA orders. The HOA-order N is selected incremental to fill the code book from N=1, . . . , Nmax, with Nmax as the maximum HOA-order of supported HOA input content.
The speaker directions L and the spherical modeling grid s are input to a Build Mix-Matrix block 41, which generates a mix matrix G thereof. The a spherical modeling grid s and the HOA order N are input to a Build Mode-Matrix block 42, which generates a mode matrix {tilde over (Ψ)} thereof. The mix matrix G and the mode matrix {tilde over (Ψ)} are input to a Build Decode Matrix block 43, which generates a decode matrix {circumflex over (D)} thereof. The decode matrix is input to a Smooth Decode Matrix block 44, which smoothes and scales the decode matrix. Further details are provided below. Output of the Smooth Decode Matrix block 44 is the decode matrix D, which is stored in the code book with related key N (or alternatively O3D). In the Build Mode-Matrix block 42, the spherical modeling grid s is used to build a mode matrix analogous to eq. (11): {tilde over (Ψ)}=[y1, . . . ys] with ys=[Y00(Ωs), Y1−1(Ωs), . . . , YNN(Ωs)]H. It is noted that the mode matrix {tilde over (Ψ)} is referred to as Ξ in [2].
In the Build Mix-Matrix block 41, a mix matrix G is created with G∈L×S. It is noted that the mix matrix G is referred to as W in [2]. An lth row of the mix matrix G consists of mixing gains to mix S virtual sources from directions s to speaker l. In one embodiment, Vector Base Amplitude Panning (VBAP) [11] is used to derive these mixing gains, as also in [2].
The algorithm to derive G is summarized in the following.













 1
Create G with zero values (i.e. initialize G)


 2
for every s = 1 ... S


 3
{


 4
Find 3 speakers l1, l2, l3 that surround the position



[1, ΩsT]T, assuming unit radii and



build matrix R = [rl1, rl2, rl3]



with rli = [1, {circumflex over (Ω)}liT]T.


 5
Calculate Lt = spherical_to_cartesian (R) in Cartesian coordinates.


 6
Build virtual source position s =



(sin Θs cos φs, sin Θs sin φs, cos Θs)T.


 7
Calculate g = Lt−1 s, with g = (gl1, gl1, gl3)T


 8
Normalize gains: g = g /|| g ||2


 9
Fill related elements Gl,s of G with elements of g:



Gl1,s = gl1, Gl2,s = gl2, Gl3,s = gl3


10
}









In the Build Decode Matrix block 43, the compact singular value decomposition of the matrix product of the mode matrix and the transposed mixing matrix is calculated. This is an important aspect of the present invention, which can be performed in various manners. In one embodiment, the compact singular value decomposition S of the matrix product of the mode matrix {tilde over (Ψ)} and the transposed mixing matrix GT is calculated according to:

U S VH={tilde over (Ψ)}GT 

In an alternative embodiment, the compact singular value decomposition S of the matrix product of the mode matrix {tilde over (Ψ)} and the pseudo-inverse mixing matrix G+ is calculated according to:

U S VH={tilde over (Ψ)}G+

where G+ is the pseudo-inverse of mixing matrix G.

In one embodiment, a diagonal matrix where Ŝ=diag (Ŝ1, . . . , ŜK) is created where
the first diagonal element is the inverse diagonal element of S: Ŝ1=1, and
the following diagonal elements  are set to a value of one (=1) if ≥a S1, where a is a threshold value, or are set to a value of zero (=0) if ≤a S1.
A suitable threshold value a was found to be around 0.06. Small deviations e.g. within a range of ±0.01 or a range of ±10% are acceptable. The decode matrix is then calculated as follows: {circumflex over (D)}=V Ŝ UH.
In the Smooth Decode Matrix block 44, the decode matrix is smoothed. Instead of applying smoothing coefficients to the HOA coefficients before decoding, as known in prior art, it can be combined directly with the decode matrix. This saves one processing step, or processing block respectively.

D={circumflex over (D)}diag()  (21)

In order to obtain good energy preserving properties also for decoders for HOA content with more coefficients than loudspeakers (i.e. O3D>L), the applied smoothing coefficients  are selected depending on the HOA order N (O3D=(N+1)2):
For L≥O3D,  corresponds to max rE coefficients derived from the zeros of the Legendre polynomials of order N+1, as in [4].
For L≤O3D, the coefficients of  constructed from a Kaiser window as follows:

=KaiserWindow(len,width)  (22)

with len=2N+1, width=2N, where is a vector with 2N+1 real valued elements. The elements are created by the Kaiser window formula




 
  
   
    
     
      K
      i
     
     =
     
      
       
        I
        0
       
       (
       
        width
        ⁢
        
         
          1
          -
          
           
            (
            
             
              
               2
               ⁢
               i
              
              
               len
               -
               1
              
             
             -
             1
            
            )
           
           2
          
         
        
       
       )
      
      
       
        I
        0
       
       (
       width
       )
      
     
    
   
   
    
     (
     23
     )
    
   
  
 



where l0( ) denotes the zero-order Modified Bessel function of first kind. The vector It is constructed from the elements of:

    
    
        =cf[N+1, N+2, N+2, N+3, N+3, . . . , 2N]T 

where every element N+1+n gets 2n+1 repetitions for HOA order index n=0 . . . N, and cf is a constant scaling factor for keeping equal loudness between different HOA-order programs. That is, the used elements of the Kaiser window begin with the (N+1)st element, which is used only once, and continue with subsequent elements which are used repeatedly: the (N+2)nd element is used three times, etc.

    
    


In one embodiment, the smoothed decode matrix is scaled. In one embodiment, the scaling is performed in the Smooth Decode Matrix block 44, as shown in FIG. 4A. In a different embodiment, the scaling is performed as a separate step in a Scale Matrix block 45, as shown in FIG. 4B.
In one embodiment, the constant scaling factor is obtained from the decoding matrix. In particular, it can be obtained according to the so-called Frobenius norm of the decoding matrix:



 
  
   c
   f
  
  =
  
   
    1
    
     
      
       ∑
       
        l
        =
        1
       
       L
      
      
       
        ∑
        
         q
         =
         1
        
        
         O
         
          3
          ⁢
          D
         
        
       
       
        
         
          ❘
          "\[LeftBracketingBar]"
         
         
          
           d
           ~
          
          
           l
           ,
           q
          
         
         
          ❘
          "\[RightBracketingBar]"
         
        
        2
       
      
     
    
   
   .
  
 



where {tilde over (d)}l,q is a matrix element in line l and column q of the matrix {tilde over (D)} (after smoothing).

The normalized matrix is D=cf {tilde over (D)}.
FIG. 5 shows, according to one aspect of the invention, a device for decoding an audio sound field representation for audio playback. It comprises a rendering processing unit 33 having a decode matrix calculating unit 140 for obtaining the decode matrix {circumflex over (D)}, the decode matrix calculating unit 140 comprising means 1x for obtaining a number L of target speakers and means for obtaining positions L of the speakers, means 1y for determining positions a spherical modeling grid s and means 1z for obtaining a HOA order N, and first processing unit 141 for generating a mix matrix G from the positions of the spherical modeling grid s and the positions of the speakers, second processing unit 142 for generating a mode matrix {tilde over (Ψ)} from the spherical modeling grid s and the HOA order N, third processing unit 143 for performing a compact singular value decomposition of the product of the mode matrix with the Hermitian transposed mix matrix G according to U S VH={tilde over (Ψ)}GH, where U,V are derived from Unitary matrices and S is a diagonal matrix with singular value elements, calculating means 144 for calculating a first decode matrix {circumflex over (D)} from the matrices U,V according to {circumflex over (D)}=V UH, and a smoothing and scaling unit 145 for smoothing and scaling the first decode matrix {circumflex over (D)} with smoothing coefficients , wherein the decode matrix {circumflex over (D)} is obtained. In one embodiment, the smoothing and scaling unit 145 as a smoothing unit 1451 for smoothing the first decode matrix {circumflex over (D)}, wherein a smoothed decode matrix {tilde over (D)} is obtained, and a scaling unit 1452 for scaling smoothed decode matrix {tilde over (D)}, wherein the decode matrix D is obtained.
FIG. 6 shows speaker positions in an exemplary 16-speaker setup in a node schematic, where speakers are shown as connected nodes. Foreground connections are shown as solid lines, background connections as dashed lines. FIG. 7 shows the same speaker setup with 16 speakers in a foreshortening view.
In the following, obtained example results with the speaker setup as in FIGS. 5 and 6 are described. The energy distribution of the sound signal, and in particular the ratio Ê/E is shown in dB on the 2 sphere (all test directions). As an example, for a loud speaker panning beam, the center speaker beam (speaker 7 in FIG. 6) is shown. For example, a decoder matrix that is designed as in [14], with N=3, produces a ratio Ê/E as shown in FIG. 8. It provides almost perfect energy preserving characteristics, since the ratio Ê/E is almost constant: differences between dark areas (corresponding to lower volumes) and light areas (corresponding to higher volumes) are less than 0.01 dB. However, as shown in FIG. 9, the corresponding panning beam of the center speaker has strong side lobes. This disturbs spatial perception, especially for off-center listeners.
On the other hand, a decoder matrix that is designed as in [2], with N=3, produces a ratio Ê/E as shown in FIG. 9. In the scale used in FIG. 10, dark areas correspond to lower volumes down to −2 dB and light areas to higher volumes up to +2 dB. Thus, the ratio Ê/E shows fluctuations larger than 4 dB, which is disadvantageous because spatial pans e.g. from top to center speaker position with constant amplitude cannot be perceived with equal loudness. However, as shown in FIG. 11, the corresponding panning beam of the center speaker has very small side lobes, which is beneficial for off-center listening positions.
FIG. 12 shows the energy distribution of a sound signal that is obtained with a decoder matrix according to the present invention, exemplarily for N=3 for easy comparison. The scale (shown on the right-hand side of FIG. 12) of the ratio Ê/E ranges from 3.15-3.45 dB. Thus, fluctuations in the ratio are smaller than 0.31 dB, and the energy distribution in the sound field is very even. Consequently, any spatial pans with constant amplitude are perceived with equal loudness. The panning beam of the center speaker has very small side lobes, as shown in FIG. 13. This is beneficial for off center listening positions, where side lobes may be audible and thus would be disturbing. Thus, the present invention provides combined advantages achievable with the prior art in [14] and [2], without suffering from their respective disadvantages.
It is noted that whenever a speaker is mentioned herein, a sound emitting device such as a loudspeaker is meant.
The flowchart and/or block diagrams in the figures illustrate the configuration, operation and functionality of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical functions.
It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, or blocks may be executed in an alternative order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of the blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. While not explicitly described, the present embodiments may be employed in any combination or sub-combination.
Further, as will be appreciated by one skilled in the art, aspects of the present principles can be embodied as a system, method or computer readable medium. Accordingly, aspects of the present principles can take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, and so forth), or an embodiment combining software and hardware aspects that can all generally be referred to herein as a “circuit,” “module”, or “system.” Furthermore, aspects of the present principles can take the form of a computer readable storage medium. Any combination of one or more computer readable storage medium(s) may be utilized. A computer readable storage medium as used herein is considered a non-transitory storage medium given the inherent capability to store the information therein as well as the inherent capability to provide retrieval of the information therefrom.
Also, it will be appreciated by those skilled in the art that the block diagrams presented herein represent conceptual views of illustrative system components and/or circuitry embodying the principles of the invention. Similarly, it will be appreciated that any flow charts, flow diagrams, state transition diagrams, pseudocode, and the like represent various processes which may be substantially represented in computer readable storage media and so executed by a computer or processor, whether or not such computer or processor is explicitly shown.
CITED REFERENCES


    [1] T. D. Abhayapala. Generalized framework for spherical microphone arrays: Spatial and frequency decomposition. In Proc. IEEE International Conference on Acoustics, Speech, and Signal Processing (ICASSP), (accepted) Vol. X, pp., April 2008, Las Vegas, USA.
    [2] Johann-Markus Batke, Florian Keiler, and Johannes Boehm. Method and device for decoding an audio soundfield representation for audio playback. International Patent Application WO2011/117399 (PD100011).
    [3] Jérôme Daniel, Rozenn Nicol, and Sebastien Moreau. Further investigations of high order ambisonics and wavefield synthesis for holophonic sound imaging. In AES Convention Paper 5788 Presented at the 114th Convention, March 2003. Paper 4795 presented at the 114th Convention.
    [4] Jérôme Daniel. Représentation de champs acoustiques, application a la transmission et a la reproduction de scenes sonores complexes dans un contexte multimedia. PhD thesis, Universite Paris 6, 2001.
    [5] James R. Driscoll and Dennis M. Healy Jr. Computing Fourier transforms and convolutions on the 2-sphere. Advances in Applied Mathematics, 15:202-250, 1994.
    [6] Jörg Fliege. Integration nodes for the sphere. http://www.personal.soton.ac.uk/jf1w07/nodes/nodes.html, Online, accessed 2012-06-01.
    [7] Jörg Fliege and Ulrike Maier. A two-stage approach for computing cubature formulae for the sphere. Technical Report, Fachbereich Mathematik, Universität Dortmund, 1999.
    [8] R. H. Hardin and N. J. A. Sloane. Webpage: Spherical designs, spherical t-designs. http://www2.research.att.com/ ̃njas/sphdesigns/.
    [9] R. H. Hardin and N. J. A. Sloane. Mclaren's improved snub cube and other new spherical designs in three dimensions. Discrete and Computational Geometry, 15:429-441, 1996.
    [10] M. A. Poletti. Three-dimensional surround sound systems based on spherical harmonics. J. Audio Eng. Soc., 53(11):1004-1025, November 2005.
    [11] Ville Pulkki. Spatial Sound Generation and Perception by Amplitude Panning Techniques. PhD thesis, Helsinki University of Technology, 2001.
    [12] Boaz Rafaely. Plane-wave decomposition of the sound field on a sphere by spherical convolution. J. Acoust. Soc. Am., 4(116):2149-2157, October 2004.
    [13] Earl G. Williams. Fourier Acoustics, volume 93 of Applied Mathematical Sciences. Academic Press, 1999.
    [14] F. Zotter, H. Pomberger, and M. Noisternig. Energy-preserving ambisonic decoding. Acta Acustica united with Acustica, 98(1):37-47, January/February 2012.

## Claims

1. A method for decoding a Higher-Order Ambisonics (HOA) representation of a sound or sound field, the method comprising:
receiving a smoothed decode matrix {tilde over (D)} that is based on a mix matrix G and a mode matrix {tilde over (Ψ)}, wherein the mix matrix G was determined based on L speakers and positions of a spherical modelling grid wherein the mode matrix {tilde over (Ψ)} was determined based on the spherical modelling grid and a HOA order N,
wherein the smoothed decode matrix {tilde over (D)} was determined based on smoothing of a first decode matrix {circumflex over (D)} with smoothing coefficients, wherein the first decode matrix {circumflex over (D)} was determined based on {circumflex over (D)}=V Ŝ UH, wherein U,V are based on Unitary matrices, wherein a compact singular value decomposition of a product of the mode matrix {tilde over (Ψ)} with a transposed mix matrix is determined based on U S VH={tilde over (Ψ)}GT wherein S is based on a diagonal matrix with singular value elements, and wherein Ŝ is a truncated compact singular value decomposition matrix that is either an identity matrix or a modified diagonal matrix, the modified diagonal matrix being determined based on the diagonal matrix with singular value elements by replacing a singular value element that is larger or equal than a threshold by ones, and replacing a singular value element that is smaller than the threshold by zeros; and
rendering coefficients of the HOA representation from a time domain to a spatial domain based on the smoothed decode matrix {tilde over (D)}.

2. The method of claim 1, further comprising
buffering and serializing a spatial signal W, wherein time samples w(t) for a plurality of channels are obtained; and
delaying time samples w(t) individually for each of the channels in delay lines, wherein corresponding digital signals are obtained,
wherein the delay lines compensate different loudspeaker distances.

3. A non-transitory computer readable medium having stored thereon executable instructions to cause a computer to perform the method of claim 1.

4. An apparatus for decoding a Higher-Order Ambisonics (HOA) representation of a sound or sound field for audio playback, comprising:
a decoder configured to decode coefficients of the HOA sound field representation, the decoder including:
a receiver configured to receive a smoothed decode matrix {tilde over (D)} that is based on a mix matrix G and a mode matrix {tilde over (Ψ)}, wherein the mix matrix G was determined based on L speakers and positions of a spherical modelling grid, wherein the mode matrix {tilde over (Ψ)} was determined based on the spherical modelling grid and a HOA order N, and
wherein the smoothed decode matrix {tilde over (D)} is determined based on smoothing a first decode matrix {circumflex over (D)} with smoothing coefficients, wherein the first decode matrix {circumflex over (D)} is determined based on {circumflex over (D)}=V Ŝ UH, wherein U,V are based on Unitary matrices,
wherein a compact singular value decomposition of a product of the mode matrix {tilde over (Ψ)} with a transposed mix matrix is determined based on U S VH={tilde over (Ψ)}GT, wherein S was determined based on a diagonal matrix with singular value elements, wherein Ŝ is a truncated compact singular value decomposition matrix that is either an identity matrix or a modified diagonal matrix, the modified diagonal matrix being determined based on the diagonal matrix with singular value elements by replacing a singular value element that is larger or equal than a threshold by ones, and replacing a singular value element that is smaller than the threshold by zeros; and

a renderer configured for rendering coefficients of the HOA representation from a time domain to a spatial domain based on the smoothed decode matrix {tilde over (D)}.