Difference between revisions of "Audio"

From Mumble Wiki
Jump to: navigation, search
(added categories Audio Processing and RNNoise)
(Echo Cancellation: smaller changes to the text, for better readability)
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Notice
 
{{Notice
|message=This page is work-in-progress.
+
|message=This page is missing some parts and might be extended in the future.
 
 
 
}}
 
}}
  
Line 14: Line 13:
 
=== Echo Cancellation ===
 
=== Echo Cancellation ===
  
If enabled, this will filter echo from the audio streams you send to others.<br>
+
If enabled, this will filter echo from the audio you send to others.<br>
  
Usecases: <br>
+
You should enable it in the following cases: <br>
1. Normal loudspeakers and no headset:<br>
+
1. You use conventional loudspeakers and no headset:<br>
 
This Setup will usually create echo, so you will need echo cancellation.
 
This Setup will usually create echo, so you will need echo cancellation.
  
Line 23: Line 22:
 
Some Headsets tend to transmit echo, the reasons for this include: bad cable and noise isolation or the microphone is to close to the loudspeakers of the headset.
 
Some Headsets tend to transmit echo, the reasons for this include: bad cable and noise isolation or the microphone is to close to the loudspeakers of the headset.
  
Two options are implemented: <br>
+
Two options are implemented (you can choose one of them): <br>
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 40: Line 39:
  
 
'''Alternatives:'''<br>
 
'''Alternatives:'''<br>
You can also use external echo filters, in this case deactivate the echo filters in mumble.
+
You can also use external echo filters.
  
 +
{{Notice
 +
|message=In this case you should deactivate the echo filters in Mumble (to avoid interference).
 +
}}
 +
 
Examples for external echo filters: <br>
 
Examples for external echo filters: <br>
 
* Pulseaudio Module: [https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/#index45h3 Documentation (options only)]
 
* Pulseaudio Module: [https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/#index45h3 Documentation (options only)]
Line 51: Line 54:
  
 
RNNoise is a noise suppression library.<br>
 
RNNoise is a noise suppression library.<br>
It is intended to filter background noises from the audio that is sent to other participants.
+
It is intended to filter background noises from the audio that is sent to other users.<br>
 +
RNNoise uses a deep learning algorithm so it should work better than most regular filters.
  
 
More information can be found on various websites:
 
More information can be found on various websites:
Line 57: Line 61:
 
* https://hacks.mozilla.org/2017/09/rnnoise-deep-learning-noise-suppression/
 
* https://hacks.mozilla.org/2017/09/rnnoise-deep-learning-noise-suppression/
  
{{Notice
 
|message=RNNoise can as of now (status in may 2020) maybe interfere with libspeexdsp (echo cancel and other parts). <br>
 
If you experience problems, try to disable RNNoise (or the other parts). <br>
 
Sources & Details: <br>
 
https://github.com/mumble-voip/mumble/issues/4127#issuecomment-629653914
 
https://github.com/mumble-voip/mumble/issues/4181#issuecomment-630399352
 
  
}}
+
= Audio Output - Options =
 +
 
 +
 
 +
= Technology =
 +
 
 +
In this section we take a short look at the technology behind the scenes.

Revision as of 16:18, 1 June 2020

Icons oxygen 48x48 actions view-pim-notes.png
Note:
This page is missing some parts and might be extended in the future.

Introduction

Mumble features various Audio Options and Features, this wiki page will describe them and tell you which settings are best for your setup.

Audio Input - Options

Interface

Echo Cancellation

If enabled, this will filter echo from the audio you send to others.

You should enable it in the following cases:
1. You use conventional loudspeakers and no headset:
This Setup will usually create echo, so you will need echo cancellation.

2. Headset transmits echo, though it shouldn't:
Some Headsets tend to transmit echo, the reasons for this include: bad cable and noise isolation or the microphone is to close to the loudspeakers of the headset.

Two options are implemented (you can choose one of them):

Option: Description: Usecase:
1. Mixed echo cancellation This is the basic Option: It will process all loudspeaker outputs bundled together.
This is less accurate than the Multichannel option, but will also use less CPU.
Sufficient for setups with loudspeakers near to the microphone.
2. Multichannel echo cancellation Extended option: It will process all audio channels seperately, this is more accurate, but will result in higher CPU usage. For setups with (multiple) loudspeakers farther away from the microphone.

In case of doubt:
1. Try Mixed echo cancellation first.
2. If Mixed echo cancellation does not filter the echo correctly, try Multichannel echo cancellation.


Alternatives:
You can also use external echo filters.

Icons oxygen 48x48 actions view-pim-notes.png
Note:
In this case you should deactivate the echo filters in Mumble (to avoid interference).

Examples for external echo filters:

Audio Processing

RNNoise

RNNoise is a noise suppression library.
It is intended to filter background noises from the audio that is sent to other users.
RNNoise uses a deep learning algorithm so it should work better than most regular filters.

More information can be found on various websites:


Audio Output - Options

Technology

In this section we take a short look at the technology behind the scenes.