Difference between revisions of "FAQ/English"
(Tried to update for 1.2, but my calculations of the actual overhead may be wrong (not sure if the protocol changes altered the header size))
(make it a little clearer)
|Line 94:||Line 94:|
== Can I change to volume of a specific user? ==
== Can I change to volume of a specific user? ==
No, you cannot. Mumble employs AGC ('''A'''utomatic '''G'''ain '''C'''ontrol) to normalize the volumes of all players automatically. This means the individual adjustment of a single user is not required,
No, you cannot. Mumble employs AGC ('''A'''utomatic '''G'''ain '''C'''ontrol) to normalize the volumes of all players automatically. This means the individual adjustment of a single user is not required, wanted. We feel that it makes no sense for every user on a server to adjust the volume of someone manually when the person in question could just fix things on his end instead. Note that pretty much all questions we receive on this this come up because of users who did not bother to do our Audio Wizard, AGC is powerfull but if there is not enough signal to begin with (e.g. Mic volume turned way down) it will not be able to operate correctly.
= Server =
= Server =
Revision as of 17:31, 25 November 2009
- 1 About Mumble
- 1.1 What is Mumble?
- 1.2 What is Murmur?
- 1.3 What platforms does it run on?
- 1.4 What are the system requirements?
- 1.5 Can I use Mumble to connect to Ventrilo/Teamspeak/Skype/...
- 1.6 Installing Mumble
- 1.7 Compiling Mumble
- 1.8 What makes Mumble better?
- 1.9 What are the bandwidth requirements?
- 1.10 What tools did you use to make this?
- 1.11 How can I help or contact you?
- 2 Audio Features
- 2.1 How does the positional sound work?
- 2.2 Why does Mumble sound so much better than other voice products?
- 2.3 The text-to-speech quality is horrible!
- 2.4 Why do some voices sound metallic?
- 2.5 I see I can use sound notifications, but how do I make a spx file?
- 2.6 Why doesn't the voice activity detect my voice any more?
- 2.7 What is this weird echo I hear of myself from other users?
- 2.8 Can I change to volume of a specific user?
- 3 Server
- 3.1 What sort of bandwidth will I need for the server?
- 3.2 Where do I configure the welcome message, listen port and so on?
- 3.3 What is the default server port for Murmur?
- 3.4 Can I run multiple servers on one host?
- 3.5 How do the ACLs work?
- 3.6 Where is the administrator account?
- 3.7 How can I reset the database?
- 3.8 How can I add an user?
- 3.9 How can I change a user's password?
- 3.10 How do I backup the database?
- 3.11 How do I run Murmur as a Linux/Unix Sys V service?
- 3.12 I get the error "Meta: Failed to load qWave.dll, no QoS available" in the Murmur log when I start Murmur
- 4 Common Problems and Resolutions
- 4.1 Can't hear other users/users can't hear me
- 4.2 My server has multiple IP addresses. How can I make Murmur listen on a specific address?
- 4.3 Server connection rejected: Invalid Password.
- 4.4 Server connection failed: Host not found.
- 4.5 Server connection failed: Connection refused.
- 4.6 I get disconnected from the server as soon as I connect.
- 4.7 I've Tried the above but it will not connect
- 4.8 I tried but the port is open and it still will not connect
- 4.9 Mumble gives me a BSOD when I try to start it.
- 4.10 For some reason my game will crash when I'm running Mumble
- 4.11 When I run Mumble the volumes of other applications drop
- 4.12 I'm running many virtual servers or have many users connected, and the server becomes unstable
- 5 Compilation / installation problems
- 6 Language Translation
- 7 Recording
What is Mumble?
Mumble is a voice chat application for groups. While it can be used for any kind of activity, it is primarily intended for gaming. It can be compared to programs like Ventrilo or TeamSpeak. People tend to simplify things, so when they talk about Mumble they either talk about "Mumble" the client application or about "Mumble & Murmur" the whole voice chat application suite.
What is Murmur?
"Murmur" is the name of the server application. In any case, if anyone talks about Murmur it is for sure the server part.
What platforms does it run on?
The client, Mumble, runs on Windows, Mac OS X and Linux.
The server component, Murmur, should run on anything you can compile Qt 4 on.
What are the system requirements?
The client runs on any Windows, Linux or Mac OS X machine. You also need a microphone. The server is mostly bandwidth bound, so as long as your network hardware is sufficient it should run on pretty much anything.
Please note that the Windows binaries distributed from SourceForge are compiled for SSE (Pentium 3 or Athlon-XP). Mumble is a VOIP solution for gaming, and as most modern games require at least that good a CPU it makes little sense for us not to optimize for it.
Can I use Mumble to connect to Ventrilo/Teamspeak/Skype/...
No. Mumble only supports its own protocol which has been specifically designed to give you the best user experience.
If you need to use Ventrilo on linux take a look at Mangler.
What makes Mumble better?
Mumble has very low latency combined with good sound quality; it uses Speex extensively, not just the voice compression technology, but also the voice preprocessing to remove noise and improve clarity. Mumble also has positional audio for supported games, meaning the other players' voice will come from the direction their character is in game.
What are the bandwidth requirements?
From 0.9.1, this is highly variable, and mostly up to the user. With top quality, minimum latency and positional information sent, it is 110 kbit/s (as of 1.2) including the IP and UDP overhead. With 80 ms transmission delay, the lowest quality speech and no positional information, it is 11.0 kbit/s (again with IP and UDP overhead). The default quality setting (as of 1.2) uses 54 kbit/s. When comparing with other products, remember to compare the total bandwidth use and not just the bitrate of the audio encoding.
There are two parts to tuning the bandwidth; the audio bitrate per audio frame (20ms) and the amount of frames to put in each packet. Each transmitted packet has a overhead of 28 bytes from IP and UDP alone, so at the highest transmission rate (50 packets per second), that is 1400 bytes of data for raw network overhead alone. You should try to find a balance that works well for you, but we generally recommend sacrificing high audio bitrate for lower latency; Mumble sounds quite good even on the lowest quality setting.
There is no way to adjust the amount of incoming bandwidth; you will have to have enough to sustain the total amount of speaking players. This should be a minor issue; most players these days are on asymmetric lines and hence it is only upload that is a bottleneck.
What tools did you use to make this?
See Development Tools.
How can I help or contact you?
A good start would be just using Mumble. If you like it, tell all your friends. If you do not like it, tell us what is wrong so we can fix it. You can do so via the forums or meet us on IRC at irc://irc.freenode.org/mumble If you have a bug or error that you need help with it also helps to read over Debugging to learn how to give the developers the information needed to help fix the bug.
How does the positional sound work?
Your position ingame is transmitted along with every audio packet, and Mumble uses standard DirectSound 3D to position the audio on the receiver side. Only games which have been adjusted to be used with mumble, or for which a plug-in has been written get positional audio. All other games will work as well, you just will not get 3D sound. You can find a list of supported games in the Games article.
Why does Mumble sound so much better than other voice products?
One word: Denoising. This is a standard part of Speex 1.1 and above, and any voice product already implementing speex should be able to trivially include the same filtering. Removing the noise from the input means that the audio will be clearer and that the needed bitrate will decrease. It takes fewer bits to model clear voice than it does to accurately represent the noise, so in any noisy transmission a large share of the bits will be noise modelling.
The text-to-speech quality is horrible!
We use the standard MS Speech API, and the included voices are not all that good. If you have installed either MS Office or the Speech SDK, you will get more voices which can be configured from the Speech control panel. You can also buy a commercial Text-To-Speech engine; as long as it's SAPI5 compatible it can be used by Mumble. The main developers are currently using NeoSpeech Kate (buyable standalone from NextUp).
Why do some voices sound metallic?
Mumble uses Speex noise filtering, and if the environment of the sender is especially noisy, some parts of the voice will be filtered as well. The alternative would be noisy sound, meaning precious bandwidth would be used to encode noise and the clarity of the voice would also decrease.
I see I can use sound notifications, but how do I make a spx file?
Why doesn't the voice activity detect my voice any more?
If you change your audio environment suddenly and drastically, by for example disconnecting and reconnecting your microphone or dragging a piece of paper directly over the microphone, you will throw the voice preprocessor off balance. It will recover, but it will take time.
To reset the preprocessor, choose 'Reset' from the 'Audio' menu.
What is this weird echo I hear of myself from other users?
Unfortunately, a lot of popular headsets produce tiny traces of echo. In other VOIP products, you will not notice it because the echo is lower than the noise level, but as Mumble dutifully removes all noise, the echo suddenly becomes clear. There is little the person hearing the echo can do, but there are a few things the person producing the echo can do. On Vista, we support echo cancellation for any sound card. On Linux, we support echo cancellation when using PulseAudio, and on Windows XP we support echo cancellation using ASIO (which unfortunately requires a very high quality soundcard with ASIO drivers).
The more troublesome solution is to modify the headset. If it is possible to pry the arm with the microphone from the headphones, do so and reattach it with a thick piece of rubber tape; this should insulate it from vibrations. If your headset is open (no large earmuffs), there exists an echo path through air from the headphones to the microphone. You can fix this by attaching anything foam-like to the front of the headphones to muffle the sound heard outside them, but this will most likely ruin the ergonomics of the headset as well as look somewhat odd.
We might put up a page of "tested headsets" if anyone wants it.
Can I change to volume of a specific user?
No, you cannot. Mumble employs AGC (Automatic Gain Control) to normalize the volumes of all players automatically. This means the individual adjustment of a single user is not required, nor wanted. We feel that it makes no sense for every user on a server to adjust the volume of someone manually when the person in question could just fix things on his end instead. Note that pretty much all questions we receive on this this come up because of users who did not bother to do our Audio Wizard, AGC is powerfull but if there is not enough signal to begin with (e.g. Mic volume turned way down) it will not be able to operate correctly.
What sort of bandwidth will I need for the server?
Worst case scenario: Number of users × Number of talking users × 60 kbit/s. With less aggressive quality settings, it's ~20 kbit/s, and the bare minimum is 12kbit/s. Note that Mumble is geared towards social gaming; its quality enables people to talk naturally to each other instead of just barking short commands, so the amount of "users talking at the same time" can be somewhat higher than expected.
This means that a server with 20 players and 2 players talking at once requires 0.8-2.4 Mbit/s, depending on quality settings. In the server's .ini file, you can specify the maximum allowed bitrate for users as well as the maximum number of clients to allow.
Where do I configure the welcome message, listen port and so on?
murmur.ini, it is self-documenting.
murmur.ini is located in your Mumble Program Files folder on Windows, and in /etc/mumble-server.ini on Ubuntu.
What is the default server port for Murmur?
The default server port for Murmur is UDP and TCP 64738.
Can I run multiple servers on one host?
Yes, Murmur supports virtual servers. See Running_Murmur
How do the ACLs work?
See ACL and Groups
Where is the administrator account?
The topmost user in the Mumble hierarchy is the useraccount "SuperUser", which bypasses all permission checks and is always allowed to do anything. SuperUser can't be used as a normal user account (it can't talk) and should only be used for initial configuration or to recover from misconfiguration.
To set the superuser password, start murmur with
murmur.exe -supw supersecretpw
murmurd -supw supersecretpw
How can I reset the database?
Delete the murmur.sqlite file.
Rerun the command:
murmur -supw <password>
How can I add an user?
How can I change a user's password?
How do I backup the database?
Shut down the server (kill the process), and make a copy of murmur.sqlite. That file is the database.
How do I run Murmur as a Linux/Unix Sys V service?
There's an example in scripts/murmur.init
I get the error "Meta: Failed to load qWave.dll, no QoS available" in the Murmur log when I start Murmur
qWave is network QoS for Vista. You don't have qWave, so it's proceeding without it. You can disregard this message if you are NOT on Vista/Server 2008. If you are, you should try to stop the error.
Common Problems and Resolutions
Can't hear other users/users can't hear me
First check that you can hear yourself in the Audio Wizard. If you can't, then there's something wrong with your local audio configuration.
Next, turn on the Expert Config options, and turn the Loopback Mode to "Server" under "Audio Output". If you can hear yourself talk while connected to the server, your network settings are fine; the problem is other users.
If you can hear yourself in the audio wizard, but not when using server loopback mode, something between you and the server is blocking UDP packets. Try turning on "Use TCP Mode" and reconnect to the server.
Some users of Windows Vista have reported that if you have this problem: (1) set compatibility mode on the shortcut for "Windows XP (Service Pack 2)"; (2) start Mumble; (3) close Mumble; (4) turn off compatibility mode; (5) start Mumble and see if the problem is solved.
My server has multiple IP addresses. How can I make Murmur listen on a specific address?
The host= option in murmur.ini lets you do this. If the option is blank (the default), it will listen on all addresses.
Server connection rejected: Invalid Password.
This simply means the server password was incorrect, next time make sure you type in the password in the password box on the connect window.
Server connection failed: Host not found.
This means that there is no computer at that ip address, double check this is the right IP
Server connection failed: Connection refused.
This means there is a computer there but that is the incorrect port, double check the IP to make sure that this is the right computer, if it is then check what port you are supposed to connect on and put that in the port box on the connect screen.
I get disconnected from the server as soon as I connect.
This can be due to a version mismatch between the server and the client. Ask the server owner about the version that its being used, and get that version.
I've Tried the above but it will not connect
Are you on a Network make sure the port is open and the same if the host is on a network.
I tried but the port is open and it still will not connect
Then you should enable port forwarding on your router to your computer for the port. To get your LAN IP address:
- Windows: press run then type "cmd" (no quotes) and type in "ipconfig" and it will display your IP address next to IP Address.
- Linux and other unixes: On a console, type ifconfig. Your IP is next to inet addr:
Mumble gives me a BSOD when I try to start it.
Mumble has no kernel components, and as such cannot cause a BSOD. A BSOD is an indication of faulty drivers or faulty hardware. Run several stress tests such as Prime95 to ensure that your system is stable, and also check all other components of your system. A few runs with Memtest86+ are also recommended. Besides this, install the latest drivers, firmware, and BIOS's for your computer.
For some reason my game will crash when I'm running Mumble
The Mumble Overlay is a nice feature that many people use, but because of the rendering methods it uses to display the overlay while you're in a game, it can sometimes make the game crash or not work properly. You can find a list of games that are known to have issues with the overlay and how to solve problems experienced in these games in the Games article. You can also find an application incompatibility list on this page as well.
When I run Mumble the volumes of other applications drop
If you are running Vista or later this is a feature. Mumble is able to lower the volume of other applications while someone is talking to you. This is very handy in loud games, when listening to music, or watching movies. We understand that some user might not like this feature, to disable it enable Expert mode in the configuration and pull the "Other applications volume slider" to 100% in the Audio Output tab.
Note: If you are running 1.1.8 on a windows 7 system you will see a similar behaviour which is caused by this feature. Windows 7 introduced functionality which is supposed to trigger all kind of actions when there is an incoming VoIP call, such as halting video playback and lowering the volume of other applications. Unfortunately this also triggers on Mumble 1.1.8 which was released well before we had access to Windows 7. To solve this issue either disable the feature in Windows 7 (Rightclick the audio icon in the taskbar, select recording devices, go to the Communications tab and disable it) or use the 1.1.X backwards compatible client which comes with recent 1.2.0 snapshots. 1.1.X supports Windows 7 without additional configuration.
I'm running many virtual servers or have many users connected, and the server becomes unstable
A phenomenon experienced mostly by commercial hosters who have a lot of virtual servers running. To fix the issues, you need to make sure you use a Qt with glib support.
Second, you need to make sure your per-process file limit is high enough. For most distros, this is done by editing /etc/security/limits.conf. Add the following:
* hard nofile 8192 * soft nofile 8192
Make sure the UsePAM in sshd_config is set to yes. Restart your sshd, log back in and recheck the limit is now 8192 by checking 'ulimit -n'. If you run murmurd as
It will perform a file descriptor test
Compilation / installation problems
mumble.pri:8: Unknown test function: CONFIG
Mumble requires Qt version 4.3 or better; you are running qmake from Qt 3
Error message in murmur.cgi line 118
You need an MTA on localhost unless you have defined a different SMTP server.
If you want to get more information about Mumble Translations or want to help out translating Mumble, take a look at the Language Translation Page.
Many people use Mumble for podcasting/radio because of it's high quality and low latency, and we realize that some people want to record their conversation on Mumble for these types of purposes.
On Windows this is fairly simple, there are many different programs that can capture audio. Audacity is a good program for doing this. Many people just use a spare computer they have and login to the Murmur server and set Audacity to record "What U Hear."
If you are using PulseAudio, read this guide on how to record Mumble conversations. The guide is written for Gentoo Linux, but users of other operating systems should be able to adapt this guide to their computer.