Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
DETERMINATION OF TARGETED SPATIAL AUDIO PARAMETERS AND ASSOCIATED SPATIAL AUDIO PLAYBACK
Document Type and Number:
WIPO Patent Application WO/2019/086757
Kind Code:
A1
Abstract:
A method for spatial audio signal processing, comprising: determining, for two or more playback audio signals (102, 202), at least one spatial audio parameter (108, 110) for providing spatial audio reproduction; determining between the two or more playback audio signals (102, 202) at least one audio signal relationship parameter (110, 112, 114), the at least one audio signal relationship parameter (110, 112, 114) being associated with a determination of inter-channel signal relationship information between the two or more playback audio signals (102, 202) and for at least two frequency bands, such that the two or more playback audio signals (102, 202) are configured to be reproduced based on the at least one spatial audio parameter (108, 110) and the at least one audio signal relationship parameter (110, 112, 114).

Inventors:
LAITINEN MIKKO-VILLE (FI)
VILKAMO JUHA (FI)
Application Number:
PCT/FI2018/050788
Publication Date:
May 09, 2019
Filing Date:
October 30, 2018
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
NOKIA TECHNOLOGIES OY (FI)
International Classes:
G10L19/008; G10L25/06; G10L25/21; H04R3/12; H04R5/04; H04S3/02
Domestic Patent References:
WO2008046531A12008-04-24
WO2005101905A12005-10-27
WO2008100098A12008-08-21
WO2008032255A22008-03-20
WO2010080451A12010-07-15
WO2005101370A12005-10-27
Foreign References:
US20140233762A12014-08-21
US20070233293A12007-10-04
US20150170657A12015-06-18
US20150170657A12015-06-18
US20130216047A12013-08-22
Other References:
POLITIS, ARCHONTIS ET AL.: "Sector-Based Parametric Sound Field Reproduction in the Spherical Harmonic Domain", IEEE JOURNAL OF SELECTED TOPICS IN SIGNAL PROCESSING, vol. 9, no. 5, 14 July 2015 (2015-07-14), pages 852 - 866, XP011662882, ISSN: 1932-4553, [retrieved on 20190207]
POLITIS, ARCHONTIS ET AL.: "Enhancement of ambisonic binaural reproduction using directional audio coding with optimal adaptive mixing", PROCEEDINGS OF THE 2017 IEEE WORKSHOP ON APPLICATIONS OF SIGNAL PROCESSING TO AUDIO AND ACOUSTICS (WASPAA, 18 October 2017 (2017-10-18), New Paltz, NY, USA, pages 379 - 383, XP033264966, ISSN: 1947-1629, ISBN: 978-1-5386-1631-4, [retrieved on 20190207]
PULKKI, VILLE ET AL.: "Virtual Sound Source Positioning Using Vector Base Amplitude Panning", JOURNAL OF THE AUDIO ENGINEERING SOCIETY, AUDIO ENGINEERING SOCIETY, vol. 45, no. 6, June 1997 (1997-06-01), pages 456 - 466, XP002719359, ISSN: 0004-7554, [retrieved on 20180813]
See also references of EP 3707708A4
Attorney, Agent or Firm:
NOKIA TECHNOLOGIES OY et al. (FI)
Download PDF:
Claims:
CLAIMS:

1 . A method for spatial audio signal processing, comprising:

determining, for two or more playback audio signals, at least one spatial audio parameter for providing spatial audio reproduction;

determining between the two or more playback audio signals at least one audio signal relationship parameter, the at least one audio signal relationship parameter being associated with a determination of inter-channel signal relationship information between the two or more playback audio signals and for at least two frequency bands, such that the two or more playback audio signals are configured to be reproduced based on the at least one spatial audio parameter and the at least one audio signal relationship parameter.

2. The method as claimed in claim 1 , wherein determining between the two or more playback audio signals at least one audio signal relationship parameter comprises determining at least one coherence parameter, the at least one coherence parameter being associated with a determination of inter-channel coherence information between the two or more playback audio signals and for the at least two frequency bands.

3. The method as claimed in claim 2, wherein determining, for the two or more playback audio signals, the at least one spatial audio parameter for providing the spatial audio reproduction comprises determining, for the two or more playback audio signals, at least one direction parameter and at least one energy ratio.

4. The method as claimed in any of claims 2 and 3, further comprising determining a downmix signal from the two or more playback audio signals, wherein the two or more playback audio signals are reproduced based on the at least one spatial audio parameter, the at least one coherence parameter and/or the downmix signal.

5. The method as claimed in any of claims 2 to 4, wherein determining between the two or more playback audio signals at least one coherence parameter comprises determining a spread coherence parameter, wherein the spread coherence parameter is determined based on an inter-channel coherence information between two or more playback audio signals spatially adjacent to an identified playback audio signal, the identified playback audio signal being identified based on the at least one spatial audio parameter.

6. The method as claimed in claim 5, when dependent on claim 3, wherein determining a spread coherence parameter comprises:

determining a stereoness parameter associated with indicating that the two or more playback audio signals are reproduced coherently using two playback audio signals spatially adjacent to the identified playback audio signal, the identified playback audio signal being the playback audio signal spatially closest to the at least one direction parameter;

determining a coherent panning parameter associated with indicating that the two or more playback audio signals are reproduced coherently using at least two or more playback audio signals spatially adjacent to the identified playback audio signal; and

generating the spread coherence parameter based on the stereoness parameter and the coherent panning parameter. 7. The method as claimed in claim 6, wherein generating the spread coherence parameter based on the stereoness parameter and the coherent panning parameter comprises setting the spread coherence parameter to:

a maximum of 0.5 or 0.5 added to the difference of the stereoness parameter and coherent panning parameter when either the stereoness parameter and coherent panning parameter are greater than 0.5 and the coherent panning parameter is greater than the stereoness parameter; or

a maximum of the stereoness parameter and coherent panning parameter otherwise. 8. The method as claimed in any of claims 5 and 6, wherein determining the stereoness parameter comprises:

computing a covariance matrix associated with the two or more playback audio signals; determining a playback audio signal spatially closest to the at least one direction parameter and a pair of spatially adjacent playback audio signals associated with the playback audio signal closest to the at least one direction parameter;

determining an energy of the channel closest to the at least one direction parameter and the pair of adjacent playback audio signals based on the covariance matrix;

determining a ratio between the energy of the pair of adjacent playback audio signals and a combination of the playback audio signal spatially closest to the at least one direction and the pair of playback audio signals;

normalising the covariance matrix; and

generating the stereoness parameter based on a normalised coherence between the pair of playback audio signals multiplied by the ratio between the energy of the pair of playback audio signals and a combination of the playback audio signal spatially closest to the at least one direction and the pair of playback audio signals.

9. The method as claimed in claim 8, wherein determining the coherent panning parameter comprises:

determining normalized coherence values between the playback audio signal spatially closest to the at least one direction and each of the pair of playback audio signals;

selecting the minimum value of the normalized coherence values, the minimum value depicting a coherence among the playback audio signals;

determining an energy distribution parameter to depict how evenly the energy is distributed; and

generating the coherent panning parameter based on the product of the minimum value of the normalized coherence values and the energy distribution parameter.

10. The method as claimed in any of claims 2 to 9, wherein determining at least one coherence parameter comprises determining a surrounding coherence parameter, wherein the surrounding coherence parameter is determined based on an inter-channel coherence between two or more playback audio signals.

1 1 . The method as claimed in claim 10, when dependent on claim 3, wherein determining the surrounding coherence parameter comprises:

computing a covariance matrix associated with the two or more playback audio signals;

monitoring a playback audio signal with the largest energy determined based on the covariance matrix and a sub-set of other playback audio signals, wherein the sub-set is a determined number between 1 and one less than a total number of playback audio signals with the next largest energies; and

generating the surrounding parameter based on selecting the minimum of normalized coherences determined between the playback audio signal with the largest energy and each of the next largest energy playback audio signals.

12. The method as claimed in any of claims 4 to 1 1 , when dependent on claim 3, further comprising modifying the at least one energy ratio based on the at least one coherence parameter.

13. The method as claimed in claim 12, when further dependent on claim 6, wherein modifying the at least one energy ratio based on the at least one coherence parameter comprises:

determining a first alternative energy ratio based on an inter-channel coherence information between two or more playback audio signals spatially adjacent to an identified playback audio signal, the identified playback audio signal being identified based on the at least one spatial audio parameter;

determining a second alternative energy ratio based on an inter-channel coherence information between the identified playback audio signal and the two or more playback audio signals spatially adjacent to the identified playback audio signal; and

selecting as a modified energy ratio one of the at least one energy ratio, the first alternative energy ratio, and the second alternative energy ratio based on a maximum value of the at least one energy ratio, the first alternative energy ratio and the second alternative energy ratio.

14. The method as claimed in any of the previous claims dependent on claim 4, further comprising encoding the downmix signal, the at least one direction parameter, the at least one energy ratio and the at least one coherence parameter. 15. A method for synthesising a spatial audio comprising:

receiving at least one audio signal, the at least one audio signal based on two or more playback audio signals;

receiving at least one audio signal relationship parameter, the at least one audio signal relationship parameter based on a determination of inter-channel signal relationship information between the two or more playback audio signals and for at least two frequency bands;

receiving at least one spatial audio parameter for providing spatial audio reproduction; and

reproducing the two or more playback audio signals based on the at least one audio signal, the at least one spatial audio parameter and the at least one audio signal relationship parameter.

16. The method as claimed in claim 15, wherein receiving at least one audio signal relationship parameter, the at least one audio signal relationship parameter based on a determination of inter-channel signal relationship information between the two or more playback audio signals and for at least two frequency bands comprises receiving at least one coherence parameter, the at least one coherence parameter based on a determination of inter-channel coherence information between the two or more playback audio signals and for the at least two frequency bands.

17. The method as claimed in claim 16, wherein the at least one spatial audio parameter comprises at least one direction parameter and at least one energy ratio, wherein reproducing the two or more playback audio signals based on the at least one audio signal, the at least one spatial audio parameter and the at least one audio signal relationship parameter further comprises:

determining a target covariance matrix from the at least one spatial audio parameter, the at least one coherence parameter and an estimated covariance matrix based on the at least one audio signal; generating a mixing matrix based on the target covariance matrix and estimated covariance matrix based on the at least one audio signal; and

applying the mixing matrix to the at least one audio signal to generate at least two output spatial audio signals for reproducing the two or more playback audio signals.

18. The method as claimed in claim 15, wherein determining a target covariance matrix from the at least one spatial audio parameter, the at least one audio signal relationship parameter and the estimated covariance matrix comprises:

determining a total energy parameter based on the estimated covariance matrix;

determining a direct energy and an ambience energy based on the total energy parameter and the at least one energy ratio;

estimating an ambience covariance matrix based on the determined ambience energy and one of the at least one coherence parameters;

estimating at least one of: a vector of amplitude panning gains; an Ambisonic panning vector or at least one head related transfer function, based on an output channel configuration and/or the at least one direction parameter;

estimating a direct covariance matrix based on: the vector of amplitude panning gains, Ambisonic panning vector or the at least one head related transfer function; a determined direct part energy; and a further one of the at least one coherence parameters; and

generating the target covariance matrix by combining the ambience covariance matrix and direct covariance matrix.

19. An apparatus configured to perform the actions of the method of any of claims 1 to 18.

20. A computer program comprising program instructions for causing a computer to perform the method of any of claims 1 to 18.

Description:
DETERMINATION OF TARGETED SPATIAL AUDIO PARAMETERS AND ASSOCIATED SPATIAL AUDIO PLAYBACK

Field

The present application relates to apparatus and methods for sound-field related parameter estimation in frequency bands, but not exclusively for time- frequency domain sound-field related parameter estimation for an audio encoder and decoder. Background

Parametric spatial audio processing is a field of audio signal processing where the spatial aspect of the sound is described using a set of parameters. For example, in parametric spatial audio capture from microphone arrays, it is a typical and an effective choice to estimate from the microphone array signals a set of parameters such as directions of the sound in frequency bands, and the ratios between the directional and non-directional parts of the captured sound in frequency bands. These parameters are known to well describe the perceptual spatial properties of the captured sound at the position of the microphone array. These parameters can be utilized in synthesis of the spatial sound accordingly, for headphones binaurally, for loudspeakers, or to other formats, such as Ambisonics.

The directions and direct-to-total energy ratios in frequency bands are thus a parameterization that is particularly effective for spatial audio capture.

A parameter set consisting of a direction parameter in frequency bands and an energy ratio parameter in frequency bands (indicating the directionality of the sound) can be also utilized as the spatial metadata for an audio codec. For example, these parameters can be estimated from microphone-array captured audio signals, and for example a stereo signal can be generated from the microphone array signals to be conveyed with the spatial metadata. The stereo signal could be encoded, for example, with an EVS or AAC encoder. A decoder can decode the audio signals into PCM signals, and process the sound in frequency bands (using the spatial metadata) to obtain the spatial output, for example a binaural output.

The aforementioned solution is particularly suitable for encoding captured spatial sound from microphone arrays (e.g., in mobile phones, VR cameras, stand- alone microphone arrays). However, it may be desirable for such an encoder to have also other input types than microphone-array captured signals, for example, loudspeaker signals, audio object signals, or Ambisonic signals.

Analysing first-order Ambisonics (FOA) inputs for spatial metadata extraction has been thoroughly documented in scientific literature related to Directional Audio Coding (DirAC) and Harmonic planewave expansion (Harpex). This is since there exist microphone arrays directly providing a FOA signal (more accurately: its variant, the B- format signal), and analysing such an input has thus been a point of study in the field.

A further input for the encoder is also multi-channel loudspeaker input, such as 5.1 or 7.1 channel surround inputs.

However it can be easily demonstrated that the metadata representations as described above cannot convey all relevant aspects of a multi-channel input such as the 5.1 or 7.1 mix conventionally used in many systems. Such aspects relate to the methods the studio engineers use to generate the artistic surround loudspeaker mixes. Specifically, the studio engineers may use coherent reproduction of the sound at two or more directions, which is a scenario that is not well accounted for by the sound-field related parameterization utilizing the direction and ratio metadata in frequency bands.

Hence there is a need to more effective metadata parameters to more accurately convey the relevant aspects of a multi-channel input.

Summary

There is provided according to a first aspect a method for spatial audio signal processing, comprising: determining, for two or more playback audio signals, at least one spatial audio parameter for providing spatial audio reproduction; determining between the two or more playback audio signals at least one audio signal relationship parameter, the at least one audio signal relationship parameter being associated with a determination of inter-channel signal relationship information between the two or more playback audio signals and for at least two frequency bands, such that the two or more playback audio signals are configured to be reproduced based on the at least one spatial audio parameter and the at least one audio signal relationship parameter.

Determining between the two or more playback audio signals at least one audio signal relationship parameter may comprise determining at least one coherence parameter, the at least one coherence parameter being associated with a determination of inter-channel coherence information between the two or more playback audio signals and for the at least two frequency bands.

Determining, for two or more playback audio signals, at least one spatial audio parameter for providing spatial audio reproduction may comprise determining, for the two or more playback audio signals, at least one direction parameter and at least one energy ratio.

The method may further comprise determining a downmix signal from the two or more playback audio signals, wherein the two or more playback audio signals may be reproduced based on the at least one spatial audio parameter, the at least one coherence parameter and/or the downmix signal.

Determining between the two or more playback audio signals at least one coherence parameter may comprise determining a spread coherence parameter, wherein the spread coherence parameter may be determined based on an inter- channel coherence information between two or more playback audio signals spatially adjacent to an identified playback audio signal, the identified playback audio signal being identified based on the at least one spatial audio parameter.

Determining a spread coherence parameter may comprise: determining a stereoness parameter associated with indicating that the two or more playback audio signals are reproduced coherently using two playback audio signals spatially adjacent to the identified playback audio signal, the identified playback audio signal being the playback audio signal spatially closest to the at least one direction parameter; determining a coherent panning parameter associated with indicating that the two or more playback audio signals are reproduced coherently using at least two or more playback audio signals spatially adjacent to the identified playback audio signal; and generating the spread coherence parameter based on the stereoness parameter and the coherent panning parameter.

Generating the spread coherence parameter based on the stereoness parameter and the coherent panning parameter may comprise setting the spread coherence parameter to: a maximum of 0.5 or 0.5 added to the difference of the stereoness parameter and coherent panning parameter when either the stereoness parameter and coherent panning parameter are greater than 0.5 and the coherent panning parameter is greater than the stereoness parameter; or a maximum of the stereoness parameter and coherent panning parameter otherwise. Determining the stereoness parameter may comprise: computing a covariance matrix associated with the two or more playback audio signals; determining a playback audio signal spatially closest to the at least one direction parameter and a pair of spatially adjacent playback audio signals associated with the playback audio signal closest to the at least one direction parameter; determining an energy of the channel closest to the at least one direction parameter and the pair of adjacent playback audio signals based on the covariance matrix; determining a ratio between the energy of the pair of adjacent playback audio signals and a combination of the playback audio signal spatially closest to the at least one direction and the pair of playback audio signals; normalising the covariance matrix; and generating the stereoness parameter based on a normalised coherence between the pair of playback audio signals multiplied by the ratio between the energy of the pair of playback audio signals and a combination of the playback audio signal spatially closest to the at least one direction and the pair of playback audio signals.

Determining the coherent panning parameter may comprise: determining normalized coherence values between the playback audio signal spatially closest to the at least one direction and each of the pair of playback audio signals; selecting the minimum value of the normalized coherence values, the minimum value depicting a coherence among the playback audio signals; determining an energy distribution parameter to depict how evenly the energy is distributed; generating the coherent panning parameter based on the product of the minimum value of the normalized coherence values and the energy distribution parameter.

Determining at least one coherence parameter may comprise determining a surrounding coherence parameter, wherein the surrounding coherence parameter is determined based on an inter-channel coherence between two or more playback audio signals.

Determining the surrounding coherence parameter may comprise: computing a covariance matrix associated with the two or more playback audio signals; monitoring a playback audio signal with the largest energy determined based on the covariance matrix and a sub-set of other playback audio signals, wherein the sub-set is a determined number between 1 and one less than a total number of playback audio signals with the next largest energies; generating the surrounding parameter based on selecting the minimum of normalized coherences determined between the playback audio signal with the largest energy and each of the next largest energy playback audio signals.

The method may further comprise modifying the at least one energy ratio based on the at least one coherence parameter.

Modifying the at least one energy ratio based on the at least one coherence parameter may comprise: determining a first alternative energy ratio based on an inter- channel coherence information between two or more playback audio signals spatially adjacent to an identified playback audio signal, the identified playback audio signal being identified based on the at least one spatial audio parameter; determining a second alternative energy ratio based on an inter-channel coherence information between the identified playback audio signal and the two or more playback audio signals spatially adjacent to the identified playback audio signal; and selecting as a modified energy ratio one of the at least one energy ratio, the first alternative energy ratio, and the second alternative energy ratio based on a maximum value of the at least one energy ratio, the first alternative energy ratio and the second alternative energy ratio.

The method may further comprise encoding the downmix signal, the at least one direction parameter, the at least one energy ratio and the at least one coherence parameter.

According to a second aspect there is provided a method for synthesising a spatial audio comprising: receiving at least one audio signal, the at least one audio signal based on two or more playback audio signals; receiving at least one audio signal relationship parameter, the at least one audio signal relationship parameter based on a determination of inter-channel signal relationship information between the two or more playback audio signals and for at least two frequency bands; receiving at least one spatial audio parameter for providing spatial audio reproduction; reproducing the two or more playback audio signals based on the at least one audio signal, the at least one spatial audio parameter and the at least one audio signal relationship parameter.

Receiving at least one audio signal relationship parameter, the at least one audio signal relationship parameter based on a determination of inter-channel signal relationship information between the two or more playback audio signals and for at least two frequency bands may comprise receiving at least one coherence parameter, the at least one coherence parameter based on a determination of inter-channel coherence information between the two or more playback audio signals and for the at least two frequency bands.

The at least one spatial audio parameter may comprise at least one direction parameter and at least one energy ratio, wherein reproducing the two or more playback audio signals based on the at least one audio signal, the at least one spatial audio parameter and the at least one audio signal relationship parameter may further comprise: determining a target covariance matrix from the at least one spatial audio parameter, the at least one coherence parameter and an estimated covariance matrix based on the at least one audio signal; generating a mixing matrix based on the target covariance matrix and estimated covariance matrix based on the at least one audio signal; and applying the mixing matrix to the at least one audio signal to generate at least two output spatial audio signals for reproducing the two or more playback audio signals.

Determining a target covariance matrix from the at least one spatial audio parameter, the at least one audio signal relationship parameter and the estimated covariance matrix comprises: determining a total energy parameter based on the estimated covariance matrix; determining a direct energy and an ambience energy based on the total energy parameter and the at least one energy ratio; estimating an ambience covariance matrix based on the determined ambience energy and one of the at least one coherence parameters; estimating at least one of: a vector of amplitude panning gains; an Ambisonic panning vector or at least one head related transfer function, based on an output channel configuration and/or the at least one direction parameter; estimating a direct covariance matrix based on: the vector of amplitude panning gains, Ambisonic panning vector or the at least one head related transfer function; a determined direct part energy; and a further one of the at least one coherence parameters; and generating the target covariance matrix by combining the ambience covariance matrix and direct covariance matrix.

According to a third aspect there is provided an apparatus for spatial audio signal processing, the apparatus comprising at least one processor and at least one memory including a computer program code, the at least one memory and the computer program code configured to, with the at least one processor, cause the apparatus at least to: determine, for two or more playback audio signals, at least one spatial audio parameter for providing spatial audio reproduction; determine between the two or more playback audio signals at least one audio signal relationship parameter, the at least one audio signal relationship parameter being associated with a determination of inter-channel signal relationship information between the two or more playback audio signals and for at least two frequency bands, such that the two or more playback audio signals are configured to be reproduced based on the at least one spatial audio parameter and the at least one audio signal relationship parameter.

The apparatus caused to determine between the two or more playback audio signals at least one audio signal relationship parameter may be caused to further determine at least one coherence parameter, the at least one coherence parameter being associated with a determination of inter-channel coherence information between the two or more playback audio signals and for the at least two frequency bands.

The apparatus caused to determine, for two or more playback audio signals, at least one spatial audio parameter for providing spatial audio reproduction may be further caused to further determine, for the two or more playback audio signals, at least one direction parameter and at least one energy ratio.

The apparatus may be further caused to determine a downmix signal from the two or more playback audio signals, wherein the two or more playback audio signals may be reproduced based on the at least one spatial audio parameter, the at least one coherence parameter and/or the downmix signal.

The apparatus may be further caused to determine between the two or more playback audio signals at least one coherence parameter may be further configured to determine a spread coherence parameter, wherein the spread coherence parameter may be determined based on an inter-channel coherence information between two or more playback audio signals spatially adjacent to an identified playback audio signal, the identified playback audio signal being identified based on the at least one spatial audio parameter.

The apparatus caused to determine a spread coherence parameter may be further caused to: determine a stereoness parameter associated with indicating that the two or more playback audio signals are reproduced coherently using two playback audio signals spatially adjacent to the identified playback audio signal, the identified playback audio signal being the playback audio signal spatially closest to the at least one direction parameter; determine a coherent panning parameter associated with indicating that the two or more playback audio signals are reproduced coherently using at least two or more playback audio signals spatially adjacent to the identified playback audio signal; and generate the spread coherence parameter based on the stereoness parameter and the coherent panning parameter.

The apparatus caused to generate the spread coherence parameter based on the stereoness parameter and the coherent panning parameter may be further caused to set the spread coherence parameter to: a maximum of 0.5 or 0.5 added to the difference of the stereoness parameter and coherent panning parameter when either the stereoness parameter and coherent panning parameter are greater than 0.5 and the coherent panning parameter is greater than the stereoness parameter; or a maximum of the stereoness parameter and coherent panning parameter otherwise.

The apparatus caused to determine the stereoness parameter may be further caused to: compute a covariance matrix associated with the two or more playback audio signals; determine a playback audio signal spatially closest to the at least one direction parameter and a pair of spatially adjacent playback audio signals associated with the playback audio signal closest to the at least one direction parameter; determine an energy of the channel closest to the at least one direction parameter and the pair of adjacent playback audio signals based on the covariance matrix; determine a ratio between the energy of the pair of adjacent playback audio signals and a combination of the playback audio signal spatially closest to the at least one direction and the pair of playback audio signals; normalising the covariance matrix; and generate the stereoness parameter based on a normalised coherence between the pair of playback audio signals multiplied by the ratio between the energy of the pair of playback audio signals and a combination of the playback audio signal spatially closest to the at least one direction and the pair of playback audio signals.

The apparatus caused to determine the coherent panning parameter may be further caused to: determine normalized coherence values between the playback audio signal spatially closest to the at least one direction and each of the pair of playback audio signals; select the minimum value of the normalized coherence values, the minimum value depicting a coherence among the playback audio signals; determining an energy distribution parameter to depict how evenly the energy is distributed; and generate the coherent panning parameter based on the product of the minimum value of the normalized coherence values and the energy distribution parameter. The apparatus caused to determine at least one coherence parameter may be further caused to determine a surrounding coherence parameter, wherein the surrounding coherence parameter is determined based on an inter-channel coherence between two or more playback audio signals.

The apparatus caused to determine the surrounding coherence parameter may be further caused to: compute a covariance matrix associated with the two or more playback audio signals; monitor a playback audio signal with the largest energy determined based on the covariance matrix and a sub-set of other playback audio signals, wherein the sub-set is a determined number between 1 and one less than a total number of playback audio signals with the next largest energies; generate the surrounding parameter based on selecting the minimum of normalized coherences determined between the playback audio signal with the largest energy and each of the next largest energy playback audio signals.

The apparatus may be further caused to modify the at least one energy ratio based on the at least one coherence parameter.

The apparatus caused to modify the at least one energy ratio based on the at least one coherence parameter may be further caused to: determine a first alternative energy ratio based on an inter-channel coherence information between two or more playback audio signals spatially adjacent to an identified playback audio signal, the identified playback audio signal being identified based on the at least one spatial audio parameter; determine a second alternative energy ratio based on an inter-channel coherence information between the identified playback audio signal and the two or more playback audio signals spatially adjacent to the identified playback audio signal; and select as a modified energy ratio one of the at least one energy ratio, the first alternative energy ratio, and the second alternative energy ratio based on a maximum value of the at least one energy ratio, the first alternative energy ratio and the second alternative energy ratio.

The apparatus may be further caused to encode the downmix signal, the at least one direction parameter, the at least one energy ratio and the at least one coherence parameter.

According to a fourth aspect there is provided an apparatus for spatial audio signal processing, the apparatus comprising at least one processor and at least one memory including a computer program code, the at least one memory and the computer program code configured to, with the at least one processor, cause the apparatus at least to: receive at least one audio signal, the at least one audio signal based on two or more playback audio signals; receive at least one audio signal relationship parameter, the at least one audio signal relationship parameter based on a determination of inter-channel signal relationship information between the two or more playback audio signals and for at least two frequency bands; receive at least one spatial audio parameter for providing spatial audio reproduction; reproduce the two or more playback audio signals based on the at least one audio signal, the at least one spatial audio parameter and the at least one audio signal relationship parameter.

The at least one audio signal relationship parameter, the at least one audio signal relationship parameter based on a determination of inter-channel signal relationship information between the two or more playback audio signals and for at least two frequency bands may comprise at least one coherence parameter, the at least one coherence parameter based on a determination of inter-channel coherence information between the two or more playback audio signals and for the at least two frequency bands.

The at least one spatial audio parameter may comprise at least one direction parameter and at least one energy ratio, wherein the apparatus caused to reproduce the two or more playback audio signals based on the at least one audio signal, the at least one spatial audio parameter and the at least one audio signal relationship parameter may further be caused to: determine a target covariance matrix from the at least one spatial audio parameter, the at least one coherence parameter and an estimated covariance matrix based on the at least one audio signal; generate a mixing matrix based on the target covariance matrix and estimated covariance matrix based on the at least one audio signal; and apply the mixing matrix to the at least one audio signal to generate at least two output spatial audio signals for reproducing the two or more playback audio signals.

The apparatus caused to determine a target covariance matrix from the at least one spatial audio parameter, the at least one audio signal relationship parameter and the estimated covariance matrix may be caused to: determine a total energy parameter based on the estimated covariance matrix; determine a direct energy and an ambience energy based on the total energy parameter and the at least one energy ratio; estimate an ambience covariance matrix based on the determined ambience energy and one of the at least one coherence parameters; estimate at least one of: a vector of amplitude panning gains; an Ambisonic panning vector or at least one head related transfer function, based on an output channel configuration and/or the at least one direction parameter; estimate a direct covariance matrix based on: the vector of amplitude panning gains, Ambisonic panning vector or the at least one head related transfer function; a determined direct part energy; and a further one of the at least one coherence parameters; and generate the target covariance matrix by combining the ambience covariance matrix and direct covariance matrix.

An apparatus comprising means for performing the actions of the method as described above.

An apparatus configured to perform the actions of the method as described above.

A computer program comprising program instructions for causing a computer to perform the method as described above.

A computer program product stored on a medium may cause an apparatus to perform the method as described herein.

An electronic device may comprise apparatus as described herein.

A chipset may comprise apparatus as described herein.

Embodiments of the present application aim to address problems associated with the state of the art.

Summary of the Figures

For a better understanding of the present application, reference will now be made by way of example to the accompanying drawings in which:

Figure 1 shows schematically a system of apparatus suitable for implementing some embodiments;

Figure 2 shows schematically the analysis processor as shown in figure 1 according to some embodiments;

Figure 3 shows schematically the synthesis processor as shown in figure 1 according to some embodiments;

Figure 4 shows a flow diagram of the operation of the system as shown in figure 1 according to some embodiments; Figure 5 shows a flow diagram of the operation of the analysis processor as shown in figure 2 according to some embodiments;

Figure 6a shows a flow diagram of an example operation of generating the spread coherence parameter in further detail;

Figure 6b shows a flow diagram of an example operation of generating the surrounding coherence parameter in further detail;

Figure 6c shows a flow diagram of an example operation of modifying the energy ratio parameter in further detail;

Figure 7a shows a flow diagram of an example operation of the synthesis processor as shown in figure 3 according to some embodiments;

Figure 7b shows a flow diagram of an example operation of a generation of a target covariance matrix according to some embodiments;

Figures 8 to 10 show example graphs of audio signal processing according to known processing techniques and some embodiments; and

Figure 1 1 shows schematically an example device suitable for implementing the apparatus shown in figures 2 and 3.

Embodiments of the Application

The following describes in further detail suitable apparatus and possible mechanisms for the provision of effective spatial analysis derived metadata parameters for multi-channel input format audio signals. In the following discussions multi-channel system is discussed with respect to a multi-channel loudspeaker implementation and as such a centre channel discussed as a 'centre loudspeaker'. However it is understood that in some embodiments the channel location or direction is a virtual location or direction and one which is then rendered to the user via means other than loudspeakers. Furthermore the multi-channel loudspeaker signals may be generalised to be two or more playback audio signals. As such the playback audio signals may include sources other than loudspeaker signals, for example microphone audio input signals.

As discussed previously spatial metadata parameters such as direction and direct-to-total energy ratio (or diffuseness-ratio, absolute energies, or any suitable expression indicating the directionality/non-directionality of the sound at the given time-frequency interval) parameters in frequency bands are particularly suitable for expressing the perceptual properties of natural sound fields. Synthetic sound scenes such as 5.1 loudspeaker mixes commonly utilize audio effects and amplitude panning methods that provide spatial sound that differs from sounds occurring in natural sound fields. In particular, a 5.1 or 7.1 mix may be configured such that it contains coherent sounds played back from multiple directions. For example, it is common that some sounds of a 5.1 mix perceived directly at the front are not produced by a centre (channel) loudspeaker, but for example coherently from left and right front (channels) loudspeakers, and potentially also from the centre (channel) loudspeaker. The spatial metadata parameters such as direction(s) and energy ratio(s) do not express such spatially coherent features accurately.

The reproduction of sounds coherently and simultaneously from multiple directions generates a perception that differs from the perception created by a single loudspeaker. For example, if the sound is reproduced coherently using the front left and right loudspeakers the sound can be perceived to be more "airy" than if the sound is only reproduced using the centre loudspeaker. Correspondingly, if the sound is reproduced coherently from front left, right, and centre loudspeakers, the sound may be described as being close or pressurized. Thus, the spatially coherent sound reproduction serves artistic purposes, such as adding presence for certain sounds (e.g., the lead singer sound). The coherent reproduction from several loudspeakers is sometimes also utilized for emphasizing low-frequency content.

The problem is that such spatial coherence of the audio signals is not expressed by the described spatial metadata. Therefore, the spatial coherence cannot be conveyed by such a codec if the spatial metadata is as described in the proposed implementations. If the spatially coherent sound is reproduced as a point source from one direction, it is perceived as narrow and less present. Also if the spatially coherent sound is reproduced as ambience, it is perceived soft, distant (and sometimes with artefacts due to the necessary decorrelation).

Neither of the above, nor an average of them, is a perceptually good solution for reproducing the spatially coherent sound.

The concept as discussed in further detail hereafter is the provision of methods and means to encode and decode the spatial coherence by adding specific analysis methods for 'synthetic' multi-channel audio input (for example with respect to 5.1 and 7.1 multi-channel input) sound and to provide an added related (at least one coherence) parameter in the metadata stream which can be provided along with the spatial metadata consisting of direction(s) and energy ratio(s).

As such the concepts as discussed in further detail with example implementations relate to audio encoding and decoding using a spatial audio or sound- field related parameterization (direction(s) and ratio(s) in frequency bands). The concept furthermore discloses a solution provided to improve the reproduction quality of loudspeaker surround mixes encoded with the aforementioned parameterization. The concept embodiments improve the quality of the loudspeaker surround mixes by analysing the at least two playback audio signals and determining at least one coherence parameter. For example the concept embodiments improve the quality of the loudspeaker surround mixes by analysing the inter-channel coherence of the loudspeaker signals in frequency bands, conveying a spatial coherence parameter(s) along with the directional parameter(s), and reproducing the sound based on the directional parameter(s) and the spatial coherence parameter(s), such that the spatial coherence affects the cross correlation of the reproduced audio signals. The term coherence here is not interpreted strictly as one specific similarity value between signals, such as the normalised, square-value but reflects similarity values between playback audio signals in general and may be complex (with phase), absolute, normalised, or square values. The coherence parameter may be expressed more generally as an audio signal relationship parameter indicating a similarity of audio signals in any way.

The cross correlation of the output signals may refer to the cross correlation of the reproduced loudspeaker signals, or of the reproduced binaural signals, or of the reproduced Ambisonic signals.

The discussed concept implementations therefore may provide two related solutions to two related issues:

spatial coherence spanning an area in certain direction, which relates to the directional part of the sound energy;

surrounding spatial coherence, which relates to the ambient/non-directional part of the sound energy.

Moreover, the ratio parameter may as discussed in further detail hereafter be modified based on the determined spatial coherence or audio signal relationship parameter(s) for further audio quality improvement. In the example embodiments detailed below a typical scenario is described where the loudspeaker surround mix is a horizontal surround setup. In other embodiments spatial coherence or audio signal relationship parameters could be estimated also from "3D" loudspeaker configurations. In other words in some embodiments the spatial coherence or audio signal relationship parameters may be associated with directions located 'above' or 'below' a defined plane (e.g. elevated or depressed loudspeakers relative to a defined 'horizontal' plane).

There may be any degree of coherence between any of the channels in a loudspeaker mix. In theory, in order to accurately describe this perceptually, all information conveyed by the covariance matrix of the loudspeaker signals in frequency bands should be transmitted in the spatial metadata. The size of such a covariance matrix is N x N, where N is the number of loudspeaker channels. For a 5 channel system this would mean transmitting for each time-frequency analysis interval 10 complex cross-correlation values, for a 7 channel system 21 complex cross-correlation values and so on. Clearly, this would produce too much metadata for a suitable low- bit-rate codec. Hence in the following embodiments examples are described where only the perceptually essential aspects are described by the spatial metadata in order to keep the bit rate low.

For completeness, in a scope other than that of the present embodiments, a practical spatial audio encoder that would optimize transmission of the inter-channel relations of a loudspeaker mix would not transmit the whole covariance matrix of a loudspeaker mix, but provide a set of upmixing parameters to recover a surround sound signal at the decoder side that has a substantially similar covariance matrix than the original surround signal had. Solutions such as these have been employed in MPEG Surround and MPEG-H Part 3: 3D audio standards. However, such methods are specific of encoding and decoding only existing loudspeaker mixes. The present context is spatial audio encoding using the direction and ratio metadata that is a loudspeaker-setup independent parameterization in particular suited for captured spatial audio (and hence requires the present methods to improve the quality in case of loudspeaker surround inputs).

Thus the examples are focussed on solving the reproduction quality of 5.1 and 7.1 (and other format) channel loudspeaker mixes using the perceptually determined loudspeaker-setup independent parameterization methods as discussed hereafter. Within actual 5.1 and 7.1 channel loudspeaker mixes, three typical cases of spatial coherence that are an issue related to the direction-ratio parameterization exist:

1 ) The sound is reproduced coherently using two loudspeakers for creating an "airy" perception (e.g., use front left and right instead of centre);

2) The sound is reproduced coherently using three (or more) loudspeakers for creating a "close" perception (e.g., use front left, right and centre instead of only centre); and

3) The sound is reproduced coherently from all (or nearly all) loudspeakers for creating an "inside-the-head" or "above" perception.

It is shown how to estimate and describe these three cases using only 2 parameters for each time-frequency interval (additionally to the already existing direction and direct-to-total ratio parameters). It is proposed that using this parameter set a similar spatial quality for the reproduced output can be obtained as by reproducing the spatial sound with the information contained by the whole covariance matrix.

It is also shown how to synthesize the spatial sound based on the proposed parameters, by adopting existing synthesis techniques known in the literature.

With respect to figure 1 an example apparatus and system for implementing embodiments of the application are shown. The system 100 is shown with an 'analysis' part 121 and a 'synthesis' part 131 . The 'analysis' part 121 is the part from receiving the multi-channel loudspeaker signals up to an encoding of the metadata and downmix signal and the 'synthesis' part 131 is the part from a decoding of the encoded metadata and downmix signal to the presentation of the re-generated signal (for example in multi-channel loudspeaker form).

The input to the system 100 and the 'analysis' part 121 is the multi-channel loudspeaker signals 102. In the following examples a 5.1 channel loudspeaker signal input is described, however any suitable input loudspeaker (or synthetic multi-channel) format may be implemented in other embodiments.

The multi-channel loudspeaker signals are passed to a downmixer 103 and to an analysis processor 105.

In some embodiments the downmixer 103 is configured to receive the multichannel loudspeaker signals and downmix the signals to a determined number of channels and output the downmix signals 104. For example the downmixer 103 may be configured to generate a 2 audio channel downmix of the multi-channel loudspeaker signals. The determined number of channels may be any suitable number of channels. In some embodiments the downmixer 103 is optional and the multichannel loudspeaker signals are passed unprocessed to an encoder in the same manner as the downmix signal are in this example.

In some embodiments the analysis processor 105 is also configured to receive the multi-channel loudspeaker signals and analyse the signals to produce metadata 106 associated with the multi-channel loudspeaker signals and thus associated with the downmix signals 104. The analysis processor 105 can, for example, be a computer (running suitable software stored on memory and on at least one processor), or alternatively a specific device utilizing, for example, FPGAs or ASICs. As shown herein in further detail the metadata may comprise, for each time-frequency analysis interval, a direction parameter 108, an energy ratio parameter 1 10, a surrounding coherence parameter 1 12, and a spread coherence parameter 1 14. The direction parameter and the energy ratio parameters may in some embodiments be considered to be spatial audio parameters. In other words the spatial audio parameters comprise parameters which aim to characterize the sound-field created by the multi-channel loudspeaker signals (or two or more playback audio signals in general).

In some embodiments the parameters generated may differ from frequency band to frequency band. Thus for example in band X all of the parameters are generated and transmitted, whereas in band Y only one of the parameters is generated and transmitted, and furthermore in band Z no parameters are generated or transmitted. A practical example of this may be that for some frequency bands such as the highest band some of the parameters are not required for perceptual reasons. The downmix signals 104 and the metadata 106 may be transmitted or stored, this is shown in Figure 1 by the dashed line 107. Before the downmix signals 104 and the metadata 106 are transmitted or stored they are typically coded in order to reduce bit rate, and multiplexed to one stream. The encoding and the multiplexing may be implemented using any suitable scheme.

In the decoder side, the received or retrieved data (stream) may be demultiplexed, and the coded streams decoded in order to obtain the downmix signals and the metadata. This receiving or retrieving of the downmix signals and the metadata is also shown in Figure 1 with respect to the right hand side of the dashed line 107. The system 100 'synthesis' part 131 shows a synthesis processor 109 configured to receive the downmix 104 and the metadata 106 and re-creates the multichannel loudspeaker signals 1 10 (or in some embodiments any suitable output format such as binaural or Ambisonics signals, depending on the use case) based on the downmix signals 104 and the metadata 106. The synthesis processor 109 can in some embodiments be a computer (running suitable software stored on memory and on at least one processor), or alternatively a specific device utilizing, for example, FPGAs or ASICs.

With respect to Figure 4 an example flow diagram of the overview shown in Figure 1 is shown.

First the system (analysis part) is configured to receive multi-channel (loudspeaker) audio signals as shown in Figure 4 by step 401 .

Then the system (analysis part) is configured to generate a downmix of loudspeaker signals as shown in Figure 4 by step 403.

Also the system (analysis part) is configured to analyse loudspeaker signals to generate metadata: Directions; Energy ratios; Surrounding coherences; Spread coherences as shown in Figure 4 by step 405.

The system is then configured to encode for storage/transmission the downmix signal and metadata with coherence parameters as shown in Figure 4 by step 407.

After this the system may store/transmit the encoded downmix and metadata with coherence parameters as shown in Figure 4 by step 409.

The system may retrieve/receive the encoded downmix and metadata with coherence parameters as shown in Figure 4 by step 41 1 .

Then the system is configured to extract from encoded downmix and metadata with coherence parameters as shown in Figure 4 by step 413.

The system (synthesis part) is configured to synthesize an output multi-channel audio signal based on extracted downmix of multi-channel audio signals and metadata with coherence parameters as shown in Figure 4 by step 415.

With respect to Figure 2 an example analysis processor 105 (as shown in Figure 1 ) according to some embodiments is described in further detail. The analysis processor 105 in some embodiments comprises a time-frequency domain transformer In some embodiments the time-frequency domain transformer 201 is configured to receive the multi-channel loudspeaker signals 102 and apply a suitable time to frequency domain transform such as a Short Time Fourier Transform (STFT) in order to convert the input time domain signals into a suitable time-frequency signals. These time-frequency signals may be passed to a direction analyser 203 and to a coherence analyser 205.

Thus for example the time-frequency signals 202 may be represented in the time-frequency domain representation by

Si (b, n),

where b is the frequency bin index and n is the frame index and i is the loudspeaker channel index. In another expression, n can be considered as a time index with a lower sampling rate than that of the original time-domain signals. These frequency bins can be grouped into subbands that group one or more of the bins into a band index k = 0, ..., K-1. Each subband k has a lowest b\n b l0W and a highest b\n b kMgh , and the subband contains all bins from b k low to b k gh . The widths of the subbands can approximate any suitable distribution. For example the Equivalent rectangular bandwidth (ERB) scale or the Bark scale.

In some embodiments the analysis processor 105 comprises a direction analyser 203. The direction analyser 203 may be configured to receive the time- frequency signals 202 and based on these signals estimate direction parameters 108. The direction parameters may be determined based on any audio based 'direction' determination.

For example in some embodiments the direction analyser 203 is configured to estimate the direction with two or more loudspeaker signal inputs. This represents the simplest configuration to estimate a 'direction', more complex processing may be performed with even more loudspeaker signals.

The direction analyser 203 may thus be configured to provide an azimuth for each frequency band and temporal frame, denoted as Q(k,n). Where the direction parameter is a 3D parameter an example direction parameter may be azimuth Q{k,n), elevation <$>{k,n). The direction parameter 108 may be also be passed to a coherence analyser 205

In some embodiments further to the direction parameter the direction analyser 203 is configured to determine an energy ratio parameter 1 10. The energy ratio may be considered to be a determination of the energy of the audio signal which can be considered to arrive from a direction. The direct-to-total energy ratio r(k,n) can be estimated, e.g., using a stability measure of the directional estimate, or using any correlation measure, or any other suitable method to obtain a ratio parameter.

The estimated direction 108 parameters may be output (and to be used in the synthesis processor). The estimated energy ratio parameters 1 10 may be passed to a coherence analyser 205. The parameters may, in some embodiments, be received in a parameter combiner (not shown) where the estimated direction and energy ratio parameters are combined with the coherence parameters as generated by the coherence analyser 205 described hereafter.

In some embodiments the analysis processor 105 comprises a coherence analyser 205. The coherence analyser 205 is configured to receive parameters (such as the azimuths (0(fc, n)) 108, and the direct-to-total energy ratios (r(/c, n)) 1 10) from the direction analyser 203. The coherence analyser 205 may be further configured to receive the time-frequency signals (Si(b, n)) 202 from the time-frequency domain transformer 201 . All of these are in the time-frequency domain; b is the frequency bin index, k is the frequency band index (each band potentially consists of several bins b), n is the time index, and / is the loudspeaker channel.

Although directions and ratios are here expressed for each time index n, in some embodiments the parameters may be combined over several time indices. Same applies for the frequency axis, as has been expressed, the direction of several frequency bins b could be expressed by one direction parameter in band k consisting of several frequency bins b. The same applies for all of the discussed spatial parameters herein.

The coherence analyser 205 is configured to produce a number of coherence parameters. In the following disclosure there are the two parameters: surrounding coherence (y(/c, n)) and spread coherence ( " (/<:, n)), both analysed in time-frequency domain. In addition, in some embodiments the coherence analyser 205 is configured to modify the estimated energy ratios (r(/c, n)).

Each of the aforementioned spatial coherence issues related to the direction- ratio parameterization are next discussed, and it is shown how the aforementioned new parameters are formed in each of the cases. All the processing is performed in the time-frequency domain, so the time-frequency indices k and n are dropped where necessary for brevity. As stated previously, in some cases the spatial metadata may be expressed in another frequency resolution than the frequency resolution of the time-frequency signal.

Let us first consider the situation discussed previously where the sound is reproduced coherently using two spaced loudspeakers (e.g., front left and right) instead of a single loudspeaker. The coherence analyser may be configured to detect that such a method has been applied in surround mixing.

In some embodiments therefore the coherence analyser 205 may be configured to calculate, the covariance matrix C for the given analysis interval consisting of one or more time indices n and frequency bins b. The size of the matrix is N x N, and the entries are denoted as c £j - , where / and j are loudspeaker channel indices.

Next, the coherence analyser 205 may be configured to determine the loudspeaker channel i c closest to the estimated direction (which in this example is azimuth Θ).

i c = arg( min(| Θ - a t \))

where a t is the angle of the loudspeaker / ' .

Furthermore in such embodiments the coherence analyser 205 is configured to determine the loudspeakers closest on the left i x and the right i r side of the loudspeaker i c .

A normalized coherence between loudspeakers / and j is denoted as

using this equation, the coherence analyser 205 may be configured to calculate a normalized coherence c' Xr between i x and i r . In other words calculate

Furthermore the coherence analyser 205 may configured to determine the energy of the loudspeaker channels / using the diagonal entries of the covariance matrix and determine a ratio between the energies of the i x and i r loudspeakers and i i r , and i c loudspeakers as

Ei+E r

S ir /Ire Ei+E r +E c ' The coherence analyser 205 may then use these determined variables to generate a 'stereoness' parameter

This 'stereoness' parameter has a value between 0 and 1 . A value of 1 means that there is coherent sound in loudspeakers i x and i r and this sound dominates the energy of this sector. The reason for this could, for example, be the loudspeaker mix used amplitude panning techniques for creating an "airy" perception of the sound. A value of 0 means that no such techniques has been applied, and, for example, the sound may simply be positioned to the closest loudspeaker.

Furthermore the coherence analyser may be configured to detect, or at least identify, the situation where the sound is reproduced coherently using three (or more) loudspeakers for creating a "close" perception (e.g., use front left, right and centre instead of only centre). This may be because a soundmixing engineer produces such a situation in surround mixing the multichannel loudspeaker mix.

In such embodiments the same loudspeakers i i r , and i c identified earlier are used by the coherence analyser to determine normalized coherence values c' cl and c' cr using the normalized coherence determination discussed earlier. In other words the following values are computed:

The coherence analyser 205 may then determine a normalized coherence value e'eir depicting the coherence among these loudspeakers using the following:

cir = rnin(c' ciJ c cr ) .

In addition, the coherence analyser may be configured to determine a parameter that depicts how evenly the energy is distributed between the channels i i r , and i c ,

f * = min(a, a a).

Using these variables, the coherence analyser may determine a new coherent panning parameter κ as,

"· C clr clr - This coherent panning parameter κ has values between 0 and 1 . A value of 1 means that there is coherent sound in all loudspeakers i i r , and i c , and the energy of this sound is evenly distributed among these loudspeakers. The reason for this could, for example, be because the loudspeaker mix was generated using studio mixing techniques for creating a perception of a sound source being closer. A value of 0 means that no such technique has been applied, and, for example, the sound may simply be positioned to the closest loudspeaker.

The coherence analyser determined stereoness parameter μ which measures the amount of coherent sound in i x and i r (but not in i c ), and coherent panning parameter κ which measures the amount of coherent sound in all i i r , and i c is configured to use these to determine coherence parameters to be output as metadata.

Thus the coherence analyser is configured to combine the stereoness parameter μ and coherent panning parameter κ to form a spread coherence ζ parameter, which has values from 0 to 1 . A spread coherence ζ value of 0 denotes a point source, in other words, the sound should be reproduced with as few loudspeakers as possible (e.g., using only the loudspeaker i c ). As the value of the spread coherence ζ increases, more energy is spread to the loudspeakers around the loudspeaker i c ; until at the value 0.5, the energy is evenly spread among the loudspeakers i i r , and i c . As the value of spread coherence ζ increases over 0.5, the energy in the loudspeaker i c is decreased; until at the value 1 , there is no energy in the loudspeaker i c , and all the energy is at loudspeakers i x and i r .

Using the aforementioned parameters μ and κ, the coherence analyser is configured in some embodiments to determine a spread coherence parameter ζ, using the following expression:

_ ax( i, κ > 0.5 & κ > μ

The above expression is an example only and it should be noted that the coherence analyser may estimate the spread coherence parameter ζ in any other way as long as it complies with the above definition of the parameter.

As well as being configured to detect the earlier situations the coherence analyser may be configured to detect, or at least identify, the situation where the sound is reproduced coherently from all (or nearly all) loudspeakers for creating an "inside- the-head" or "above" perception.

In some embodiments coherence analyser may be configured to sort, the energies E t , and the loudspeaker channel i e with the largest value determined. The coherence analyser may then be configured to determine the normalized coherence c' £j - between this channel and M other loudest channels. These normalized coherence c' £j - values between this channel and M other loudest channels may then be monitored. In some embodiments M may be Λ/-1 , which would mean monitoring the coherence between the loudest and all the other loudspeaker channels. However in some embodiments M may be a smaller number, e.g., N-2. Using these normalized coherence values, the coherence analyser may be configured to determine a surrounding coherence parameter / using the following expression:

γ ' = m M in(c, l 'eJ ,·)-",

where c ,· are the normalized coherences between the loudest channel and M next loudest channels.

The surrounding coherence parameter γ has values from 0 to 1 . A value of 1 means that there is coherence between all (or nearly all) loudspeaker channels. A value of 0 means that there is no coherence between all (or even nearly all) loudspeaker channels.

The above expression is only one example of an estimate for a surrounding coherence parameter y, and any other way can be used, as long as it complies with the above definition of the parameter.

The coherence analyser may as discussed above be used to estimate the surrounding coherence and spread coherence parameters. However in some embodiments and in order to improve the audio quality the coherence analyser may, having determined that the situations 1 (the sound is coherently using two loudspeakers for creating an "airy" perception and using front left and right instead of centre) and/or 2 (the sound is coherently using three (or more) loudspeakers for creating a "close" perception) occur within the loudspeaker signals, modify the ratio parameter r. Hence, in some embodiments the spread coherence and surrounding coherence parameters can also be used to modify the ratio parameter r.

As indicated above the energy ratio r is determined as a ratio between the energy of a point source at direction (which may be azimuth Θ and/or elevation φ), and the rest of the energy. If the sound source is produced as a point source in the surround mix (e.g., the sound is only in one loudspeaker), the direction analysis correctly produces the energy ratio of 1 , and the synthesis stage will reproduce this sound as a point source. However, if audio mixing methods with coherent sound in multiple loudspeakers have been applied (such as the aforementioned cases 1 and 2), the direction analysis will produce lower energy ratios (as the sound is not a point source anymore). As a result, the synthesis stage will reproduce part of this sound as ambient, which may lead, for example, to a perception of faraway sound source contrary of the aim of the studio mixing engineer when generating the loudspeaker mix.

Thus in some embodiments the coherence analyser may be configured to modify the energy ratio if it is detected that audio mixing techniques have been used that distribute the sound coherently to multiple loudspeakers.

Thus in some embodiments the coherence analyser is configured to determine a ratio between the energy of loudspeakers i x and i r and all the loudspeakers,

r Ei+E r

^lr/all

Using this ratio, and the c' lr and y as determined above, an alternative energy ratio r s is generated by the coherence analyser,

r s = c'l^i f jau — y.

In some embodiments the coherence analyser may be similarly configured to determine a ratio between the energy of loudspeakers i i r , and i c and all the loudspeakers,

ζεΙτ/αΙΙ ^ E ,

Using this ratio, and the c' clr and y computed above, a further alternative energy ratio r c is formed by the coherence analyser,

rc = c ' cl clr/all ~ Ύ

Using these energy ratios, the original energy ratio r can be modified by the coherence analyser to be,

r' = max(r, r s , r c ) .

This modified energy ratio r' can be used to replace the original energy ratio r. As a result, for example, in the situation 1 (the sound is coherently using two loudspeakers for creating an "airy" perception and using front left and right instead of centre), the ratio r' will be close to 1 (and the spread coherence ζ also close to 1 ). As discussed later in the synthesis phase, the sound will be reproduced coherently from loudspeakers i x and i r without any decorrelation. Thus, the perception of the reproduced sound will match the original mix. These (modified) energy ratios 1 10, surrounding coherence 1 12 and spread coherence 1 14 parameters may then be output. As discussed these parameters may be passed to a metadata combiner or be processed in any suitable manner, for example encoding and/or multiplexing with the downmix signals and stored and/or transmitted (and be passed to the synthesis part of the system).

With respect to Figures 5, 6a, 6b, and 6c are shown flow diagrams summarising the operations described above.

Thus for example Figure 5 shows an example overview of the operation of the analysis processor 105.

The first operation is one of receiving time domain multichannel (loudspeaker) audio signals as shown in Figure 5 by step 501 .

Following this is applying a time domain to frequency domain transform (e.g. STFT) to generate suitable time-frequency domain signals for analysis as shown in Figure 5 by step 503.

Then applying direction analysis to determine direction and energy ratio parameters is shown in Figure 5 by step 505.

Then applying coherence analysis to determine coherence parameters such as surrounding and/or spread coherence parameters is shown in Figure 5 by step 507. In some embodiments the energy ratio may also be modified based on the determined coherence parameters in this step.

The final operation being one of outputting the determined parameters is shown in Figure 5 by step 509.

With respect to Figure 6a is an example method for generating a spread coherence parameter.

The first operation is computing a covariance matrix as shown in Figure 6a by step 701 .

The following operation is determining the channel closest to estimated direction and adjacent channels (i.e. i c , h, ir) as shown in Figure 6a by step 703.

The next operation is normalising the covariance matrix as shown in Figure 6a by step 705.

The method may then comprise determining energy of the channels using diagonal entries of the covariance matrix as shown in Figure 6a by step 707. Then the method may comprise determining a normalised coherence value among the left and right channels as shown in Figure 6a by step 709.

The method may comprise generating a ratio between the energies of ii and i r channels and ii, i r and i c as shown in Figure 6a by step 71 1 .

Then a stereoness parameter may be determined as shown in Figure 6a by step 713.

Also in parallel with steps 707 to 713 the method may comprise determining a normalised coherence value among the channels as shown in Figure 6a by step 708, determining an energy distribution parameter as shown in Figure 6a by step 710 and determining a coherent panning parameter as shown in Figure 6a by step 712.

Finally the operation may determine spread coherence parameter from the stereoness parameter and the coherent panning parameter as shown in Figure 6a by step 713.

Furthermore Figure 6b shows an example method for generating a surrounding coherence parameter.

The first three operations are the same as three of the first four operations shown in Figure 6a in that first is computing a covariance matrix as shown in Figure 6b by step 701 .

The next operation is normalising the covariance matrix as shown in Figure 6b by step 705.

The method may then comprise determining energy of the channels using diagonal entries of the covariance matrix as shown in Figure 6b by step 707.

Then the method may comprise sorting energies E, as shown in Figure 6b by step 721 .

Then the method may comprise selecting channel with largest value as shown in Figure 6b by step 723.

The method may then comprise monitoring a normalised coherence between the selected channel and M other largest energy channels as shown in Figure 6b by step 725.

Then determining surrounding coherence parameter from the normalised covariance matrix values as shown in Figure 6b by step 727.

With respect to Figure 6c an example method for modifying the energy ratio is shown. The first operation is determining a ratio between the energy of loudspeakers ii and i r and all the loudspeakers as shown in Figure 6c by step 731 .

Then determining a first alternative ratio r s based on this ratio and the c' lr and γ as determined above, by the coherence analyser is shown in Figure 6c by step 733.

The next operation is determining a ratio between the energy of loudspeakers ii and i r and i c and all the loudspeakers as shown in Figure 6c by step 735.

Then determining a second alternative ratio r c based on this ratio and the c' clr and γ as determined above, by the coherence analyser is shown in Figure 6c by step 737.

A modified energy ratio may then be determined based on original energy ratio, first alternative energy ratio and second alternative energy ratio, as shown in Figure 6c by step 739 and used to replace the current energy ratio.

The above formulation was detailed to estimate the coherence parameters for surround loudspeaker input. Similar processing can be also performed for audio object input, by treating the audio objects as audio channels at determined positions at each temporal parameter estimation interval.

Furthermore, the coherence parameters such as spread and surround coherence parameters could be estimated also for microphone array signals or Ambisonic input signals. As an example, from some microphone arrays the method and apparatus may obtain first-order Ambisonic (FOA) signals by methods known in the literature. FOA signals consist of an omnidirectional signal and three orthogonally aligned figure-of-eight signals having a positive gain at one direction and a negative gain at another direction. In one example of coherence parameter estimation for such an input, the method and apparatus may monitor the relative energies of the omnidirectional and the three directional signals of the FOA signal. This is since if a sound is reproduced from surrounding directions coherently and a FOA signal is captured, the omnidirectional (0 th order FOA) signal consists of a sum of these coherent signals. On the contrary, the three figure-of-eight (1 st order FOA) signals have positive and negative gains direction-dependently, and thus the coherent signals will partially or completely cancel each other at these 1 st order FOA signals. Therefore, the surround coherence parameter could be estimated such that a higher value is provided when the energy of the 0 th order FOA signal becomes higher with respect to the combined energy of the 1 st order FOA signals. With respect to Figure 3, an example synthesis processor 109 is shown in further detail. The example synthesis processor 109 may be configured to utilize a modified method such as detailed in: US20140233762A1 "Optimal mixing matrices and usage of decorrelators in spatial audio processing", Vilkamo, Backstrom, Kuntz, Kuch.

The cited method may be selected for the reason that it is particularly suited for such cases where the inter-channel signal coherences require to be synthesized or manipulated.

The synthesis method may be a modified least-squares optimized signal mixing technique to manipulate the covariance matrix of a signal, while attempting to preserve audio quality. The method utilizes the covariance matrix measure of the input signal and a target covariance matrix (as discussed below), and provides a mixing matrix to perform such processing. The method also provides means to optimally utilize decorrelated sound when there is no sufficient amount of independent signal energy at the inputs.

A synthesis processor 109 may receive the downmix signals 104 and the metadata 106.

The synthesis processor 109 may comprise a time-frequency domain transformer 301 configured to receive the downmix signals 104 and apply a suitable time to frequency domain transform such as a Short Time Fourier Transform (STFT) in order to convert the input time domain signals into a suitable time-frequency signals. These time-frequency signals, the time-frequency signals may be passed to a mixing matrix processor 309 and covariance matrix estimator 303.

The time-frequency signals may then be processed adaptively in frequency bands with a mixing matrix processor (and potentially also decorrelation processor) 309, and the result in the form of time-frequency output signals 312 is transformed back to the time domain to provide the processed output in the form of spatialized audio signals 314. The mixing matrix processing methods are well documented, for example in Vilkamo, Backstrom, and Kuntz. "Optimized covariance domain framework for time-frequency processing of spatial audio. " Journal of the Audio Engineering Society 61.6 (2013): 403-411.

To apply the mixing matrix processing, a mixing matrix 310 in frequency bands is required. The mixing matrix 310 may in some embodiments be formulated within a mixing matrix determiner 307. The mixing matrix determiner 307 is configured to receive input covariance matrices 306 in frequency bands and target covariance matrices 308 in frequency bands.

The covariance matrices 306 in frequency bands is simply determined in the covariance matrix estimator 303 and measured from the downmix signals in frequency bands from the time-frequency domain transformer 301 .

The target covariance matrix is formulated in some embodiments in a target covariance matrix determiner 305.

The target covariance matrix determiner 305 in some embodiments is configured to determine the target covariance matrix for reproduction to surround loudspeaker setups. In the following expressions the time and frequency indices n and k are removed for simplicity (when not necessary).

First the target covariance matrix determiner 305 may be configured to estimate the overall energy E 304 of the target covariance matrix based on the input covariance matrix from the covariance matrix estimator 303. The overall energy E may in some embodiments may be determined from the sum of the diagonal elements of the input covariance matrix.

The target covariance matrix determiner 305 may then be configured to determine the target covariance matrix CT in mutually incoherent parts, the directional part CD and the ambient or non-directional part CA.

The target covariance matrix is thus determined by the target covariance matrix determiner 305 as CT = CD + CA.

The ambient part CA expresses the spatially surrounding sound energy, which previously has been only incoherent, but due to the present invention it may be incoherent or coherent, or partially coherent.

The target covariance matrix determiner 305 may thus be configured to determine the ambience energy as (1-r)E, where r is the direct-to-total energy ratio parameter from the input metadata. Then, the ambience covariance matrix can be determined by,

C A = (1 - r)E (C 1 -^ 1 "*"- 1 -? 11 "*") t

where I is an identity matrix and U is a matrix of ones, and M is the number of output channels. In other words, when γ is zero, then the ambience covariance matrix CA is diagonal, and when γ is one, then the ambience covanance matrix is such that determines that all channel pairs to be coherent.

The target covariance matrix determiner 305 may next be configured to determine the direct part covariance matrix CD.

The target covariance matrix determiner 305 can thus be configured to determine the direct part energy as rE.

Then the target covariance matrix determiner 305 is configured to determine a gain vector for the loudspeaker signals based on the metadata. First, the target covariance matrix determiner 305 is configured to determine a vector of the amplitude panning gains for the loudspeaker setup and the direction information of the spatial metadata, for example, using the vector base amplitude panning (VBAP). These gains can be denoted in a column vector VVBAP, which for a horizontal setup has in maximum only two non-zero values for the two loudspeakers active in the amplitude panning. The target covariance matrix determiner 305 can in some embodiments be configured to determine the VBAP covariance matrix as,

CvBAP = V VBAP V VBAP -

The target covariance matrix determiner 305 can be configured, in a similar manner to the analysis part, to determine the channel triplet i i r , i c which are the loudspeakers nearest to the estimated direction, and the nearest left and right loudspeakers.

The target covariance matrix determiner 305 may furthermore be configured to determine a panning column vector VLRC being otherwise zero, but having values ^1/3 at the indices i i r , i c . The covariance matrix for that vector is

CLRC = V LRC V LRC - When the spread coherence parameter ζ is less than 0.5, i.e., when the sound is between "direct point source" and "three-loudspeakers coherent sound", the target covariance matrix determiner 305 can be configured to determine the direct part covariance matrix to be

C D = r£((l - 2<0C V BAP + 2 C LRC ).

When the spread coherence parameter ζ is between 0.5 and 1 , i.e., when the sound is between "three-loudspeakers coherent sound" and "two spread loudspeakers coherent sound", the target covariance matrix determiner 305 can determine a spread distribution vector V DISTR,3—

Then the target covariance matrix determiner 305 can be configured to determine a panning vector v DISTR where the i c th entry is the first entry of v DISTR 3 , and ijth and i r th entries are the second and third entries of v DISTR 3 . The direct part covariance matrix may then be calculated by the target covariance matrix determiner 305 to be,

C D = rE(y mSTR v^ lSTR ).

The target covariance matrix determiner 305 may then obtain the target covariance matrix CT = CD + CA to process the sound. As expressed above, the ambience part covariance matrix thus accounts for the ambience energy and the spatial coherence contained by the surrounding coherence parameter y, and the direct covariance matrix accounts for the directional energy, the direction parameter, and the spread coherence parameter ζ.

The target covariance matrix determiner 305 may be configured to determine a target covariance matrix 308 for a binaural output by being configured to synthesize inter-aural properties instead of inter-channel properties of surround sound.

Thus the target covariance matrix determiner 305 may be configured to determine, the ambience covariance matrix CA for the binaural sound. The amount of ambient or non-directional energy is (1-r)E, where E is the total energy as determined previously. The ambience part covariance matrix can be determined as

1 c(k, n)l

C A (/c, n) = (1 — r(k, ri))E(k, n)

c(k, )

where

c(k, n) = y(/c, n) + (l - Y(k, n))c hin (k),

and where c bin (fc) is the binaural diffuse field coherence for the frequency of / th frequency index. In other words, when y(/c, n) is one, then the ambience covariance matrix CA is such that determines full coherence between the left and right ears. When y(/c, n) is zero, then CA is such that determines the coherence between left and right ears that is natural for a human listener in a diffuse field (roughly: zero at high frequencies, high at low frequencies).

Then the target covariance matrix determiner 305 may be configured to determine the direct part covariance matrix CD. The amount of directional energy is rE. It is possible to use similar methods to synthesize the spread coherence parameter ζ as in the loudspeaker reproduction, detailed below.

First the target covariance matrix determiner 305 may be configured to determine a 2x1 HRTF-vector v HRTF (/c, 6 k, n)), where Q(k, ri) is the estimated direction parameter. The target covariance matrix determiner 305 can determine a panning HRTF vector that is equivalent to reproducing sound coherently at three directions respect to the azimuth dimension. It could be, for example, 30 degrees.

When the spread coherence parameter ζ is less than 0.5, i.e., when the sound is between "direct point source" and "three-loudspeakers coherent sound" the target covariance matrix determiner 305 can be configured to determine the direct part HRTF covariance matrix to be,

When the spread coherence parameter ζ is between 0.5 and 1 , i.e., when the sound is between "three-loudspeakers coherent sound" and "two spread loudspeakers coherent sound", the target covariance matrix determiner 305 can determine a spread distribution by re-utilizing the amplitude-distribution vector v DISTR 3 (same as in the loudspeaker rendering). A combined head related transfer function (HRTF) vector can then be determined as

VDISTR . HRTF (k, Θ (k, n ) = [V HRT F (k, Θ (k, n ) V HRT F (k, Θ (k, n) +

V HRTF (k, 6 (k, n - 0 a )]VDISTR,3 - The above formula produces the weighted sum of the three HRTFs with the weights in v DISTR 3 . The direct part HRTF covariance matrix is then

C D — rE (v DISTR HRTF V DISTR HRTF )

Then, the target covariance matrix determiner 305 is configured to obtain the target covariance matrix CT = CD + CA to process the sound. As expressed above, the ambience part covariance matrix thus accounts for the ambience energy and the spatial coherence contained by the surrounding coherence parameter y, and the direct covariance matrix accounts for the directional energy, the direction parameter, and the spread coherence parameter ζ. The target covariance matrix determiner 305 may be configured to determine a target covariance matrix 308 for an Ambisonic output by being configured to synthesize inter-channel properties of the Ambisonic signals instead of inter-channel properties of loudspeaker surround sound. The first-order Ambisonic (FOA) output is exemplified in the following, however, it is straightforward to extend the same principles to higher-order Ambisonic output as well.

Thus the target covariance matrix determiner 305 may be configured to determine, the ambience covariance matrix CA for the Ambisonic sound. The amount of ambient or non-directional energy is (1-r)E, where E is the total energy as determined previously. The ambience part covariance matrix can be determined as

In other words, when y(/c, n) is one, then the ambience covariance matrix CA is such that only the 0 th order component receives a signal. The meaning of such an Ambisonic signal is reproduction of the sound spatially coherently. When y(/c, n) is zero, then CA corresponds to an Ambisonic covariance matrix in a diffuse field. The normalization of the 0 th and 1 st order elements above is according to the known SN3D normalization scheme.

Then the target covariance matrix determiner 305 may be configured to determine the direct part covariance matrix CD. The amount of directional energy is rE. It is possible to use similar methods to synthesize the spread coherence parameter ζ as in the loudspeaker reproduction, detailed below.

First the target covariance matrix determiner 305 may be configured to determine a 4x1 Ambisonic panning vector v Amb (0(/c, n)), where Q(k, ri) is the estimated direction parameter. The Ambisonic panning vector v Amb (0 (fc, n)) contains the Ambisonic gains corresponding to direction Q(k, ri) . For FOA output with direction parameter at the horizontal plane (using the known ACN channel ordering scheme)

The target covariance matrix determiner 305 can determine a panning Ambisonic vector that is equivalent to reproducing sound coherently at three directions

„ fo ri, „ΛΛ — v Amb(S(k,n)) + v Amh (9(k,n)+9 ) + v Amh (9(k,n)-9 )

VLRC _Amb (.S(k, n)) - — ,

where the Θ parameter defines the width of the "spread" sound energy with respect to the azimuth dimension. It could be, for example, 30 degrees.

When the spread coherence parameter ζ is less than 0.5, i.e., when the sound is between "direct point source" and "three-loudspeakers coherent sound" the target covariance matrix determiner 305 can be configured to determine the direct part Ambisonic covariance matrix to be,

C D = rE (1— 2< " )v Amb V Amb + 2£v LRC _ Amb VL R c_Amb) -

When the spread coherence parameter ζ is between 0.5 and 1 , i.e., when the sound is between "three-loudspeakers coherent sound" and "two spread loudspeakers coherent sound", the target covariance matrix determiner 305 can determine a spread distribution by re-utilizing the amplitude-distribution vector v DISTR 3 (same as in the loudspeaker rendering). A combined Ambisonic panning vector can then be determined as

DisTR Amb (0 (fc^)) = [v Amb (0(/c, n)) v Amb (Θ (k, n) + 0 Δ ) v Amb (# (k, ri)— #A)] v DISTR,3

The above formula produces the weighted sum of the three Ambisonic panning vectors with the weights in v DISTR 3 . The direct part Ambisonic covariance matrix is then

C D = ^( ^sTR.AmbVDISTR . Amb)-

Then, the target covariance matrix determiner 305 is configured to obtain the target covariance matrix CT = CD + CA to process the sound. As expressed above, the ambience part covariance matrix thus accounts for the ambience energy and the spatial coherence contained by the surrounding coherence parameter y, and the direct covariance matrix accounts for the directional energy, the direction parameter, and the spread coherence parameter ζ. In other words, the same general principles apply in constructing the binaural or Ambisonic or loudspeaker target covariance matrix. The main difference is to utilize HRTF data or Ambisonic panning data instead of loudspeaker amplitude panning data in the rendering of the direct part, and to utilize binaural coherence (or specific Ambisonic ambience covariance matrix handling) instead of inter-channel (zero) coherence in rendering the ambient part. It would be understood that a processor may be able to run software implementing the above and thus be able to render each of these output types.

In the above formulas the energies of the direct and ambient parts of the target covariance matrices were weighted based on a total energy estimate E from the estimated input covariance matrix. Optionally, such weighting can be omitted, i.e., the direct part energy is determined as r, and the ambience part energy as (1-r). In that case, the estimated input covariance matrix is instead normalized with the total energy estimate, i.e., multiplied with 1/E. The resulting mixing matrix based on such determined target covariance matrix and normalized input covariance matrix may exactly or practically be the same than with the formulation provided previously, since the relative energies of these matrices matter, not their absolute energies.

With respect to Figure 7a an overview of the synthesis operations are shown.

The method thus may receive the time domain downmix signals as shown in Figure 7a by step 601 .

These downmix signals may then be time to frequency domain transformed as shown in Figure 7a by step 603.

The covariance matrix may then be estimated from the input (downmix) signals as shown in Figure 7a by step 605.

Furthermore the spatial metadata with directions, energy ratios and coherence parameters may be received as shown in Figure 7a by step 602.

The target covariance matrix may be determined from the estimated covariance matrix, directions, energy ratios and coherence parameter(s) as shown in Figure 7a by step 607.

The optimal mixing matrix may then be determined based on estimated covariance matrix and target covariance matrix as shown in Figure 7a by step 609.

The mixing matrix may then be applied to the time-frequency downmix signals as shown in Figure 7a by step 61 1 . The result of the application of the mixing matrix to the time-frequency downmix signals may then be inverse time to frequency domain transformed to generate the spatialized audio signals as shown in Figure 7a by step 613.

With respect to Figure 7b an example method for generating the target covariance matrix according to some embodiments is shown.

First is to estimate the overall energy E of the target covariance matrix based on the input covariance matrix as shown in Figure 7b by step 621 .

Then the method may comprise determining the ambience energy as (1 -r)E, where r is the direct-to-total energy ratio parameter from the input metadata as shown in Figure 7b by step 623.

Furthermore the method may comprise estimating the ambience covariance matrix as shown in Figure 7b by step 625.

Also the method may comprise determining the direct part energy as rE, where r is the direct-to-total energy ratio parameter from the input metadata as shown in Figure 7b by step 624.

The method may then comprise determining a vector of the amplitude panning gains for the loudspeaker setup and the direction information of the spatial metadata as shown in Figure 7b by step 626.

Following this the method may comprise determining the channel triplet which are the loudspeakers nearest to the estimated direction, and the nearest left and right loudspeakers as shown in Figure 7b by step 628.

Then the method may comprise estimating the direct covariance matrix as shown in Figure 7b by step 630.

Finally the method may comprise combining the ambience and direct covariance matrix parts to generate target covariance matrix as shown in Figure 7b by step 631 .

The above formulation discusses the construction of the target covariance matrix. The method in US20140233762A1 and the related journal publication has also further details, most relevantly, the determination and usage of a prototype matrix. The prototype matrix determines a "reference signal" for the rendering with respect to which the least-squares optimized mixing solution is formulated. In case a stereo downmix is provided as the audio signal in the codec, a prototype matrix for loudspeaker rendering can be such that determines that the signals for the left-hand side loudspeakers are optimized with respect to the provided left channel of the stereo track, and similarly for the right hand side (centre channel could be optimized with respect to the sum of the left and right audio channels). For binaural output, the prototype matrix could be such that determines that the reference signal for the left ear output signal is the left stereo channel, and similarly for the right ear. The determination of a prototype matrix is straightforward for an engineer skilled in the field having studied the prior literature. With respect to the prior literature, the novel aspect in the present formulation at the synthesis stage is the construction of the target covariance matrix utilizing also the spatial coherence metadata.

Although not repeated throughout the document, it is to be understood that spatial audio processing, both typically and in this context, takes place in frequency bands. Those bands could be for example, the frequency bins of the time-frequency transform, or frequency bands combining several bins. The combination could be such that approximates properties of human hearing, such as the Bark frequency resolution. In other words, in some cases, we could measure and process the audio in time- frequency areas combining several of the frequency bins b and/or time indices n. For simplicity, these aspects were not expressed by all of the equations above. In case many time-frequency samples are combined, typically one set of parameters such as one direction is estimated for that time-frequency area, and all time-frequency samples within that area are synthesized according to that set of parameters, such as that one direction parameter.

The usage of a frequency resolution for parameter analysis that is different than the frequency resolution of the applied filter-bank is a typical approach in the spatial audio processing systems.

The proposed method can thus detect or identify where the following common multi-channel mixing techniques have been applied to loudspeaker signals:

1 ) The sound is reproduced coherently using two loudspeakers for creating an "airy" perception (e.g., use front left and right instead of centre).

2) The sound is reproduced coherently using three (or more) loudspeakers for creating a "close" perception (e.g., use front left, right and centre instead of only centre)

3) The sound is reproduced coherently from all (or nearly all) loudspeakers for creating an "inside-the-head" or "above" perception This detection or identification information may in some embodiments be passed from the encoder to the decoder by using a number of (time-frequency domain) parameters. Two of these are the spread coherence and surrounding coherence parameters. In addition, the energy ratio parameter may be modified to improve audio quality having determined such situations as described above.

In the synthesis stage, the state-of-the-art methods (which do not use the proposed novel parameters) have the following issues with these situations, respectively:

1 ) Sound is reproduced largely as ambient: Dry sound in the centre loudspeaker, and decorrelated sound in all loudspeakers. This results in an ambient-like perception, whereas the perception was "airy" with the original signals.

2) Sound is reproduced partially as ambient: Dry sound in the centre loudspeaker, and decorrelated sound in all loudspeakers. The sound source is perceived to be far away, whereas it was close with original signals.

3) The sound is reproduced as ambient: almost all sound is reproduced as decorrelated from all loudspeakers. The spatial perception is almost the opposite to that of the original signals.

However in the synthesis stages which implement the embodiments described herein, the synthesis can reproduce these cases without issues (using the proposed novel parameters), respectively:

1 ) The sound is reproduced coherently using two loudspeakers as in the original signals.

2) The sound is reproduced coherently using three loudspeakers as in the original signals.

3) The sound is reproduced coherently using all loudspeakers as in the original signals.

With respect to Figures 8 to 10 waveforms are shown of processing example 5.1 audio files with the state-of-the-art and the proposed methods. Figures 8 to 10 correspond to the aforementioned situations 1 , 2, and 3, respectively. From these Figures it can be clearly seen that the state-of-the-art method modifies the waveforms, and leaks energy to wrong channels, whereas the output of the proposed method follows the original signals accurately. With respect to Figure 1 1 an example electronic device which may be used as the analysis or synthesis device is shown. The device may be any suitable electronics device or apparatus. For example in some embodiments the device 1400 is a mobile device, user equipment, tablet computer, computer, audio playback apparatus, etc.

In some embodiments the device 1400 comprises at least one processor or central processing unit 1407. The processor 1407 can be configured to execute various program codes such as the methods such as described herein.

In some embodiments the device 1400 comprises a memory 141 1 . In some embodiments the at least one processor 1407 is coupled to the memory 141 1 . The memory 141 1 can be any suitable storage means. In some embodiments the memory 141 1 comprises a program code section for storing program codes implementable upon the processor 1407. Furthermore in some embodiments the memory 141 1 can further comprise a stored data section for storing data, for example data that has been processed or to be processed in accordance with the embodiments as described herein. The implemented program code stored within the program code section and the data stored within the stored data section can be retrieved by the processor 1407 whenever needed via the memory-processor coupling.

In some embodiments the device 1400 comprises a user interface 1405. The user interface 1405 can be coupled in some embodiments to the processor 1407. In some embodiments the processor 1407 can control the operation of the user interface 1405 and receive inputs from the user interface 1405. In some embodiments the user interface 1405 can enable a user to input commands to the device 1400, for example via a keypad. In some embodiments the user interface 1405 can enable the user to obtain information from the device 1400. For example the user interface 1405 may comprise a display configured to display information from the device 1400 to the user. The user interface 1405 can in some embodiments comprise a touch screen or touch interface capable of both enabling information to be entered to the device 1400 and further displaying information to the user of the device 1400. In some embodiments the user interface 1405 may be the user interface for communicating with the position determiner as described herein.

In some embodiments the device 1400 comprises an input/output port 1409. The input/output port 1409 in some embodiments comprises a transceiver. The transceiver in such embodiments can be coupled to the processor 1407 and configured to enable a communication with other apparatus or electronic devices, for example via a wireless communications network. The transceiver or any suitable transceiver or transmitter and/or receiver means can in some embodiments be configured to communicate with other electronic devices or apparatus via a wire or wired coupling.

The transceiver can communicate with further apparatus by any suitable known communications protocol. For example in some embodiments the transceiver or transceiver means can use a suitable universal mobile telecommunications system (UMTS) protocol, a wireless local area network (WLAN) protocol such as for example IEEE 802.X, a suitable short-range radio frequency communication protocol such as Bluetooth, or infrared data communication pathway (IRDA).

The transceiver input/output port 1409 may be configured to receive the loudspeaker signals and in some embodiments determine the parameters as described herein by using the processor 1407 executing suitable code. Furthermore the device may generate a suitable downmix signal and parameter output to be transmitted to the synthesis device.

In some embodiments the device 1400 may be employed as at least part of the synthesis device. As such the input/output port 1409 may be configured to receive the downmix signals and in some embodiments the parameters determined at the capture device or processing device as described herein, and generate a suitable audio signal format output by using the processor 1407 executing suitable code. The input/output port 1409 may be coupled to any suitable audio output for example to a multichannel speaker system and/or headphones or similar.

In general, the various embodiments of the invention may be implemented in hardware or special purpose circuits, software, logic or any combination thereof. For example, some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software which may be executed by a controller, microprocessor or other computing device, although the invention is not limited thereto. While various aspects of the invention may be illustrated and described as block diagrams, flow charts, or using some other pictorial representation, it is well understood that these blocks, apparatus, systems, techniques or methods described herein may be implemented in, as non-limiting examples, hardware, software, firmware, special purpose circuits or logic, general purpose hardware or controller or other computing devices, or some combination thereof.

The embodiments of this invention may be implemented by computer software executable by a data processor of the mobile device, such as in the processor entity, or by hardware, or by a combination of software and hardware. Further in this regard it should be noted that any blocks of the logic flow as in the Figures may represent program steps, or interconnected logic circuits, blocks and functions, or a combination of program steps and logic circuits, blocks and functions. The software may be stored on such physical media as memory chips, or memory blocks implemented within the processor, magnetic media such as hard disk or floppy disks, and optical media such as for example DVD and the data variants thereof, CD.

The memory may be of any type suitable to the local technical environment and may be implemented using any suitable data storage technology, such as semiconductor-based memory devices, magnetic memory devices and systems, optical memory devices and systems, fixed memory and removable memory. The data processors may be of any type suitable to the local technical environment, and may include one or more of general purpose computers, special purpose computers, microprocessors, digital signal processors (DSPs), application specific integrated circuits (ASIC), gate level circuits and processors based on multi-core processor architecture, as non-limiting examples.

Embodiments of the inventions may be practiced in various components such as integrated circuit modules. The design of integrated circuits is by and large a highly automated process. Complex and powerful software tools are available for converting a logic level design into a semiconductor circuit design ready to be etched and formed on a semiconductor substrate.

Programs, such as those provided by Synopsys, Inc. of Mountain View, California and Cadence Design, of San Jose, California automatically route conductors and locate components on a semiconductor chip using well established rules of design as well as libraries of pre-stored design modules. Once the design for a semiconductor circuit has been completed, the resultant design, in a standardized electronic format (e.g., Opus, GDSII, or the like) may be transmitted to a semiconductor fabrication facility or "fab" for fabrication. The foregoing description has provided by way of exemplary and non-limiting examples a full and informative description of the exemplary embodiment of this invention. However, various modifications and adaptations may become apparent to those skilled in the relevant arts in view of the foregoing description, when read in conjunction with the accompanying drawings and the appended claims. However, all such and similar modifications of the teachings of this invention will still fall within the scope of this invention as defined in the appended claims.