mumble-voip / mumble

Mumble is an open-source, low-latency, high quality voice chat software.
https://www.mumble.info
Other
6.27k stars 1.1k forks source link

Audio processing #6088

Closed Neloy262 closed 1 year ago

Neloy262 commented 1 year ago

The issue

Is there any doc regarding how mumble processes audio data?

Mumble version

1.5.0

Mumble component

Server

OS

Linux

Additional information

No response

Krzmbrzl commented 1 year ago

No docs that I am aware of (other than the source code itself). What exactly are you looking for?

Neloy262 commented 1 year ago

I just want to explore a bit more about echo cancellation.

Krzmbrzl commented 1 year ago

So are you looking for code parts inside Mumble that handles echo cancellation or are you interested how Mumble performs echo cancellation in a more general way. In case of the latter: we use the echo cancellation feature of SpeexDSP - almost all of the magic is handled there

Neloy262 commented 1 year ago

Yes I am looking for code parts inside mumble

github-actions[bot] commented 1 year ago

As there has been no activity on this issue for a couple of days, we assume that your issue has been fixed in the meantime. Should this not be the case, please let us know.

If no further activity happens, this issue will be closed within 3 days.

Krzmbrzl commented 1 year ago

Not so fast, stale bot. I do intend to answer this properly. I'll only have to find the time.

Krzmbrzl commented 1 year ago

For how echo cancellation is implemented, have a look at the AudioInput.cpp file. In particular https://github.com/mumble-voip/mumble/blob/e0bc60086db27ee9dc52fc9db7ee4719420de9b9/src/mumble/AudioInput.cpp#L603 is probably a good start to trace things around.