An echo cancellation method, device, device and storage medium

An echo cancellation and audio frame technology, which is used in interconnection devices, speech analysis, instruments, etc., can solve the problems of no echo cancellation effect, not a fixed value, instability, etc., so as to improve the echo cancellation effect and solve the problem of delay. unstable effect

Active Publication Date: 2021-11-23
SUZHOU MEHDI HOUSTTON MEDICALSYST TECH
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the practical application of audio communication, due to the non-real-time nature of the operating system itself, as well as the existence of multiple delay links such as sound card hardware acquisition and playback delays, operating system and driver layer buffer delays, and application software audio transmission processing delays, etc., The delay between the near-end data and the far-end data is often very large, and the improper processing method will cause the delay between the two to be too large and unstable, that is, the delay between the near-end data and the far-end data is not the same every time the echo is eliminated. Fixed value, which makes it impossible to align the far-end data with the near-end data during echo cancellation, so that the ideal echo cancellation effect cannot be obtained

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • An echo cancellation method, device, device and storage medium
  • An echo cancellation method, device, device and storage medium
  • An echo cancellation method, device, device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] figure 1 It is a flow chart of an echo cancellation method provided by Embodiment 1 of the present invention. The technical solution of this embodiment is applicable to the situation where far-end data and near-end data are aligned to achieve echo cancellation. This method can be executed by an echo cancellation device , the device can be realized by software and / or hardware, and the method for echo cancellation specifically includes the following steps:

[0041] Step 110, setting echo cancellation parameters according to preset parameters.

[0042] In this embodiment, the echo cancellation parameters that need to be set according to the preset parameters include: the sampling rate of audio collection, the number of sampling channels and sampling precision, the sampling rate of audio playback, the number of sampling channels and sampling precision, and the sampling rate of echo cancellation , the number of sampling channels and sampling accuracy, the audio frame durati...

Embodiment 2

[0065] figure 2 It is a flowchart of an echo cancellation method provided by Embodiment 2 of the present invention. This embodiment is further refined on the basis of the foregoing embodiments, and provides specific steps for obtaining remote data from a remote device. Combine below figure 2 An echo cancellation method provided by Embodiment 2 of the present invention is described, including the following steps:

[0066] Step 210, setting echo cancellation parameters according to preset parameters.

[0067] Step 220, initialize a preset data buffer, wherein the preset data buffer includes: a remote data buffer, a near data buffer, a sound card playback buffer and a sound card acquisition buffer.

[0068] Step 231, acquire remote data and sampling parameters from the remote device.

[0069] Wherein, the sampling parameters include: audio sampling rate, number of sampling channels and sampling precision.

[0070] Step 232: Compare the received sampling parameters with corr...

Embodiment 3

[0079] Figure 3a It is a flow chart of an echo cancellation method provided by Embodiment 3 of the present invention. On the basis of the foregoing embodiments, this embodiment further refines and provides specific steps for aligning far-end data and near-end data. Combine below Figure 3a An echo cancellation method provided by Embodiment 3 of the present invention is described, which further includes the following steps:

[0080] Step 310, setting echo cancellation parameters according to preset parameters.

[0081] Optionally, on the Windows platform, step 310 specifically includes: according to the sampling rate of audio collection, audio playback, and echo cancellation audio at 16KHz, the number of audio sampling channels is mono, the sampling accuracy is 16bit, and data alignment delay correction The parameter is 100ms, the audio frame duration of audio collection is 10ms, and the audio frame duration of audio playback is 50ms. Set the above echo cancellation paramete...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses an echo cancellation method, device, equipment and storage medium. The echo cancellation method includes: setting echo cancellation parameters according to preset parameters; initializing a preset data buffer, wherein the preset data buffer includes: a near-end data buffer, a far-end data buffer, a sound card playback buffer, and a sound card Acquisition buffer; send the remote data obtained from the remote device into the sound card playback buffer and the remote data buffer at the same time, and play audio according to the corresponding parameters in the echo cancellation parameters; collect from the sound card Send the near-end data into the near-end data buffer; align the far-end data and the near-end data; according to the aligned far-end data and the near-end data, Perform echo cancellation. The technical solution of the embodiment of the present invention can effectively control the delay of the far-end data and the near-end data of the echo cancellation, and significantly improve the echo cancellation effect.

Description

technical field [0001] Embodiments of the present invention relate to voice communication technology, and in particular to an echo cancellation method, device, equipment and storage medium. Background technique [0002] The use of voice calls has become very common, for example, network instant messaging or video conferencing, etc., which makes people's daily work and life more efficient. At the same time, some problems of voice calls also follow. The echo problem is particularly serious. If the echo is not dealt with, it will affect the call quality and user experience, and even more serious vibrations and howling will be formed. [0003] At present, the vast majority of software echo cancellation applications are based on WebRTC's echo cancellation algorithm. The algorithm needs to combine far-end data (audio data received by the local user from the far end and sent to the speaker for playback) and near-end data (collected by the local user from the microphone, including ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & AuthorityPatents(China)
IPC IPC(8): G10L21/0208G10K11/178H04M9/08
CPCG10L21/0208G10L2021/02082G10K11/17819H04M9/082
Inventor郭春辉
OwnerSUZHOU MEHDI HOUSTTON MEDICALSYST TECH