It is an program which recieves audio form a device (Android running AudioSender) in local network and helps to use it as microphone. I created this because my microphone broke. It is for Linux + pipewire
Turns a PipeWire null-sink + remap-source into a persistent "Virtual Microphone" input device, and provides a wrapper to route an audio receiver's output into it instead of your real speakers.
chmod +x *.sh
./install.shThis:
- Installs
virtmic-load.sh/virtmic-unload.shto~/.local/bin - Installs
virtmic.serviceto~/.config/systemd/user - Enables and starts the service, so the virtual mic exists at every login
Safe to run again later — the loader checks for existing modules before creating new ones, so it won't create duplicate "Virtual Microphone" entries.
./run_ipmic.sh /path/to/your/receiver-binaryThis sets PIPEWIRE_NODE=virtmic-sink so the receiver's output goes
straight to the virtual mic sink, not your default speakers — no need to
manually pw-link anything.
In Discord / your game's voice settings, select Virtual Microphone as the input device.
pactl list short sinks | grep virtmic # should show virtmic-sink
pactl list short sources | grep virtmic # should show virtmic
pw-link -l | grep -A1 ipmic # confirm links go only to virtmic-sinkIf you ever see two "Virtual Microphone Sink" entries, something loaded
the modules outside of virtmic.service (e.g. running virtmic-load.sh
manually alongside the service, or an old config). Clean up with:
systemctl --user stop virtmic.service
pactl list short modules | grep -E "null-sink|remap-source" | awk '{print $1}' | xargs -r -n1 pactl unload-module
systemctl --user start virtmic.service