mumble-voip / mumble

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

Automatic gain control for audio output #6428

Open Krzmbrzl opened 6 months ago

Krzmbrzl commented 6 months 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 5 months 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 5 months 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.

ChrisLane commented 2 weeks ago

This should be based on some perceived loudness level (e.g. LUFS) rather than an absolute level like dB.

davidebeatrici commented 2 weeks ago

Agreed.