# US 2020/0272409 A1 · Dynamically preventing audio underrun using machine learning

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

- Number: US 2020/0272409 A1
- Document ID: US20200272409A1
- Status: Published application
- Kind: A1
- Application number: 16/285,941
- Filed: 2019-02-26
- Published: 2020-08-27
- Earliest claimed: 2019-02-26
- Assignees: NVIDIA Corporation
- Applicants: Nvidia Corporation
- Inventors: Utkarsh Vaidya; Sumit Bhattacharya
- Web page: https://patentgrep.com/patent/US20200272409A1

## CPC

- G06F 3/165: {Management of the audio stream, e.g. setting of volume, audio stream path}
- G06F 3/162: {Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs}
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/09: Supervised learning
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N 3/048: Activation functions
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

The disclosure is directed to a process that can predict an audio glitch, and then attempt to preempt the audio glitch. The process can monitor the systems, processes, and execution threads on a larger system or device, such as a mobile device or an in-vehicle device. Using a learning algorithm, such as deep neural network (DNN), the information collected can generate a prediction of whether an audio glitch is likely to occur. An audio glitch can be an audio underrun condition. The process can use a second learning algorithm, which also can be a DNN, to generate recommended system adjustments that can attempt to prevent the audio glitch from occurring. The recommendations can be for various systems and components on the device, such as changing the processing system frequency, the memory frequency, and the audio buffer size. After the audio underrun condition has abated, the system adjustments can be reversed fully or in steps to return the system to its state prior to the system adjustments.

## Claims

### Claim 1

A method to correct for an audio underrun condition on an audio system, comprising:
analyzing environment parameters of said audio system, wherein said environment parameters include a processing system frequency and a memory frequency;
predicting a probability of an audio underrun condition utilizing said analyzing; and
when said probability of an audio underrun condition meets or exceeds an audio underrun threshold,
determining one or more audio correction parameters using said predicting; and
adjusting at least one environment parameter from a respective original value utilizing said one or more audio correction parameters.

### Claim 2 (depends on 1)

The method as recited in claim 1, wherein said analyzing is performed at an audio check interval.

### Claim 3 (depends on 1)

The method as recited in claim 1, wherein said environment parameters are modified by an accumulation of said audio correction parameters.

### Claim 4 (depends on 1)

The method as recited in claim 1, wherein said environment parameters further comprise an audio buffer size.

### Claim 5 (depends on 4)

The method as recited in claim 4, wherein said adjusting further comprises performing at least one of:
increasing said processing system frequency utilizing said audio correction parameters, and said processing system frequency remains at or below a maximum processing system frequency;
increasing said memory frequency utilizing said audio correction parameters, and said memory frequency remains at or below a maximum memory frequency; or
increasing said audio buffer size utilizing said audio correction parameters, and said audio buffer size remains at or below a maximum audio buffer size.

### Claim 6 (depends on 5)

The method as recited in claim 5, wherein said adjusting comprises selecting said audio buffer size when further increasing said processing system frequency results in said processing system frequency exceeding said maximum processing system frequency, and further increasing said memory frequency results in said memory frequency exceeding said maximum memory frequency.

### Claim 7 (depends on 5)

The method as recited in claim 5, further comprising:
updating said audio underrun condition at an audio check interval, wherein said updating occurs when said probability of an audio underrun condition meets or exceeds said audio underrun threshold;
reversing said adjusting, wherein said reversing utilizes a reduction portion and occurs when said updating indicates said probability of an audio underrun condition no longer meets or exceeds said audio underrun threshold, and wherein said environment parameters are not reduced below said respective original values.

### Claim 8 (depends on 7)

The method as recited in claim 7, wherein said reduction portion is proportionate to said respective audio correction parameters minus said respective original value.

### Claim 9 (depends on 8)

The method as recited in claim 8, wherein said reduction portion utilizes a proportionate value of one of 10.0%, 20.0%, 25.0%, 50.0%, and 100.0%.

### Claim 10 (depends on 1)

The method as recited in claim 1, wherein said analyzing and said predicting utilize a first deep neural network (DNN), and said determining and said adjusting utilize a second DNN.

### Claim 11 (depends on 10)

The method as recited in claim 10, wherein said first DNN utilizes input parameters of at least one of a thread execution time, processing system frequency, or a memory frequency.

### Claim 12 (depends on 10)

The method as recited in claim 10, wherein said second DNN utilizes input parameters of normalized thread execution times.

### Claim 13 (depends on 10)

The method as recited in claim 10, wherein an audio check interval is determined by said first DNN.

### Claim 14 (depends on 1)

The method as recited in claim 1, wherein said predicting comprises:
evaluating said environment parameters utilizing a DNN trained to detect audio underrun conditions;
inferring, by said DNN, a probability of said audio underrun condition utilizing said evaluating;
comparing said probability of said audio underrun condition to said audio underrun threshold; and
predicting said audio underrun condition when said probability exceeds said audio underrun threshold.

### Claim 15

A computer program product having a series of operating instructions stored on a non-transitory computer-readable medium that directs a data processing apparatus when executed thereby to perform audio underrun correction operations on an audio system, said operations comprising:
analyzing environment parameters of said audio system, wherein said environment parameters include a processing system frequency and a memory frequency;
predicting a probability of an audio underrun condition utilizing said analyzing; and
when said probability of an audio underrun condition meets or exceeds an audio underrun threshold,
determining one or more audio correction parameters using said predicting; and
adjusting at least one environment parameter from a respective original value utilizing said audio correction parameters.

### Claim 16 (depends on 15)

The computer program product as recited in claim 15, further comprising:
repeating said analyzing, said predicting, said determining, and said adjusting, wherein said predicting indicates said audio underrun condition is true, and said environment parameters are modified by an accumulation of said audio correction parameters.

### Claim 17 (depends on 15)

The computer program product as recited in claim 15, wherein said environment parameters further include an audio buffer size.

### Claim 18 (depends on 17)

The computer program product as recited in claim 17, wherein said adjusting further comprises performing at least one of:
increasing said processing system frequency utilizing said audio correction parameters, and said processing system frequency remains at or below a maximum processing system frequency;
increasing said memory frequency utilizing said audio correction parameters, and said memory frequency remains at or below a maximum memory frequency; and
increasing said audio buffer size utilizing said audio correction parameters, and said audio buffer size remains at or below a maximum audio buffer size.

### Claim 19 (depends on 18)

The computer program product as recited in claim 18, further comprising:
updating said audio underrun condition at an audio check interval, wherein said updating occurs when said audio underrun condition meets or exceeds said audio underrun threshold;
reversing said adjusting utilizing a reduction portion, wherein said reversing occurs when said updating indicates said audio underrun condition is updated to no longer meet or exceed said audio underrun threshold, and said environment parameters are not reduced below said respective original values.

### Claim 20 (depends on 15)

The computer program product as recited in claim 15, wherein said predicting comprises:
evaluating said environment parameters utilizing a DNN trained to detect audio underrun conditions;
inferring, by said DNN, a probability of said audio underrun condition utilizing said evaluating;
comparing said probability of said audio underrun condition to said audio underrun threshold; and
predicting said audio underrun condition when said probability exceeds said audio underrun threshold.

### Claim 21

An audio correction system, comprising:
a receiver operable to receive an audio portion; and
an audio system operable to play said audio portion, wherein said audio system comprises:
an audio processor operable to store said audio portion in an audio buffer and output said audio portion,
a processing unit operable to execute one or more processing threads and control said audio system, and
an audio correction processor operable to generate an analysis result of environment parameters of said audio system and said processing unit, generate a prediction result of an occurrence of an audio underrun condition utilizing said analysis result, and adjust said audio system and said processing unit utilizing said analysis result and said prediction result, wherein said environment parameters include a processing system frequency and a memory frequency.

### Claim 22 (depends on 21)

The audio correction system as recited in claim 21, wherein said processing unit is a central processing unit, a graphics processing unit, an audio processing unit, or a controller.

### Claim 23 (depends on 21)

The audio correction system as recited in claim 21, wherein said audio correction processor is a software processor, and said audio correction processor is executed on said processing unit.

### Claim 24 (depends on 21)

The audio correction system as recited in claim 21, wherein said audio system further comprises:
a deep neural network (DNN) system, operable to support a first DNN model and a second DNN model, wherein said audio correction processor utilizes said first DNN model and said second DNN model.

### Claim 25 (depends on 21)

The audio correction system as recited in claim 21, wherein said audio correction processor is operable to generate said prediction result by:
receiving said environment parameters from said audio system as input in a DNN trained to detect audio underrun conditions;
inferring, by said DNN, a probability of said audio underrun condition utilizing said environment parameters;
comparing said probability of said audio underrun condition to an audio underrun threshold; and
predicting said audio underrun condition when said probability exceeds said audio underrun threshold.
