Install WO Mic cient
Currently we only support x86 64-bits architecture. Download micclient-x86_64.AppImage, then change it to be executable
$ chmod +x micclient-x86_64.AppImage
WO Mic Client Operations
- Load aloop module. The module shall form a full-duplex loopback soundcard.
$ sudo modprobe snd-aloop
- Connect from client.
Run below commands to connect. WO Mic client shall write audio data into loopback device. If you meet glitches, please try to run the program as root so that its scheduling can be more aggressive.
-
Conenct by Wifi. You can find the IP address on WO Mic app UI.
$ ./micclient-x86_64.AppImage -t Wifi 192.168.1.100
- Connect by Bluetooth. xx:xx:xx:xx:xx:xx represents phone Bluetooth address. You can query it on your phone:
Settings -> About phone -> Status -> Bluetooth address.
$ ./micclient-x86_64.AppImage -t Bluetooth xx:xx:xx:xx:xx:xx
-
Conenct by Wifi. You can find the IP address on WO Mic app UI.
- Now third party program can make use of captured data through loopback device. One example:
$ arecord -c 1 -r 48000 -f S16_LE -D "hw:CARD=Loopback,DEV=1,SUBDEV=0" foo.wav