# US 2025/0166639 A1 · Method and apparatus for neural spatial speech coding for multi-channel audio

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

- Number: US 2025/0166639 A1
- Document ID: US20250166639A1
- Status: Published application
- Kind: A1
- Application number: 18/511,589
- Filed: 2023-11-16
- Published: 2025-05-22
- Earliest claimed: 2023-11-16
- Assignees: Tencent America LLC
- Applicants: Tencent America LLC
- Inventors: Yong Xu; Vinay Kothapally; Dong Yu
- Web page: https://patentgrep.com/patent/US20250166639A1

## CPC

- G10L 19/008: Multichannel audio signal coding or decoding using interchannel correlation to reduce redundancy, e.g. joint-stereo, intensity-coding or matrixing
- G06N 3/045: Combinations of networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/08: Learning methods
- G10L 19/0208: {Subband vocoders}
- G10L 19/032: Quantisation or dequantisation of spectral components
- G10L 19/26: Pre-filtering or post-filtering
- G10L 25/18: the extracted parameters being spectral information of each sub-band
- G10L 25/30: using neural networks
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method performed for performing neural spatial audio coding, comprises: receiving an audio signal comprising a plurality of channels; selecting a channel from the plurality of channels as a reference channel; performing a STFT on the reference channel to generate a frequency domain reference channel; inputting the frequency domain reference channel into a first codec; performing the STFT on the plurality of channels minus the channel selected as the reference channel to generate a spatial covariance matrix; inputting the spatial covariance matrix and the frequency domain reference channel into a second codec; reconstructing the audio signal based on an output of the first codec and an output of the second codec to generate a reconstructed audio signal; and training the first and second codecs.

## Claims

### Claim 1

A method performed by at least one processor for performing neural spatial audio coding, comprising:
receiving an audio signal comprising a plurality of channels;
selecting a channel from the plurality of channels as a reference channel;
performing a short time fourier transform (STFT) on the reference channel to generate a frequency domain reference channel;
inputting the frequency domain reference channel into a first codec that comprises a first neural network for encoding the frequency domain reference channel and a second neural network for decoding the frequency domain reference channel;
performing the STFT on the plurality of channels minus the channel selected as the reference channel to generate a spatial covariance matrix;
inputting the spatial covariance matrix and the frequency domain reference channel into a second codec that comprises a third neural network for encoding the spatial covariance matrix and the frequency domain reference channel and a fourth neural network for decoding the spatial covariance matrix;
reconstructing the audio signal based on an output of the first codec and an output of the second codec to generate a reconstructed audio signal;
training the first codec based on a comparison of the output of the first codec with the frequency domain reference channel; and
training the second codec based on a comparison of the reconstructed audio signal with the plurality of channels of the audio signal minus the reference channel.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the first neural network of the first codec is a two-dimensional convolutional neural network (2D-CNN), and the second neural network of the first codec is a transpose of the 2D-CNN.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the third neural network of the second codec is a two-dimensional convolutional neural network (2D-CNN), and the fourth neural network of the first codec is a transpose of the 2D-CNN.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the second codec further comprises a plurality complex ratio filters, wherein a total number of the complex ratio filters corresponds to the plurality of audio channels minus the reference channel.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the reconstructing the audio signal comprises (i) performing an inverse STFT on an output of the first codec to generate a reconstructed reference channel, (ii) inputting the reconstructed reference channel and the output of the second codec into a filter, and (iii) performing an inverse STFT on an output of the filter to obtain the reconstructed audio signal.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the training of the first codec is based on an signal-to-noise ratio (SNR) loss function applied to the frequency domain reference channel and the output of the first codec.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the training of the second codec is based on an signal-to-noise ratio (SNR) loss applied to each non-reference channel and corresponding reconstructed non-reference channel.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the first codec further comprises a first quantizer that quantizes an output of the first neural network and provides the quantized output of the first neural network to the second neural network, and wherein the second code further comprises a second quantizer that quantizes an output of the third neural network and provides the quantized output of the third neural network to the second neural network.

### Claim 9 (depends on 1)

The method according claim 1, wherein the audio signal is captured by a microphone comprising a plurality of arrays corresponding to the plurality of channels of the audio signal.

### Claim 10

A codec for performing neural spatial audio coding, comprising:
at least one memory configured to store program code; and
at least one processor configured to read the program code and operate as instructed by the program code, the program code including:
receiving code configured to cause the at least one processor to receive an audio signal comprising a plurality of channels;
selecting code configured to cause the at least one processor to select a channel from the plurality of channels as a reference channel;
first performing code configured to cause the at least one processor to perform a short time fourier transform (STFT) on the reference channel to generate a frequency domain reference channel;
first inputting code configured to cause the at least one processor to input the frequency domain reference channel into a first codec that comprises a first neural network for encoding the frequency domain reference channel and a second neural network for decoding the frequency domain reference channel;
second performing code configured to cause the at least one processor to perform the STFT on the plurality of channels minus the channel selected as the reference channel to generate a spatial covariance matrix;
second inputting code configured to cause the at least one processor to input the spatial covariance matrix and the frequency domain reference channel into a second codec that comprises a third neural network for encoding the spatial covariance matrix and the frequency domain reference channel and a fourth neural network for decoding the spatial covariance matrix;
reconstructing code configured to cause the at least one processor to reconstruct the audio signal based on an output of the first codec and an output of the second codec to generate a reconstructed audio signal;
first training code configured to cause the at least one processor to train the first codec based on a comparison of the output of the first codec with the frequency domain reference channel; and
second training code configured to cause the at least one processor to train the second codec based on a comparison of the reconstructed audio signal with the plurality of channels of the audio signal minus the reference channel.

### Claim 11 (depends on 10)

The codec according to claim 10, wherein the first neural network of the first codec is a two-dimensional convolutional neural network (2D-CNN), and the second neural network of the first codec is a transpose of the 2D-CNN.

### Claim 12 (depends on 10)

The codec according to claim 10, wherein the third neural network of the second codec is a two-dimensional convolutional neural network (2D-CNN), and the fourth neural network of the first codec is a transpose of the 2D-CNN.

### Claim 13 (depends on 10)

The codec according to claim 10, wherein the second codec further comprises a plurality complex ratio filters, wherein a total number of the complex ratio filters corresponds to the plurality of audio channels minus the reference channel.

### Claim 14 (depends on 10)

The codec according to claim 10, wherein the reconstructing code further comprises (i) third performing code configured to cause the at least one processor to perform an inverse STFT on an output of the first codec to generate a reconstructed reference channel, (ii) third inputting code configured to cause the at least one processor to input the reconstructed reference channel and the output of the second codec into a filter, and (iii) fourth performing code configured to cause the at least one processor to perform an inverse STFT on an output of the filter to obtain the reconstructed audio signal.

### Claim 15 (depends on 10)

The codec according to claim 10, wherein the first training code is based on an signal-to-noise ratio (SNR) loss function applied to the frequency domain reference channel and the output of the first codec.

### Claim 16 (depends on 10)

The codec according to claim 10, wherein the second training code is based on an signal-to-noise ratio (SNR) loss applied to each non-reference channel and corresponding reconstructed non-reference channel.

### Claim 17 (depends on 10)

The codec according to claim 10, wherein the first codec further comprises a first quantizer that quantizes an output of the first neural network and provides the quantized output of the first neural network to the second neural network, and wherein the second code further comprises a second quantizer that quantizes an output of the third neural network and provides the quantized output of the third neural network to the second neural network.

### Claim 18 (depends on 10)

The codec according claim 10, wherein the audio signal is captured by a microphone comprising a plurality of arrays corresponding to the plurality of channels of the audio signal.

### Claim 19

A non-transitory computer readable medium having instructions stored therein, which when executed by a processor in a codec for performing neural spatial audio coding, cause the processor to execute a method comprising:
receiving an audio signal comprising a plurality of channels;
selecting a channel from the plurality of channels as a reference channel;
performing a short time fourier transform (STFT) on the reference channel to generate a frequency domain reference channel;
inputting the frequency domain reference channel into a first codec that comprises a first neural network for encoding the frequency domain reference channel and a second neural network for decoding the frequency domain reference channel;
performing the STFT on the plurality of channels minus the channel selected as the reference channel to generate a spatial covariance matrix;
inputting the spatial covariance matrix and the frequency domain reference channel into a second codec that comprises a third neural network for encoding the spatial covariance matrix and the frequency domain reference channel and a fourth neural network for decoding the spatial covariance matrix;
reconstructing the audio signal based on an output of the first codec and an output of the second codec to generate a reconstructed audio signal;
training the first codec based on a comparison of the output of the first codec with the frequency domain reference channel; and
training the second codec based on a comparison of the reconstructed audio signal with the plurality of channels of the audio signal minus the reference channel.

### Claim 20 (depends on 19)

The non-transitory computer readable medium according to claim 19, wherein the first neural network of the first codec is a two-dimensional convolutional neural network (2D-CNN), and the second neural network of the first codec is a transpose of the 2D-CNN.
