CN-121983075-A - Echo cancellation method, device, audio equipment and storage medium
Abstract
The application relates to the technical field of audio signal processing, and provides an echo cancellation method, an echo cancellation device, audio equipment and a storage medium, wherein the method comprises the steps of acquiring beam signals corresponding to different angles in a target angle range; the method comprises the steps of selecting a first candidate beam signal from beam signals, wherein the correlation between the first candidate beam signal and an input signal of an audio input device is larger than a first preset threshold value, selecting a second candidate beam signal from the first candidate beam signal, the correlation between the second candidate beam signal and a stopreference signal is smaller than a second preset threshold value, selecting a preliminary beam signal from the second candidate beam signal, determining a target beam signal based on the preliminary beam signal, and the correlation between the preliminary beam signal and beam signals corresponding to angles of the audio output device is smaller than the correlation between other second candidate beam signals and beam signals corresponding to angles of the audio output device. The embodiment of the application ensures the echo cancellation effect under the condition of limited computing resources.
Inventors
- YANG PENG
- HU LITIAN
- WANG CHUANSHENG
- XIE XUN
Assignees
- 珠海莫界科技有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20251231
Claims (10)
- 1. An echo cancellation method, the method comprising: Acquiring beam signals corresponding to different angles in a target angle range; selecting a first candidate beam signal from the beam signals, wherein the correlation between the first candidate beam signal and an input signal of an audio input device is larger than a first preset threshold value; Selecting a second candidate beam signal from the first candidate beam signals, wherein the correlation between the second candidate beam signal and a stoping reference signal is smaller than a second preset threshold value, and the stoping reference signal represents a reference input signal corresponding to an output signal of an audio output device; and selecting a preliminary beam signal from the second candidate beam signals, and determining a target beam signal based on the preliminary beam signal, wherein the correlation between the preliminary beam signal and the beam signal corresponding to the angle of the audio output device is smaller than the correlation between other second candidate beam signals and the beam signal corresponding to the angle of the audio output device.
- 2. The method of claim 1, wherein the target angular range comprises a first angular range, and the acquiring beam signals corresponding to different angles within the target angular range comprises: and when a preset condition is met between the sound source angle and the angle of the audio output device, acquiring beam signals corresponding to different angles in the first angle range.
- 3. The method of claim 2, wherein before the acquiring the beam signals corresponding to different angles in the first angle range, the method comprises: Performing sound source localization to obtain the sound source angle; the first angular range is determined based on the sound source angle.
- 4. The method of claim 2, wherein satisfying the preset condition comprises: The absolute value of the angular difference between the sound source angle and the angle of the audio output device is greater than or equal to one half of the half power beamwidth.
- 5. The method of claim 1, wherein the target angular range comprises a second angular range, and the acquiring beam signals corresponding to different angles within the target angular range comprises: and when the preset condition is not met between the sound source angle and the angle of the audio output device, acquiring beam signals corresponding to different angles in the second angle range, wherein the second angle range is determined based on the sound source angle and the angle of the audio output device.
- 6. The method of claim 5, wherein a lower limit of the second angular range is a difference between a smaller of the sound source angle and the angle of the audio output device and a preset expansion angle, and an upper limit of the second angular range is a sum of a larger of the sound source angle and the angle of the audio output device and the preset expansion angle.
- 7. The method of claim 6, wherein the determining a target beam signal based on the preliminary beam signal comprises: and carrying out echo cancellation processing on the preliminary beam signal based on an adaptive filter to obtain the target beam signal.
- 8. An echo cancellation device, wherein the echo cancellation device comprises a memory and a processor; The memory is used for storing a computer program; the processor for executing the computer program and for implementing the steps of the method according to any one of claims 1 to 7 when the computer program is executed.
- 9. An audio device, characterized in that, the audio device comprising echo cancellation means as claimed in claim 8.
- 10. A computer-readable storage medium, characterized in that it stores a computer program which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 7.
Description
Echo cancellation method, device, audio equipment and storage medium Technical Field The present application relates to the field of audio signal processing technologies, and in particular, to an echo cancellation method, an echo cancellation device, an audio device, and a storage medium. Background With the development of technology, AR (Augmented Reality ) devices such as AR (glasses) and AR helmets gradually enter a conversation and voice interaction scene. For example, taking AR glasses as an example, in a scene of a call through the AR glasses, after an audio signal transmitted from a far end is played through a speaker of the AR glasses, if the audio signal is picked up by a microphone and transmitted back to the far end, an echo may be generated, thereby affecting the hearing experience of a user. In order to solve the echo problem, the echo cancellation is performed based on the adaptive filter in the related art, the effect of the echo cancellation depends on the algorithm complexity of the adaptive filter, the complexity is high, the effect of the echo cancellation is good, but the computing power is increased at the same time, the computing resource of the AR device is limited, and the echo cancellation cannot achieve the ideal effect. Disclosure of Invention The application provides an echo cancellation method, an echo cancellation device, audio equipment and a storage medium, which aim to ensure an echo cancellation effect under the condition of limited computing resources. In a first aspect, the present application provides an echo cancellation method, the method comprising: Acquiring beam signals corresponding to different angles in a target angle range; selecting a first candidate beam signal from the beam signals, wherein the correlation between the first candidate beam signal and an input signal of an audio input device is larger than a first preset threshold value; Selecting a second candidate beam signal from the first candidate beam signals, wherein the correlation between the second candidate beam signal and a stoping reference signal is smaller than a second preset threshold value, and the stoping reference signal represents a reference input signal corresponding to an output signal of an audio output device; and selecting a preliminary beam signal from the second candidate beam signals, and determining a target beam signal based on the preliminary beam signal, wherein the correlation between the preliminary beam signal and the beam signal corresponding to the angle of the audio output device is smaller than the correlation between other second candidate beam signals and the beam signal corresponding to the angle of the audio output device. In a second aspect, the present application also provides an echo cancellation device, the echo cancellation device comprising a memory and a processor; The memory is used for storing a computer program; The processor is configured to execute the computer program and implement the steps of the echo cancellation method as described above when the computer program is executed. In a third aspect, the present application also provides an audio device comprising an echo cancellation device as described above. In a fourth aspect, the present application also provides a computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of the echo cancellation method described above. The application discloses an echo cancellation method, a device, an audio device and a storage medium, which are characterized in that a first candidate beam signal is selected from beam signals by acquiring beam signals corresponding to different angles in a target angle range, the correlation between the first candidate beam signal and an input signal of an audio input device is larger than a first preset threshold value, a second candidate beam signal is selected from the first candidate beam signal, the correlation between the second candidate beam signal and a stoping reference signal is smaller than a second preset threshold value, the larger the correlation between the second candidate beam signal and the stoping reference signal is, the more likely the first candidate beam signal contains echo, the first candidate beam signal with the correlation between the first candidate beam signal and the stoping reference signal is larger than or equal to the second preset threshold value is screened out, namely the first candidate beam signal with the echo in large probability is screened out, the second candidate beam signal with the echo in small probability is reserved, then selecting a preliminary beam signal from the second candidate beam signals, wherein the correlation between the preliminary beam signal and the beam signal corresponding to the angle of the audio output device is smaller than the correlation between the other second candidate beam signals and the beam signal corresponding to the angle of the audio output