×

Electronic device and method for filtering anti-voice interference

  • US 10,643,635 B2
  • Filed: 08/01/2017
  • Issued: 05/05/2020
  • Est. Priority Date: 05/31/2017
  • Status: Active Grant
First Claim
Patent Images

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 all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×