Official guide for PulseAudio: https://docs.audiorelay.net/instructions/linux/use-your-phone-as-a-mic-for-a-linux-pc
From: https://audiorelay.net/downloads/linux
Deb on debian or ubuntu, archive for others.
On arch you run:
sudo pacman -S pipewire-pulseDebian based: apt install pipewire-pulse
mkdir -p ~/.config/pipewire/pipewire-pulse.conf.d
nano ~/.config/pipewire/pipewire-pulse.conf.d/audiorelay.confNote you can also go to
~/.config/pipewire/pipewire-pulse.conf.dand editaudiorelay.confwith a graphical text editor
Add the following:
pulse.cmd = [
{ cmd = "load-module" args = "module-null-sink sink_name=audiorelay-virtual-mic-sink sink_properties=device.description=Virtual-Mic-Sink" flags = [ ] },
{ cmd = "load-module" args = "module-remap-source master=audiorelay-virtual-mic-sink.monitor source_name=audiorelay-virtual-mic-sink source_properties=device.description=Virtual-Mic" flags = [ ] }
]These are the same commands from the official guide but adjusted for
pipewire-pulse, you can check for yourself in the first link.
Save the file and exit.
This is needed to load the virtual device
systemctl --user restart pipewire-pulseList pipewire/pulseaudio modules to see if it's there
pactl list modules shortNow just launch Audiorelay, select the newly created Audio Device in the dropdown to the left. Then select the same device in your sound settings as the input device to use it as a mic. you can use a website or discord to test if it's working. (See official pulseaudio guide for screenshots)
Thank you man! Worked for me.