- Connect your phone as microphone wirelessly.
- Get clear voice and low latency with minimal CPU overhead.
- Just run one command (
$ broo
) to quickly set-up the mic and start talking with peers. - Supports both modern PipeWire and legacy PulseAudio.
- For PulseAudio use case, restores backed-up ALSA settings stored in
~/.config/asound.state
, if it exists.
- Sanskrit धातु (lexical word stem) " ब्रू " (brU) which means "to speak".
- You go like "BROOOOOOOOO that was NICE" while vibing with your homies.
- A GNU/Linux distro with either PipeWire or PulseAudio.
- A smartphone (or anything with a mic which can connect to a local Mumble server).
- The setup script will do the heavy lifting for you. Please proceed to the installation.
Install the following:
mumble
- Typically includes
mumble-server
ormurmur
. - If not, then install them too.
- Typically includes
avahi
oravahi-daemon
iproute2
If you want, you may build Mumble and its server directly from the source to get improved PipeWire support, performance, and bug fixes. Compilation doesn't take much time and completes under a few minutes. Though, you may want to build a package for better uninstallation later instead of directly going the sudo make install
route.
$ git clone https://github.com/siddhpant/broo.git
$ cd broo
$ chmod +x broo setup_broo
$ ./setup_broo
Then follow the on-screen instructions.
$ broo
Do you want to start Broo, or close it? (s/c):
- Press
s
to start Broo, orc
to stop it. - Use the mic by choosing
Broo
as your input source / mic in applications. - The script will reside in
~/.local/bin
, so you can run Broo from anywhere. - You can use
-h
or--help
for help.
Then you can eliminate the WiFi latency by connecting your phone to your computer with a wire.
Use USB tethering
to share your smartphone's active internet connection with your computer. When Broo creates a local server, due to direct connection with the phone the WiFi latency will be bypassed, and you can observe Mumla showing 0ms latency before connecting.
This will reduce the total audio latency by a significant percentage. For example, you might reduce the latency by 15ms, but the gain can be more or less since it depends on your connection.
The network latency to the web servers of services such as Teams, Google Meet, Discord, etc. is usually higher, so in the grand scheme of things, this optimisation might not matter for the average user.
Further, this may come in handy when your WiFi adapter / card / driver is borked.
If you see that your PC's user isn't in the channel when you join from your mobile, then restart Broo and press p
on the starting prompt of Broo. After following the on-screen steps, run Broo normally.
If the problem still persists, it would be nice to go through the setup again.
You can also force close broo with q
and force start with f
.
Inspired by the implementation of https://github.com/pzmarzly/mic_over_mumble/.
I have tried to hopefully iron out some problems with the original implementation by making the script from scratch to streamline the code, and added absolutely necessary features such as supporting PipeWire, adding prompt and ability to close the terminal, ALSA setting restore, etc.
* Due to devs being busy, the iOS app is officially unmaintained, while Android app is sorta in the same boat but short of being abandoned.
But the apps seem to work for many people thanks to Mubmle's backward compatibility. Any breakages maybe due to system changes rather than problems in Broo.
If you are someone capable of creating apps, a new Mumble client for mobile would be a nice project. Probably could use Flutter for cross-platform (idk much), with something building on the lines of using libmumble + dart:ffi, or dumble.
Copyright (C) 2021 Siddh Raman Pant
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.
The online repository can be found at https://github.com/siddhpant/broo.