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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


