Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
None
-
I use android, windows and linux mint.
Description
Add a echo cancellation module to Qt (I currently use Qt 6.3.1)
In Qt it is hard/impossible to get accurate timing between the sound input from microphone and sound output to speaker. This timing is critical to make echo cancellation work well.
I have spent about 2 months attempting to get reasonable echo cancellation. I first tried speex then the WebRTC libraries which contain reasonable aec modules. the issue is that determining the timing between the microphone and the speaker output consistently correct.
Since I am using Qt devices for sound input and sound output I would imagine Qt would have that kind of timing information internally.
My feature request is to either
A.) Expose an api for getting the timing of the difference in time between the microphone write and the speaker device read + the time that will be spent in the sound card
Or
B.) Add one of the open source libraries with echo cancellation to Qt and an api to enable it. (WebRTC is probably the best one)