IP Library Granted Patent US 8,559,656
Granted Patent B2
US 8,559,656 · App. 12/835,440 · Granted Oct 15, 2013

System and method for automatic microphone volume setting

Inventors: Chang-Qing Shu (Orlando, FL); Dezhi Liao (Orlando, FL)
Assignee: Adacel Systems, Inc.
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,559,656
App. No.
12/835,440
Granted
Oct 15, 2013
Kind
B2
Abstract

Optimal microphone volumes are automatically set for computer applications based on determination of peak volume levels and noise levels from one or more digital audio captures. The peak volume levels and noise levels can be advantageously determined based on distribution curves of sample volume levels in the digital audio captures. Clipping can be automatically compensated for by estimating peak unclipped capture volume levels from the distribution curves.

Claims (72)

1. A method of automatically setting microphone volume, the method comprising:

checking a first audio capture for clipping;

if clipping is detected, analyzing the first audio capture to estimate a clipping magnitude; and

adjusting the microphone volume setting based on the estimated clipping magnitude to eliminate the clipping;

analyzing at least one clipping-free audio capture to determine a peak capture volume level and a noise level; and

adjusting the microphone volume setting based on the peak capture volume level and the noise level;

wherein analyzing the at least one clipping-free audio capture to determine the peak capture volume level and the noise level includes:

analyzing the first clipping-free audio capture to determine the peak capture volume level of the first clipping-free audio capture;

estimating the noise level from the first clipping-free audio capture, unless the peak capture volume of the first clipping-free audio capture is outside a predetermined margin of a clipping threshold;

if the peak capture volume of the first clipping-free audio capture is outside of the predetermined margin, adjusting the microphone volume setting to bring the peak capture volume within the predetermined margin of the clipping threshold;

obtaining a second clipping-free audio capture at the adjusted microphone volume setting; and

determining the noise level from the second clipping-free audio capture.

2. A method of automatically setting microphone volume, the method comprising:

checking a first audio capture for clipping;

if clipping is detected, analyzing the first audio capture to estimate a clipping magnitude; and

adjusting the microphone volume setting based on the estimated clipping magnitude to eliminate the clipping;

analyzing at least one clipping-free audio capture to determine a peak capture volume level and a noise level; and

adjusting the microphone volume setting based on the peak capture volume level and the noise level;

wherein, if clipping is detected, analyzing the first audio capture to estimate the clipping magnitude includes:

analyzing a distribution curve of sample volumes of the first audio capture to estimate a clipping-affected portion of the distribution curve; and

estimating a peak, unclipped sample volume level based on the estimated clipping-affected portion.

3. The method claim 2 , wherein analyzing a distribution curve of sample volumes of the first audio capture to estimate the clipping-affected portion of the distribution curve includes generating a linear approximation of the clipping-affected portion based on a predetermined number of samples adjacent a clipping threshold.

4. The method of claim 3 , wherein generating the linear approximation of the clipping-affected portion includes applying an error correction factor based upon a number of samples falling at the clipping threshold.

5. A method of automatically setting microphone volume, the method comprising:

checking a first audio capture for clipping;

if clipping is detected, analyzing the first audio capture to estimate a clipping magnitude; and

adjusting the microphone volume setting based on the estimated clipping magnitude to eliminate the clipping;

analyzing at least one clipping-free audio capture to determine a peak capture volume level and a noise level; and

adjusting the microphone volume setting based on the peak capture volume level and the noise level;

wherein analyzing the at least one clipping-free audio sample to determine the noise level includes:

analyzing a distribution curve of the least one clipping-free audio sample to determine a standard deviation thereof; and

estimating the noise level as a function of the standard deviation.

6. The method of claim 5 , wherein the noise level is estimated to be a highest sample volume level within one standard deviation.

7. A method of automatically setting microphone volume, the method comprising:

checking a first audio capture for clipping;

if clipping is detected, analyzing the first audio capture to estimate a clipping magnitude; and

adjusting the microphone volume setting based on the estimated clipping magnitude to eliminate the clipping;

analyzing at least one clipping-free audio capture to determine a peak capture volume level and a noise level; and

adjusting the microphone volume setting based on the peak capture volume level and the noise level;

wherein adjusting the microphone volume setting based on the peak capture volume level and the noise level includes:

identifying a noise level threshold for an application using the microphone; and

adjusting the microphone volume setting to achieve a highest peak capture volume level possible without exceeding the noise level threshold.

8. The method of claim 7 , wherein adjusting the microphone volume setting to achieve a highest peak capture volume level possible without exceeding the noise level threshold includes:

determining a noise ratio as the ratio of the noise level to the noise level threshold;

determining a peak volume ratio as the ratio of the peak capture volume level to a clipping threshold;

selecting a microphone volume setting ratio as a lower of the noise ratio and the peak volume ratio;

determining a new microphone volume setting as a product of the current microphone volume setting and the microphone volume setting ratio; and

adjusting the microphone volume to the new microphone volume setting.

9. A method of automatically setting microphone volume, the method comprising:

obtaining at least one digital audio capture;

generating, for the at least one digital audio capture, a distribution curve of capture sample absolute volume levels;

analyzing the distribution curve to determine at least one peak unclipped capture volume level and at least one noise level; and

selecting a microphone volume setting based on the peak unclipped capture volume and noise levels;

wherein, if clipping is detected in the at least one digital audio capture, the at least one peak unclipped capture volume level is estimated from characteristics of an unclipped portion of the distribution curve for the at least one digital audio capture.

10. The method of claim 9 , wherein a maximum of three digital audio captures are obtained prior to selecting the microphone volume setting.

11. The method of claim 10 , wherein a maximum of two digital audio captures are obtained prior to selecting the microphone volume setting.

12. The method of claim 11 , wherein only one digital audio capture is obtained prior to selecting the microphone volume setting.

13. The method of claim 9 , wherein, if clipping is detected in the at least one digital audio capture, at least a second digital audio capture is obtained at a microphone volume setting selected to eliminate clipping based on the estimated peak unclipped capture volume level.

14. A method of automatically setting microphone volume, the method comprising:

obtaining at least one digital audio capture;

generating, for the at least one digital audio capture, a distribution curve of capture sample absolute volume levels;

analyzing the distribution curve to determine at least one peak unclipped capture volume level and at least one noise level; and

selecting a microphone volume setting based on the peak unclipped capture volume and noise levels;

wherein, if the at least one peak unclipped capture volume level is below a predetermined margin from a clipping threshold, at least a second digital audio capture is obtained at a microphone volume setting selected to bring the peak unclipped capture volume level with the predetermined margin.

15. A method for adjusting a microphone volume setting to eliminate clipping, the method comprising:

generating a distribution curve of sample volume levels for a digital audio capture having clipping;

estimating a peak unclipped sample volume level based on an unclipped portion of the distribution curve; and

generating a microphone volume setting to bring the peak unclipped sample volume level below a clipping threshold.

16. The method of claim 15 , wherein estimating the peak unclipped sample volume level based on an unclipped portion of the distribution curve includes:

generating a best fit mathematical model of the unclipped portion including at least one of: a best fit line and a best fit curve;

estimating the peak unclipped sample volume from a portion the best fit model extending past the clipping threshold.

17. The method of claim 16 , wherein the best fit mathematical model is a best fit line, and an error correction factor is applied to the best fit line based on a number of samples falling at the clipping threshold.

Assignments (2)
SECURITY INTEREST Recorded Oct 10, 2022
From: ADACEL SYSTEMS, INC.
To: BANK OF MONTREAL
Reel/Frame 061367/0019 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 22, 2013
From: SHU, CHANG-QING; LIAO, DEZHI
To: ADACEL SYSTEMS, INC.
Reel/Frame 030259/0648 →
Continuity (1)
Related Publication 20120014537A1 · Jan 19, 2012