# US 2022/0036906 A1 · Selection of quantisation schemes for spatial audio parameter encoding

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

- Number: US 2022/0036906 A1
- Document ID: US20220036906A1
- Status: Published application
- Kind: A1
- Application number: 17/281,393
- Filed: 2019-09-20
- Published: 2022-02-03
- Earliest claimed: 2018-10-02
- Assignees: Nokia Technologies Oy
- Applicants: Nokia Technologies Oy
- Inventors: Adriana Vasilache
- Web page: https://patentgrep.com/patent/US20220036906A1

## CPC

- G10L 19/008: Multichannel audio signal coding or decoding using interchannel correlation to reduce redundancy, e.g. joint-stereo, intensity-coding or matrixing
- G10L 19/038: Vector quantisation, e.g. TwinVQ audio
- G10L 19/022: Blocking, i.e. grouping of samples in time; Choice of analysis windows; Overlap factoring
- G10L 21/0224: Processing in the time domain
- G10L 21/0232: Processing in the frequency domain
- G10L 19/002: Dynamic bit allocation (for perceptual audio coders G10L19/032)
- G10L 2019/0001: {Codebooks}
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

There is disclosed inter alia an apparatus for spatial audio signal encoding comprising means for receiving for each time frequency block of a sub band of an audio frame a spatial audio parameter comprising an azimuth and an elevation; determining a first distortion measure for the audio frame by determining a first distance measure for each time frequency block and summing the first distance measure for each time frequency block; determining a second distortion measure for the audio frame by determining a second distance measure for each time frequency block and summing the second distance measure for each time frequency block, and selecting either the first quantization scheme or the second quantization scheme for quantising the elevation and the azimuth for all time frequency blocks of the sub band of the audio frame, wherein the selecting is dependent on the first and second distortion measures.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

An apparatus comprising at least one processor and at least one memory including computer program code, the at least one memory and the computer program code configured to, with the at least one processor, cause the apparatus to:
provide for each time frequency block of a sub band of an audio frame a spatial audio parameter comprising an azimuth and an elevation;
determine a first distortion measure for the audio frame by determining a first distance measure for each time frequency block and summing the first distance measure for each time frequency block, wherein the first distance measure is an approximation of a distance between the elevation and azimuth and a quantized elevation a quantized azimuth according to a first quantisation scheme;
determine a second distortion measure for the audio frame by determining a second distance measure for each time frequency block and summing the second distance measure for each time frequency block, wherein the second distance measure is an approximation of a distance between the elevation and azimuth and a quantized elevation and a quantized azimuth according to a second quantisation scheme; and
select either the first quantization scheme or the second quantization scheme for quantising the elevation and the azimuth for all time frequency blocks of the sub band of the audio frame, wherein the selection is dependent on the first and second distortion measures.

### Claim 22 (depends on 21)

The apparatus as claimed in claim 21, wherein for the first quantization scheme the apparatus is caused to on a per time frequency block basis:
quantize the elevation by selecting a closest elevation value from a set of elevation values on a spherical grid, wherein each elevation value in the set of elevation values is mapped to a set of azimuth values on the spherical grid; and
quantize the azimuth by selecting a closest azimuth value from a set of azimuth values, where the set of azimuth values is dependent on the closest elevation value.

### Claim 23 (depends on 22)

The apparatus as claimed in claim 22, wherein the number of elevation values in the set of elevation values is dependent on a bit resolution factor for the sub frame, and wherein the number of azimuth values in the set of azimuth values mapped to each elevation value is also dependent on the bit resolution factor for the sub frame.

### Claim 24 (depends on 21)

The apparatus as claimed in claim 21, wherein for the second quantisation scheme the apparatus is caused to:
average the elevations of all the time frequency blocks of the sub band of the audio frame to give an average elevation value;
average the azimuths of all the time frequency blocks of the sub band of the audio frame to give an average azimuth value;
quantise the average value of elevation and the average value of azimuth;
form a mean removed azimuth vector for the audio frame, wherein each component of the mean removed azimuth vector comprises a mean removed azimuth component for a time frequency block wherein the mean removed azimuth component for the time frequency block is formed by subtracting the quantized average value of azimuth from the azimuth associated with the time frequency block; and
vector quantise the mean removed azimuth vector for the frame by using a codebook.

### Claim 25 (depends on 21)

The apparatus as claimed in claim 21, wherein the first distance measure comprises a L2 norm distance between a point on a sphere given by the elevation and azimuth and a point on the sphere given by the quantized elevation and quantized azimuth according to the first quantization scheme.

### Claim 26 (depends on 25)

The apparatus as claimed in claim 25, wherein the first distance measure is given by 1−cos {circumflex over (θ)}l cos θi cos (Δϕi)−sin θi sin {circumflex over (θ)}l, wherein θi is the elevation for a time frequency block i, wherein {circumflex over (θ)}l is the quantized elevation according to the first quantization scheme for the time frequency block i and wherein Δϕi is an approximation of a distortion between the azimuth and the quantized azimuth according to the first quantisation scheme for the time frequency block i.

### Claim 27 (depends on 26)

The apparatus as claimed in claim 26, wherein the approximation of the distortion between the azimuth and the quantized azimuth according to the first quantization scheme is given as 180 degrees divided by ni, wherein ni is the number of azimuth values in the set of azimuth values corresponding to the quantized elevation {circumflex over (θ)}l according to the first quantization scheme for the time frequency block i.

### Claim 28 (depends on 24)

The apparatus as claimed in claim 24, wherein the second distance measure comprises a L2 norm distance between a point on a sphere given by the elevation and azimuth and a point on the sphere given by the quantized elevation and quantized azimuth according to the second quantization scheme.

### Claim 29 (depends on 28)

The apparatus as claimed in claim 28, wherein the second distance measure is given by 1−cos θav cos θi cos (ΔϕCB(i))−sin θi sin θav, wherein θav is the quantized average elevation according to the second quantization scheme for the audio frame, θi is the elevation for a time frequency block i and ΔϕCB(i) is an approximation of the distortion between the azimuth and the azimuth component of the quantised mean removed azimuth vector according to the second quantization scheme for the time frequency block i.

### Claim 30 (depends on 29)

The apparatus as claimed in claim 29, wherein the approximation of the distortion between the azimuth and the azimuth component of the quantised mean removed azimuth vector according to the second quantization scheme for the time frequency block i is a value associated with the codebook.

### Claim 31

A method comprising:
providing for each time frequency block of a sub band of an audio frame a spatial audio parameter comprising an azimuth and an elevation;
determining a first distortion measure for the audio frame by determining a first distance measure for each time frequency block and summing the first distance measure for each time frequency block, wherein the first distance measure is an approximation of a distance between the elevation and azimuth and a quantized elevation a quantized azimuth according to a first quantisation scheme;
determining a second distortion measure for the audio frame by determining a second distance measure for each time frequency block and summing the second distance measure for each time frequency block, wherein the second distance measure is an approximation of a distance between the elevation and azimuth and a quantized elevation and a quantized azimuth according to a second quantisation scheme; and
selecting either the first quantization scheme or the second quantization scheme for quantising the elevation and the azimuth for all time frequency blocks of the sub band of the audio frame, wherein the selecting is dependent on the first and second distortion measures.

### Claim 32 (depends on 31)

The method as claimed in claim 31, wherein the first quantization scheme comprises on a per time frequency block basis:
quantizing the elevation by selecting a closest elevation value from a set of elevation values on a spherical grid, wherein each elevation value in the set of elevation values is mapped to a set of azimuth values on the spherical grid; and
quantizing the azimuth by selecting a closest azimuth value from a set of azimuth values, where the set of azimuth values is dependent on the closest elevation value.

### Claim 33 (depends on 32)

The method as claimed in claim 32, wherein the number of elevation values in the set of elevation values is dependent on a bit resolution factor for the sub frame, and wherein the number of azimuth values in the set of azimuth values mapped to each elevation value is also dependent on the bit resolution factor for the sub frame.

### Claim 34 (depends on 31)

The method as claimed in claim 31, wherein the second quantisation scheme comprises:
averaging the elevations of all the time frequency blocks of the sub band of the audio frame to give an average elevation value;
averaging the azimuths of all the time frequency blocks of the sub band of the audio frame to give an average azimuth value;
quantising the average value of elevation and the average value of azimuth;
forming a mean removed azimuth vector for the audio frame, wherein each component of the mean removed azimuth vector comprises a mean removed azimuth component for a time frequency block wherein the mean removed azimuth component for the time frequency block is formed by subtracting the quantized average value of azimuth from the azimuth associated with the time frequency block; and
vector quantising the mean removed azimuth vector for the frame by using a codebook.

### Claim 35 (depends on 31)

The method as claimed in claim 31, wherein the first distance measure comprises an approximation of an L2 norm distance between a point on a sphere given by the elevation and azimuth and a point on the sphere given by the quantized elevation and quantized azimuth according to the first quantization scheme.

### Claim 36 (depends on 35)

The method as claimed in claim 35, wherein the first distance measure is given by 1−cos {circumflex over (θ)}l cos θi cos (Δϕi)−sin θi sin {circumflex over (θ)}l, wherein θi is the elevation for a time frequency block i, wherein {circumflex over (θ)}l is the quantized elevation according to the first quantization scheme for the time frequency block i and wherein Δϕi is an approximation of a distortion between the azimuth and the quantized azimuth according to the first quantisation scheme for the time frequency block i.

### Claim 37 (depends on 36)

The method as claimed in claim 36, wherein the approximation of the distortion between the azimuth and the quantized azimuth according to the first quantization scheme is given as 180 degrees divided by ni, wherein ni is the number of azimuth values in the set of azimuth values corresponding to the quantized elevation {circumflex over (θ)}l according to the first quantization scheme for the time frequency block i.

### Claim 38 (depends on 34)

The method as claimed in claim 34, wherein the second distance measure comprises an approximation of an L2 norm distance between a point on a sphere given by the elevation and azimuth and a point on the sphere given by the quantized elevation and quantized azimuth according to the second quantization scheme.

### Claim 39 (depends on 38)

The method as claimed in claim 38, wherein the second distance measure is given by 1−cos θav cos θi cos (ΔϕCB(i))−sin θi sin θav, wherein θav is the quantized average elevation according to the second quantization scheme for the audio frame, θi is the elevation for a time frequency block i and ΔϕCB(i) is an approximation of the distortion between the azimuth and the azimuth component of the quantised mean removed azimuth vector according to the second quantization scheme for the time frequency block i.

### Claim 40 (depends on 39)

The method as claimed in claim 39, wherein the approximation of the distortion between the azimuth and the azimuth component of the quantised mean removed azimuth vector according to the second quantization scheme for the time frequency block i is a value associated with the codebook.
