P
P
polxz2022-01-17 15:17:51
linux
polxz, 2022-01-17 15:17:51

How to use your phone as a microphone?

Hello. I used to use the Windows program "WO mic", now I switched to Linux mint, the microphone does not work on the laptop. Are there analogues for mint?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Falaleev, 2022-01-17
@polxz

If you are using pavucontrol(pulseaudio), you should do:

$ pulseaudio -k
$ killall micclient-x86_64.AppImage
$ sudo modprobe -r snd-aloop
$ sudo vi /etc/pulse/default.pa

add to default.pa:
load-module module-alsa-source device=hw:CARD=Loopback,DEV=1,SUBDEV=0
$ sudo modprobe snd-aloop
$ pulseaudio --start
$ sudo cp micclient-x86_64.AppImage /usr/bin/MicClient
$ while true; do nohup MicClient -t Wifi 192.168.1.100 > /dev/null 2>&1; sleep 1; done &

192.168.1.100 is my phone's LAN IP address, you should change it to your phone's IP address.
In pavucontrol(volume control) on the "Input Devices" tab, enable "Built-in Audio" (not "Built-in Analog Stereo Audio") as the input device.
And redirect the MicClient audio to the virtual output device, first in "pavucontrol/Input Devices" to tick "Integrated Audio" to "Set as fallback" and then:
$ pactl load-module module-loopback latency_msec=1
Now with WoMic in android and micclient-x86_64.AppImage in x64 linux, you have a set of home karaoke equipment with almost zero latency.
If you hear a lot of noise, you can try toggling "Microphone Settings WO/Audio Source" in your android phone, for example: nexus 6p should select "Microphone (Mode 2)".
To disable MicCleint audio redirection to output device:
$ pactl unload-module module-loopback
Refer: https://gist.github.com/diyism/5959444e324a1b38509...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question