Echo filtering method, electronic device, and computer-readable storage medium
AssigneeHuawei Technologies Co., Ltd.
InventorsBo Han, Ling Tang, Fan Fan, Daihu Shi
Life of this patent
Estimating the term…
Abstract
An echo filtering method, an electronic device, a computer-readable storage medium, and an echo filtering apparatus are disclosed. The electronic device includes M microphones and N speakers. M and N are integers greater than 1. The method includes: obtaining N speaker signals corresponding to the N speakers; obtaining M microphone signals corresponding to the M microphones; and performing at least direct sound filtering on the N speaker signals and the M microphone signals to obtain a target signal. By using this method, better echo filtering effect can be obtained.
Claims19
An echo filtering method, wherein the method is applied to an electronic device, the electronic device comprises M microphones and N speakers, both M and N are integers greater than 1, and the method comprises:
- obtaining N speaker signals corresponding to the N speakers;
- obtaining M microphone signals corresponding to the M microphones;
- and
- performing at least direct sound filtering on the N speaker signals and the M microphone signals to obtain a target signal, wherein the direct sound filtering comprises filtering an audio component directly output from the N speakers to the M microphones without environmental reflection,
- wherein the method further comprises:
- enabling a display of the electronic device to display a customized direct sound filtering interface;
- receiving user input of a user in the customized direct sound filtering interface;
- in response to the user input, obtaining N speaker test signals and enabling the N speakers to play the N speaker test signals;
- obtaining M microphone test signals corresponding to the M microphones;
- and
- storing a customized direct sound filtering model, wherein the customized direct sound filtering model is obtained based on the N speaker test signals and the M microphone test signals, wherein the customized direct sound filtering model is used for the direct sound filtering.
An echo filtering method, wherein the method is applied to an electronic device, the electronic device comprises M microphones, N speakers, and at least one reverse speaker, both M and N are integers greater than 1, and the method comprises:
- obtaining N speaker signals corresponding to the N speakers;
- generating reverse speaker signals based on the N speaker signals;
- and
- enabling at least one reverse speaker close to at least one of the M microphones to play reverse audio based on the reverse speaker signals to cancel echo of audio output played by the N speakers corresponding to the N speaker signals, wherein the at least one reverse speaker is different from the N speakers.
An electronic device, comprising:
- N speakers, wherein Nis an integer greater than 1;
- M microphones, wherein M is an integer greater than 1;
- one or more processors, configured to obtain N speaker signals corresponding to the N speakers and M microphone signals corresponding to the M microphones;
- and
- a memory, storing one or more programs, wherein the one or more programs are configured to be executed by the one or more processors, and the one or more programs comprise instructions used to perform operations comprising:
- obtaining N speaker signals corresponding to the N speakers;
- obtaining M microphone signals corresponding to the M microphones;
- and
- performing at least direct sound filtering on the N speaker signals and the M microphone signals to obtain a target signal, wherein the direct sound filtering comprises filtering an audio component directly output from the N speakers to the M microphones without environmental reflections,
- wherein the method further comprises:
- enabling a display of the electronic device to display a customized direct sound filtering interface;
- receiving user input of a user in the customized direct sound filtering interface;
- in response to the user input, obtaining N speaker test signals and enabling the N speakers to play the N speaker test signals;
- obtaining M microphone test signals corresponding to the M microphones;
- and
- storing a customized direct sound filtering model, wherein the customized direct sound filtering model is obtained based on the N speaker test signals and the M microphone test signals, wherein the customized direct sound filtering model is used for the direct sound filtering.
An electronic device, comprising:
- N speakers, wherein Nis an integer greater than 1;
- M microphones, wherein M is an integer greater than 1;
- at least one reverse speaker;
- one or more processors, configured to obtain N speaker signals corresponding to the N speakers and M microphone signals corresponding to the M microphones, and enable the at least one reverse speaker to play reverse audio;
- and
- a memory, storing one or more programs, wherein the one or more programs are configured to be executed by the one or more processors, and the one or more programs comprise instructions used to perform the method comprising:
- obtaining N speaker signals corresponding to the N speakers;
- generating reverse speaker signals based on the N speaker signals;
- and
- enabling at least one reverse speaker close to at least one of the M microphones to play reverse audio based on the reverse speaker signals to cancel echo of audio output played by the N speakers corresponding to the N speaker signals, wherein the at least one reverse speaker is different from the N speakers.
Dependencies are inferred from the claim text.