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

The sound of the version 1.4.230 is way worse then 1.3.4 #5448

Closed Pamalosebi closed 2 years ago

Pamalosebi commented 2 years ago

The issue

The sound transferred using a 1.4.230 Mumble client is way worse compared with the previous 1.3.4 version.

To make that clear, the systems and microphones used are identical. (> All what changed is the Mumble client) And the results are reproducable with multiple PCs and setups.

It's tough to describe but it sounds very "muffled" and robotic in direct comparison. Also noticable is a very high latency (without any changes to server or network?).

We didn't manage to improve the results through changing the "input" or "output" settings. So, we will change back.

Is there anything to improve on our end? Otherwise we can't really upgrade. Which is very sad, we would like to stick with mumble in the long run :(

Mumble version

1.4.230

Mumble component

Client

OS

Windows

Additional information

Official Murmur Server on Ubuntu Server -> Version 1.3.4, since there is no update yet.

Krzmbrzl commented 2 years ago

Did you tinker with the noise suppression and/or echo cancellation options? Both of these systems have received changes between 1.3 and 1.4, so maybe some of that is interfering in your case.

Sonasword commented 2 years ago

I came here experiencing similar issues. Yesterday, I was using 1.3 with no issues on mic quality. Later in the day, I saw there was the update to 1.4.230 and other users in my server called out either a static sound or a somewhat canny / muffled sound from mic, which hasn't happened in the past. I tried messing with echo cancellation and noise suppression options, but couldn't get the audio to clear up in audio wizard tests. I checked connections with the mic and the Scarlet Solo audio interface and they seemed to be working correctly. I tested my mic in Windows and Discord and didn't run into the same issue.

Perhaps it's a special combination of settings between the echo and noise cancellation that I haven't tested yet, but it seems weird that the issue persists even when I tried going back to 1.3 or earlier versions of Mumble. Is there any way the update to Mumble changed drivers or some other setting I'm unaware of?

Krzmbrzl commented 2 years ago

No Mumble doesn't change any drivers. You could clear the registry though in order to make sure you get rid of all Mumble settings

Pamalosebi commented 2 years ago

other users in my server called out either a static sound or a somewhat canny / muffled sound from mic

That sounds pretty much like the issues we encountered.

Did you tinker with the noise suppression and/or echo cancellation options? Both of these systems have received changes between 1.3 and 1.4, so maybe some of that is interfering in your case.

Yes, we did tinker with those settings. We turned everything off, too. But sadly nothing changed.

If I think about it... I had looong time ago such a situation with Teamspeak. They didn't implement Opus and used speex. That led to horrible quality. -> Something like we experience right now. But has probably nothing to do with this...

vimpostor commented 2 years ago

Sounds like maybe the CELT codec is used. Try forcing Opus by setting opusthreshold in the server config to 0. There were already plans to remove CELT support, I think now that 1.4 is released, we should finally erase CELT from the codebase completely.

Krzmbrzl commented 2 years ago

Yes that would definitely be worth a try. And yes we should definitely get rid of that old CELT stuff

pet0ruk commented 2 years ago

It seems like for some reason the noise suppression changed from Speex to RNNoise in the new version.

Under Configure -> Settings -> Audio Input turn Echo Cancellation to Disabled, Noise Suppression to Speex (can leave it at the default -30 dB). It's the Noise Suppression change that makes the difference though.

Pamalosebi commented 2 years ago

Okay, I did as advised (forced Opus) and now, when we turn off the RNNoise it is way better! As soon we put RNNoise on it sounds really bad.

Krzmbrzl commented 2 years ago

Are the input levels on your mic perhaps rather high? RNNoise is known to cause really bad audio when the input audio is clipping

Krzmbrzl commented 2 years ago

It seems like for some reason the noise suppression changed from Speex to RNNoise in the new version.

It's because that's the new default, iirc.

Okay but by enforcing Opus and disabling RNNoise the issue is fixed?

pet0ruk commented 2 years ago

Are the input levels on your mic perhaps rather high? RNNoise is known to cause really bad audio when the input audio is clipping

I'm not the issue opener but we've had 5 people upgrade so far and every single one has static noises on their mic after the upgrade and switching back to Speex has immediately restored the quality to the level before the update. We were all using Opus, RNNoise is what was at fault.

Krzmbrzl commented 2 years ago

RNNoise is really weird - some swear that it is the best noise suppression ever, working magically well and others, like you, report that it is complete garbage. Maybe it only works for certain types of input devices or setups :thinking:

Pamalosebi commented 2 years ago

It seems like for some reason the noise suppression changed from Speex to RNNoise in the new version.

It's because that's the new default, iirc.

Okay but by enforcing Opus and disabling RNNoise the issue is fixed?

Yes. Opus forced by the server and RNNoise off is helping greatly.

After some testing, we figured, that these settings mights sound even better than what we had with 1.3.4:

image
Green-Sky commented 2 years ago

random thought: maybe this rnnoise depends on the sample rate? the log files should contain the sample rates. mine look like this:

...
<W>2022-01-16 22:57:46.458 AudioInput: Opus encoder set for low delay
<W>2022-01-16 22:57:46.458 AudioInput: 70044 bits/s, 48000 hz, 480 sample
...
Krzmbrzl commented 2 years ago

The sample rate is hardcoded at 48 kHz

Snowknight26 commented 2 years ago

I've noticed this as well using several of the older 1.4.0 development builds. The users that had RNNoise enabled had discernably worse transmit quality (can't remember the exact details as it was months ago) on a server with a maximum audio bandwidth of ~100Mbps (yes, Mbps) - each user typically has their audio input settings as high as they will go quality-wise. At least one of those users was using an identical input setup to me: MXL AC-404 USB mic, Windows mic volume set to ~80, Windows format set to the default of 1 channel/16 bit/48KHz.

Coincidentally, those that had RNNoise enabled also suffered from the issue described in #4538.

vimpostor commented 2 years ago

Has anyone been able to reproduce this on another OS than Windows?

stale[bot] commented 2 years ago

This support-issue has been automatically marked as stale because it has not had recent activity. If no further activity occurs, the issue will be automatically closed as we'll assume your problem to be fixed.

Krzmbrzl commented 2 years ago

Hold on, stale-bot. I still want to change the defaults based on this issue....

Hartmnt commented 2 years ago

Has anyone been able to reproduce this on another OS than Windows?

Yes. We had a single user with this problem on Linux. After the upgrade from 1.3.4 to 1.4 their sound quality was pretty bad. Tweaking the RNNoise parameters did not help. Only after switching manually to Speex the sound quality was the same as before. Note that their microphone was a fairly low-tier one with some static noise present in raw recordings. Other users, Linux and Windows, had no problem after the upgrade even when using RNNoise.

bkacjios commented 2 years ago

One thing I've noticed is that ever since I updated to 1.4 my friends, who are still on 1.3.4, say my audio quality is sometimes terrible and laggy while the ones who also updated to 1.4 say it's always completely fine. Could this be the same issue? Is the client version mismatch somehow to blame?

Krzmbrzl commented 2 years ago

No that seems unrelated. The different versions shouldn't affect audio quality at all (afaict) :thinking:

Pamalosebi commented 2 years ago

Note that their microphone was a fairly low-tier one with some static noise present in raw recordings.

Hmm... our microphones are fine. We don't have any interferences while recording. Nevertheless, we have that issue. (just tested with windows, tho)

0xC0ncord commented 2 years ago

I'm also having the same problem on Gentoo Linux and Pipewire. I can also report that I had this problem on earlier 1.4.0 development builds.

Strangely, if I apply RNNoise directly in Pipewire instead of using the Mumble settings UI to do it, I get the same behavior. This did not happen on 1.3.4.

MarioPL98 commented 2 years ago

One of my friends has similar issue with 1.4.230 version. The sound in 1.3.4 was deeper, with better dynamics. 1.4.230 has shallow sound and the voice sounds kinda metallic, with distortions. We tried reducing noise filter strength but it didn't work unless we disabled all noise filters. The microphone is almost studio quality with very little to none noise and great dynamics (novox nc-1).