Skip to content
CowGivesMilkPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

ipmic

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

virtmic-setup

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.

Setup (once per user)

chmod +x *.sh
./install.sh

This:

  • Installs virtmic-load.sh / virtmic-unload.sh to ~/.local/bin
  • Installs virtmic.service to ~/.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.

Running your audio receiver

./run_ipmic.sh /path/to/your/receiver-binary

This 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.

Using it

In Discord / your game's voice settings, select Virtual Microphone as the input device.

Verifying / troubleshooting

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-sink

If 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

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages