Electronic device and method for filtering anti-voice interference
First Claim
1. An electronic device, comprising:
- at least one processor;
a non-transitory storage medium coupled to the processor and configured to store one or more programs that are executed by the processor, the one or more programs comprises instructions for;
acquiring, from the environment, a first audio signal including a user voice signal;
acquiring a second audio signal output from an audio output unit;
filtering a speech sound region in the first audio signal to obtain a first background audio signal, and filtering the speech sound region in the second audio signal to obtain a second background audio signal;
comparing the first background audio signal with the second background audio signal to obtain a time difference T and a sound amplification parameter X between the first background audio signal and the second background audio signal;
performing a time compensation operation, an amplification operation and an inverting operation on the second audio signal to obtain a third audio signal according to the time difference T and the sound amplified parameter X; and
synthesizing the first audio signal and the third audio signal to obtain a fourth audio signal;
extracting a first eigenvalue sequence consisting of multiple first eigenvalues corresponding to multiple sampling points in the first background audio signal, and extracting a second eigenvalue sequence consisting of multiple second eigenvalues corresponding to multiple sampling points in the second background audio signal;
calculating the time difference T between the first background audio signal and the second background audio signal based on the first eigenvalue sequence and the second eigenvalue sequence;
compensating the second background audio signal based on the time difference T; and
comparing the compensated second background audio signal with the first background audio signal to obtain the sound amplification parameter X.
1 Assignment
0 Petitions
Accused Products
Abstract
An interference filtering method applied to the voice commands of a user of a device includes audio acquisition unit of device taking a first audio signal including user voice from the environment and a second audio signal from an audio output unit of a device creating competing noise. A first background audio signal is obtained by filtering a speech sound region in first audio signal, and a second background audio signal is obtained by filtering a speech sound region in second audio signal. A time difference T and a sound amplified parameter X are obtained by comparison. A third audio signal is obtained by performing time compensation, amplification, and an inverting operation on second audio signal. First audio signal and third audio signal are synthesized to produce fourth audio signal for feeding to voice recognition unit of the original user device.
5 Citations
12 Claims
-
1. An electronic device, comprising:
-
at least one processor; a non-transitory storage medium coupled to the processor and configured to store one or more programs that are executed by the processor, the one or more programs comprises instructions for; acquiring, from the environment, a first audio signal including a user voice signal; acquiring a second audio signal output from an audio output unit; filtering a speech sound region in the first audio signal to obtain a first background audio signal, and filtering the speech sound region in the second audio signal to obtain a second background audio signal; comparing the first background audio signal with the second background audio signal to obtain a time difference T and a sound amplification parameter X between the first background audio signal and the second background audio signal; performing a time compensation operation, an amplification operation and an inverting operation on the second audio signal to obtain a third audio signal according to the time difference T and the sound amplified parameter X; and synthesizing the first audio signal and the third audio signal to obtain a fourth audio signal; extracting a first eigenvalue sequence consisting of multiple first eigenvalues corresponding to multiple sampling points in the first background audio signal, and extracting a second eigenvalue sequence consisting of multiple second eigenvalues corresponding to multiple sampling points in the second background audio signal; calculating the time difference T between the first background audio signal and the second background audio signal based on the first eigenvalue sequence and the second eigenvalue sequence; compensating the second background audio signal based on the time difference T; and comparing the compensated second background audio signal with the first background audio signal to obtain the sound amplification parameter X. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A voice interference filtering method, the method comprising:
-
acquiring, from the environment, a first audio signal including a user voice signal; acquiring a second audio signal output from an audio output unit; filtering a speech sound region in the first audio signal to obtain a first background audio signal, and filtering the speech sound region in the second audio signal to obtain a second background audio signal; comparing the first background audio signal with the second background audio signal to obtain a time difference T and a sound amplified parameter X between the first background audio signal and the second background audio signal; performing a time compensation operation, an amplification operation and an inverting operation on the second audio signal to obtain a third audio signal according to the time difference T and the sound amplified parameter X; and synthesizing the first audio signal and the third audio signal to obtain a fourth audio signal; extracting a first eigenvalue sequence consisting of multiple first eigenvalues corresponding to multiple sampling points in the first background audio signal, and extracting a second eigenvalue sequence consisting of multiple second eigenvalues corresponding to multiple sampling points in the second background audio signal; calculating the time difference T between the first background audio signal and the second background audio signal based on the first eigenvalue sequence and the second eigenvalue sequence; and compensating the second background audio signal based on the time difference T; and comparing the compensated second background audio signal with the first background audio signal to obtain the sound amplified parameter X. - View Dependent Claims (8, 9, 10, 11, 12)
-
Specification