Voice operated switch for use in high noise environments
First Claim
1. A method for using a voice operated switch in changing high noise environments, the method comprising the steps of:
- a) determining a relative energy of background noise by calculating a long-term average, a short-term average, and a short-term difference of the background noise, wherein;
i) calculating the short-term average comprises summing an absolute value of a plurality of samples of audio data and applying a smoothing algorithm thereto;
ii) calculating the long-term average comprises summing a plurality of short-term averages; and
iii) calculating the short-term difference comprises computing a difference between consecutive short-term averages;
b) calculating a VOX threshold;
c) calculating a voice threshold;
d) calculating a delta threshold;
e) comparing the VOX threshold to an amplitude of an incoming data sample;
f) when the amplitude of the incoming data sample is greater than the VOX threshold, then comparing the delta threshold to the short-term average delta;
g) when the amplitude of the short-term average delta is greater than the delta threshold, then comparing the voice threshold to the short-term average; and
h) when the short-term average is greater than the voice threshold, then the incoming data sample is determined to be voice and the voice operated switch is actuated.
2 Assignments
0 Petitions
Accused Products
Abstract
A method for using a voice operated switch in a changing high noise environment involves determining a relative energy of the background noise, calculating VOX, voice, and delta thresholds, and comparing the VOX threshold to an amplitude of an incoming data sample. When the amplitude of the incoming data sample is greater than the VOX threshold, then the delta threshold is compared to the short-term average delta. When the amplitude of the short-term average delta is greater than delta threshold, then the voice threshold is compared to the short-term average. When the short term average is greater than the voice threshold, then the incoming data sample is determined to be voice and the voice operated switch is actuated.
-
Citations
17 Claims
-
1. A method for using a voice operated switch in changing high noise environments, the method comprising the steps of:
-
a) determining a relative energy of background noise by calculating a long-term average, a short-term average, and a short-term difference of the background noise, wherein; i) calculating the short-term average comprises summing an absolute value of a plurality of samples of audio data and applying a smoothing algorithm thereto; ii) calculating the long-term average comprises summing a plurality of short-term averages; and iii) calculating the short-term difference comprises computing a difference between consecutive short-term averages; b) calculating a VOX threshold; c) calculating a voice threshold; d) calculating a delta threshold; e) comparing the VOX threshold to an amplitude of an incoming data sample; f) when the amplitude of the incoming data sample is greater than the VOX threshold, then comparing the delta threshold to the short-term average delta; g) when the amplitude of the short-term average delta is greater than the delta threshold, then comparing the voice threshold to the short-term average; and h) when the short-term average is greater than the voice threshold, then the incoming data sample is determined to be voice and the voice operated switch is actuated. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A method for using a voice operated switch in changing high noise environments, the method comprising the steps of:
-
a) determining a relative energy of background noise by calculating a long-term average, a short-term average, and a short-term difference of the background noise, wherein; i) calculating the short-term average comprises summing an absolute value of a plurality of samples of audio data and applying a smoothing algorithm thereto; ii) calculating the long-term average comprises summing a plurality of short-term averages; and iii) calculating the short-term difference comprises computing a difference between consecutive short-term averages; b) calculating a VOX threshold; c) calculating a voice threshold; d) calculating a delta threshold; e) comparing the VOX threshold to an amplitude of an incoming data sample; f) when the amplitude of the incoming data sample is greater than the VOX threshold, then comparing the delta threshold to the short-term average delta; and
,g) when the amplitude of at least one of the short-term average deltas is greater than the delta threshold within a preset period of time, then the incoming data sample is determined to be voice and the voice operated switch is actuated.
-
Specification