# US 2022/0293111 A1 · Apparatus and method for downmixing or upmixing a multichannel signal using phase compensation

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0293111 A1
- Document ID: US20220293111A1
- Status: Published application
- Kind: A1
- Application number: 17/824,297
- Filed: 2022-05-25
- Published: 2022-09-15
- Earliest claimed: 2016-11-08
- Assignees: Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V.
- Applicants: Fraunhofer-Gesellschaft Zur Foerderung Der Angewandten Forschung E.V.
- Inventors: Jan BUETHE; Guillaume FUCHS; Wolfgang JAGERS; Franz REUTELHUBER; Juergen HERRE; Eleni FOTOPOULOU; Markus MULTRUS; Srikanth KORSE
- Web page: https://patentgrep.com/patent/US20220293111A1

## CPC

- G10L 19/008: Multichannel audio signal coding or decoding using interchannel correlation to reduce redundancy, e.g. joint-stereo, intensity-coding or matrixing
- H04S 1/007: {in which the audio signals are in digital form (data reduction aspects thereof based on psychoacoustics G10L19/02)}
- H04S 3/008: {in which the audio signals are in digital form, i.e. employing more than two discrete digital channels (data reduction aspects thereof based on psychoacoustics G10L19/02)}
- H04S 7/30: {Control circuits for electronic adaptation of the sound field}
- H04S 2400/01: Multi-channel, i.e. more than two input channels, sound reproduction with two speakers wherein the multi-channel information is substantially preserved
- H04S 2420/03: Application of parametric coding in stereophonic audio systems
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- H04S: STEREOPHONIC SYSTEMS

## Abstract

An apparatus for downmixing a multi-channel signal having at least two channels, has: a downmixer for calculating a downmix signal from the multi-channel signal, wherein the downmixer is configured to calculate the downmix using an absolute phase compensation, so that a channel having a lower energy among the at least two channels is only rotated or is rotated stronger than a channel having a greater energy in calculating the downmix signal; and an output interface for generating an output signal, the output signal having information on the downmix signal.

## Claims

### Claim 1

An apparatus for downmixing a multi-channel signal comprising at leas two channels, comprising:
a downmixer for calculating a downmix signal from the multi-channel signal, wherein the downmixer is configured to calculate the downmix using an absolute phase compensation, so that a channel comprising a lower energy among the at least two channels is only rotated or is rotated stronger than a channel comprising a greater energy in calculating the downmix signal; and
an output interface for generating an output signal, the output signal comprising information on the downmix signal.

### Claim 2 (depends on 1)

The apparatus of claim 1,
wherein the downmixer is configured to calculate an inter-channel phase difference using the at least two channels, and
wherein the downmixer is configured to calculate an absolute phase rotation parameter, and
wherein the downmixer is configured to weight, in calculating the downmix signal, the first channel and the second channel using the inter-channel phase difference and the absolute phase rotation parameter.

### Claim 3 (depends on 2)

The apparatus of claim 2,
wherein the apparatus further comprises a parameter calculator for calculating a side gain from a first channel and a second channel of the at least two channels, and
wherein the downmixer is configured to calculate the absolute phase rotation parameter based on the side gain determined by the parameter calculator.

### Claim 4 (depends on 2)

The apparatus of claim 2,
wherein the downmixer is configured to calculate the inter-channel phase difference for each sub-band of a frame, and wherein the downmixer is configured to calculate the absolute phase rotation parameter for each sub-band of the frame.

### Claim 5 (depends on 1)

The apparatus of claim 1,
wherein the downmixer is configured to calculate the absolute phase rotation parameter so that the absolute phase rotation parameter is within ±20% of values determined by the following equation:
β
=
atan
⁡
(
sin
⁡
(
IPD
t
,
b
)
,
cos
⁡
(
IPD
t
,
b
)
-
A
⁢
1
+
g
t
,
b
1
-
g
t
,
b
)
,
wherein a tan is an arctangent function, wherein ß is the absolute phase rotation parameter, wherein IPD is the inter-channel phase difference, wherein t is a frame index, b is a sub-band index, and gt,b is the side gain for the frame t and the sub-band b, and wherein A is a value between 0.1 and 100 or between −0.1 and −100.

### Claim 6 (depends on 5)

The apparatus of claim 5, wherein the a tan function comprises an a tan 2 function, the a tan 2(y,x) function being the two argument arctangent function whose value is the angle between the point (x,y) and the positive x-axis.

### Claim 7 (depends on 1)

The apparatus of claim 1,
wherein the downmixer is configured to calculate the downmix signal so that the downmix signal comprises values within ±20% of values determined by the following equation:
M
t
,
k
=
e
-
i
⁢
β
⁢
L
t
,
k
+
e
i
⁡
(
IPD
t
,
b
-
β
)
⁢
R
t
,
k
2
,
wherein Mt,k is a downmix signal for the frame t and the frequency bin k, wherein Lt,k is the first channel for the frame t and the frequency bin k, wherein Rt,k is the second channel for the frame t and the frequency bin k, wherein IPDt,b is an inter-channel phase difference for the frame t and the sub-band b comprising the frequency bin k, and wherein ß is the phase rotation parameter.

### Claim 8 (depends on 1)

The apparatus of claim 1, further comprising:
a parameter calculator for calculating a side gain from a first channel of the at least two channels and a second channel of the at least two channels or for calculating a residual gain from the first channel and the second channel; and
an output interface for generating an output signal, the output signal comprising information on the downmix signal, and on the side gain and the residual gain.

### Claim 9 (depends on 3)

The apparatus of claim 3, wherein the parameter calculator is configured:
to generate a sub-bandwise representation of the first channel and the second channel,
to calculate a first amplitude-related characteristic of the first channel in a sub-band and to calculate a second amplitude-related characteristic of the second channel in the sub-band,
to calculate an inner product of the first channel and the second channel in the sub-band;
to calculate the side gain in the sub-band using a first relation involving the first amplitude-related characteristic, the second amplitude-related characteristic, and the inner product; or
to calculate the residual gain in the sub-band using a second relation involving the first amplitude-related characteristic, the second amplitude-related characteristic, and the inner product, the second relation being different from the first relation,
wherein the amplitude-related characteristic is determined from amplitudes, from powers, from energies or from any powers of amplitudes with an exponent greater than 1.

### Claim 10 (depends on 3)

The apparatus of claim 3,
wherein the parameter calculator is configured to calculate, for each sub-band of a plurality of sub-bands of the first channel and the second channel, the side gain or the residual gain, or
wherein the parameter calculator is configured to calculate the side gain as a side prediction gain that is applicable to a mid signal of the first and the second channels to predict a side signal of the first and the second channels, or
wherein the parameter calculator is configured to calculate the residual gain as a residual prediction gain indicating an amplitude-related characteristic of a residual signal of a prediction of the side signal by the mid signal using the side gain.

### Claim 11 (depends on 3)

The apparatus of claim 3,
wherein the parameter calculator is configured to calculate the side gain using a fraction comprising a nominator and a denominator, the nominator involving an amplitude-related characteristic of the first channel and an amplitude-related characteristic of the second channel, and the denominator involving the amplitude-related characteristic of the first channel and the amplitude-related characteristic of the second channel and a value derived from the inner product, or
wherein the parameter calculator is configured to calculate the residual gain using a fraction comprising a nominator and a denominator, the nominator involving a value derived from the inner product, and the denominator involving the inner product.

### Claim 12 (depends on 11)

The apparatus of claim 11,
wherein the parameter calculator is configured to calculate the side gain, wherein the nominator comprises a difference of the first amplitude-related characteristic of the first channel and a second amplitude-related characteristic of the second channel, and where the denominator comprises a sum of the first amplitude-related characteristic of the first channel and the second amplitude-related characteristic of the second channel and a value derived from the inner product, or
wherein the parameter calculator is configured to calculate the residual gain using the fraction comprising the nominator and the denominator, wherein the nominator comprises a difference between a weighted sum of the first amplitude-related characteristic of the first channel and the second amplitude-related characteristic of the second channel and a value derived from the inner product, and wherein the denominator comprises the sum of the amplitude-related characteristic of the first channel, the amplitude-related characteristic of the second channel and a value derived from the inner product.

### Claim 13 (depends on 3)

The apparatus of claim 3,
wherein the parameter calculator is configured to calculate the side gain for a sub-band and to calculate the residual gain for the sub-band using the side gain for the sub-band.

### Claim 14 (depends on 3)

The apparatus of claim 3,
wherein the parameter calculator is configured to calculate the side gain so that values for the side gain are in a range of ±20% of values determined based on the following equation:
g
t
,
b
=
E
L
,
t
,
b
-
E
R
,
t
,
b
E
L
,
t
,
b
+
E
R
,
t
,
b
+
2
⁢
X
L
/
R
,
t
,
b
,
or
wherein the parameter calculator is configured to calculate the residual gain so that values for the residual gain are in a range of ±20% of values determined based on the following equation:
r
t
,
b
=
(
(
1
-
g
t
,
b
)
⁢
E
L
,
t
,
b
+
(
1
+
g
t
,
b
)
⁢
E
R
,
t
,
b
-
2
⁢
X
L
/
R
,
t
,
b
E
L
,
t
,
b
+
E
R
,
t
,
b
+
2
⁢
X
L
/
R
,
t
,
b
)
1
/
2
,
wherein t is a frame index, wherein b is a sub-band index, wherein El is an energy of the left channel in the frame and the sub-band, wherein ER is an energy of the second channel in the frame t and the sub-band b, and wherein X is the inner product between the first channel and the second channel in the frame t and the sub-band b.

### Claim 15 (depends on 3)

The apparatus of claim 3,
wherein the parameter calculator is configured to calculate a sub-band-wise representation of the first channel and the second channel as a sequence of complex valued spectra, wherein each spectrum is related to a time frame of the first or the second channel, wherein the time frames of the sequence being adjacent in the sequence of spectra and overlap with each other, or
wherein the parameter calculator is configured to calculate the first amplitude-related measure and the second amplitude-related measure by squaring magnitudes of complex spectral values in a sub-band and by summing squared magnitudes in the sub-band, or
wherein the parameter calculator is configured to calculate an inner product by summing, in the sub-band, products, wherein each product involves a spectral value in a frequency bin of the first channel and a conjugate complex spectral value of the second channel for the frequency bin, and by forming a magnitude of a result of the summing.

### Claim 16 (depends on 1)

The apparatus of claim 1,
wherein the output interface comprises a waveform encoder configured to waveform encode the downmix signal to acquire the information on the downmix signal, or
wherein the downmixer is configured to rotate the channel comprising the lower energy more than the channel comprising the higher energy only when the energy difference between the channels is greater than a predefined threshold.

### Claim 17

(canceled)

### Claim 18

(canceled)

### Claim 19

(canceled)

### Claim 20

(canceled)

### Claim 21

(canceled)

### Claim 22

(canceled)

### Claim 23

(canceled)

### Claim 24

(canceled)

### Claim 25

(canceled)

### Claim 26

(canceled)

### Claim 27

(canceled)

### Claim 28

(canceled)

### Claim 29

(canceled)

### Claim 30

(canceled)

### Claim 31

(canceled)

### Claim 32

(canceled)

### Claim 33

A method of downmixing a multi-channel signal comprising at least two channels, comprising:
calculating a downmix signal from the multi-channel signal, wherein the calculating comprises calculating the downmix using an absolute phase compensation, so that a channel comprising a lower energy among the at least two channels is only rotated or is rotated stronger than a channel comprising a greater energy in calculating the downmix signal; and
generating an output signal, the output signal comprising information on the downmix signal.

### Claim 34

(canceled)

### Claim 35

A non-transitory digital storage medium having stored thereon a computer program for performing a method of downmixing a multi-channel signal comprising at least two channels, comprising:
calculating a downmix signal from the multi-channel signal, wherein the calculating comprises calculating the downmix using an absolute phase compensation, so that a channel comprising a lower energy among the at least two channels is only rotated or is rotated stronger than a channel comprising a greater energy in calculating the downmix signal; and
generating an output signal, the output signal comprising information on the downmix signal,
when said computer program is run by a computer.

### Claim 36

(canceled)
