mumble-voip / mumble

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

Automatic gain control for audio output #6428

Open Krzmbrzl opened 1 month ago

Krzmbrzl commented 1 month ago

Context

In most scenarios it is desirable to have every speaker you receive audio from at about the same volume levels. However, experience shows that the audio that is transmitted usually isn't at the same volume, which is why Mumble has local volume adjustments, which allow users to manually control a given user's speech loudness.

Description

Instead of having to manually apply a loudness scaling factor for every user, it would be much better if we made use of the automatic gain control machinery that we already support for audio input. That way Mumble can take over the job of normalizing everyone's (average) volume and local volume adjustments could then be used exclusively to dial up or down a given speaker relative to the other speakers (i.e. if you intentionally want to hear someone at a different volume than everyone else).

Mumble component

Client

OS-specific?

No

Additional information

No response

zibetnu commented 1 month ago

This feature would rock. My friends and I have had to adjust incoming speaker volumes in Discord so frequently that I've been looking around for any voice chat software that can do it automatically.

I understand if you don't have a good answer for this, but do you have a vague idea of when (or if) this might be implemented?

Krzmbrzl commented 1 month ago

As things stand right now, chances are rather high that it will he implemented in the near-ish future. Can't make any promises though.