Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get microphone working on WSL Ubuntu 20..04

I'm a windows user trying to create a shazam-like app in python with WSL Ubuntu. The app worked perfectly fine. But when I wanted to test the app whether it can detect the songs I'm playing from my phone, It can't. I think it's because WSL can't get the microphone.

Can somebody help me with this? Thanks!

like image 555
Wei Avatar asked Oct 24 '25 05:10

Wei


1 Answers

Check out https://github.com/dorssel/usbipd-win, it's a library you can install in Windows to share your devices with WSL. By default they aren't shared.

like image 187
Artem Avatar answered Oct 25 '25 18:10

Artem



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!