DEV Community

Cover image for Android Phone as Microphone on Linux Using Local Network
anasrin
anasrin

Posted on • Originally published at anasrin.vercel.app

Android Phone as Microphone on Linux Using Local Network

TLDR

Using Mumble for simple chat server and change output as input, and bash script from github.com/siddhpant/broo for automation setup.

Tested on Arch Linux using PipeWire, Firefox, Chromium, and Audacity.

diagram

Why ?

Android phone nowaday has good microphone built-in.

Requirements

Android

Linux

  • mumble - GUI client.
  • mumble-server - CLI server.
  • avahi - avahi-daemon.
  • iproute2

Arch Linux command:



sudo pacman -S mumble mumble-server avahi iproute2


Enter fullscreen mode Exit fullscreen mode

Installation

Copied from github.com/siddhpant/broo#installation



git clone https://github.com/siddhpant/broo.git
cd broo
chmod +x broo setup_broo
./setup_broo


Enter fullscreen mode Exit fullscreen mode

Then follow the on-screen instructions.

Run

Linux

Copied from github.com/siddhpant/broo#run



broo
# Do you want to start Broo, or close it? (s/c):


Enter fullscreen mode Exit fullscreen mode
  • Press s to start Broo, or c to stop it.
  • Use the mic by choosing Monitor of 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.

Android

  • Open Mumla
  • Connect to local IP

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay