# US 2022/0294898 A1 · Systems and methods for improving audio quality using feedback control

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

- Number: US 2022/0294898 A1
- Document ID: US20220294898A1
- Status: Published application
- Kind: A1
- Application number: 17/637,354
- Filed: 2020-08-18
- Published: 2022-09-15
- Earliest claimed: 2019-08-23
- Assignees: Textnow, Inc.
- Applicants: Textnow, Inc.
- Inventors: Michael Kovacevic; Alexandru Gabriel Roman
- Web page: https://patentgrep.com/patent/US20220294898A1

## CPC

- G10L 19/24: Variable rate codecs, e.g. for generating different qualities using a scalable representation such as hierarchical encoding or layered encoding
- H04M 3/2227: {Quality of service monitoring}
- G10L 25/60: for measuring the quality of voice signals
- H04M 7/006: {Networks other than PSTN/ISDN providing telephone service, e.g. Voice over Internet Protocol (VoIP) , including next generation networks with a packet-switched transport layer (H04L65/00 takes precedence; aspects not specific to the type of network H04M3/00; special services in those networks H04M3/42)}
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- H04M: TELEPHONIC COMMUNICATION (circuits for controlling other apparatus via a telephone cable and not involving telephone switching apparatus G08)

## Abstract

An example communications system includes: a source device and a destination device; a Voice over Internet Protocol (VoIP) service, the VoIP service configured to support a voice call between the source device and the destination device over at least one of a wide-area IP network and a public-switched telephone network; wherein, for at least one leg in the voice call: an encoding device is configured to encode an analog audio stream to a digital audio stream according to one or more input parameters, the input parameters including variable input parameters; a receiving device is configured to send a quality indicator to the encoding device, the quality indicator representing the quality of the digital audio stream received at the receiving device; and the encoding device is configured to, at a feedback controller, determine updated variable input parameters for encoding a subsequent analog audio stream.

## Claims

### Claim 1

A communications system comprising:
a source device and a destination device, each coupled to one or more of a wide-area internet protocol (IP) network, a public-switched telephone network;
a Voice over Internet Protocol (VoIP) service coupled to the wide-area IP network and the public-switched telephone network, the VoIP service configured to support a voice call between the source device and the destination device;
wherein, for at least one leg in the voice call:
an encoding device is configured to encode an analog audio stream to a digital audio stream according to one or more input parameters, the input parameters including variable input parameters;
a receiving device is configured to send a quality indicator to the encoding device, the quality indicator representing a quality of the digital audio stream received at the receiving device; and
the encoding device is configured to, at a feedback controller, determine updated variable input parameters for encoding a subsequent analog audio stream.

### Claim 2 (depends on 1)

The communications system of claim 1, wherein the feedback controller comprises a proportional-integral-derivative controller configured to employ a proportional-integral-derivative control loop to determine the updated variable input parameters.

### Claim 3 (depends on 1)

The communications system of claim 1, wherein the feedback controller comprises, for each variable input parameter, a respective proportional-integral-derivative controller configured to employ a proportional-integral-derivative control loop to determine the updated variable input parameter.

### Claim 4 (depends on 1)

The communications system of claim 1, wherein the one leg is defined by the source device acting as the encoding device, and the VoIP service acting as the receiving device.

### Claim 5 (depends on 4)

The communications system of claim 4, wherein the VoIP service is further configured to transcode the digital audio stream for a second leg defined by the VoIP service acting as the encoding device and the destination device acting as the receiving device.

### Claim 6 (depends on 1)

The communications system of claim 1, wherein the one leg is defined by the VoIP service acting as the encoding device and the destination device acting as the receiving device.

### Claim 7 (depends on 1)

The communications system of claim 1, wherein the quality indicator includes one or more of: packet loss, latency, jitter, and a computed mean opinion score.

### Claim 8 (depends on 1)

The communications system of claim 1, wherein the variable input parameters include one or more of: bandwidth, bitrate, jitter buffer size, forward error correction, and packet loss concealment.

### Claim 9 (depends on 1)

The communications system of claim 1, wherein the encoding device is further configured to:
determine a network type for transmission of the digital audio stream; and
determine the updated variable input parameters further in consideration of the network type.

### Claim 10

A communications device comprising:
an encoder configured to encode an analog audio stream to a digital audio stream according to one or more input parameters, the input parameters including variable input parameters;
a communications interface configured to send the digital audio stream to a receiving device; and
a feedback controller configured to:
receive a quality indicator representing a quality of the digital audio stream received at the receiving device;
determine, based on the quality indicator, updated variable input parameters; and
provide the updated variable input parameters to the encoder.

### Claim 11 (depends on 10)

The communications device of claim 10, wherein the feedback controller comprises a proportional integral derivative controller.

### Claim 12 (depends on 10)

The communications device of claim 10, wherein the feedback controller comprises, for each variable input parameter, a respective proportional integral derivative controller.

### Claim 13 (depends on 10)

The communications device of claim 10, further comprising an audio receiver configured to receive the analog audio stream.

### Claim 14 (depends on 10)

The communications device of claim 10, wherein the communications interface is configured to receive an incoming digital audio stream; and
wherein the computing device further comprises a decoder configured to decode the incoming digital audio stream to generate the analog audio stream.

### Claim 15 (depends on 10)

The computing device of claim 10, wherein the feedback controller is further configured to:
receive a network indicator representing a network type for transmission of the digital audio stream; and
determine the updated variable input parameters further in consideration of the network indicator.

### Claim 16

A method in a communications system, the method comprising:
encoding, at an encoding device, an analog audio stream to a digital audio stream according to one or more input parameters, the input parameters including initial variable input parameters;
sending the digital audio stream to a receiving device;
receiving, at the encoding device, a quality indicator representing a quality of the digital audio stream received at the receiving device;
determining, based on the quality indicator, updated variable input parameters; and
providing the updated variable input parameters for encoding a subsequent analog audio stream.

### Claim 17 (depends on 16)

The method of claim 16, further comprising encoding, at the encoding device, the subsequent analog audio stream according to the updated variable input parameters.

### Claim 18 (depends on 16)

The method of claim 16, wherein determining the updated variable input parameters comprises:
obtaining a computed mean opinion score for the digital audio stream;
determining an error term based on the computed mean opinion score; and
computing each respective updated variable input parameter based on the error term.

### Claim 19 (depends on 18)

The method of claim 18, wherein computing each respective updated variable input parameter comprises:
computing a proportional term, an integral term, and a derivative term; and
summing the proportional term, the integral term, and the derivative term to compute the respective updated variable input parameter.

### Claim 20 (depends on 16)

The method of claim 16, further comprising:
detecting a network type;
retrieving coefficients corresponding to the network type; and
computing the initial variable input parameters based on the coefficients corresponding to the network type.

### Claim 21 (depends on 20)

The method of claim 20, further comprising:
detecting an updated network type;
retrieving further coefficients corresponding to the updated network type; and
computing the updated variable input parameters further based on the further coefficients corresponding to the updated network type.
