rhasspy / wyoming-satellite

Remote voice satellite using Wyoming protocol
MIT License
716 stars 105 forks source link

Windows 11 | Stream UDP microphone to satellite or use WSL2 #213

Open flinthamm opened 3 months ago

flinthamm commented 3 months ago

First off... a massive shout out to all the contributors (but especially @synesthesiam) for Rhasspy and all the amazing work going into offline line voice recognition - Thank you - I watch with interest;

Getting straight to the point, I'm looking for the best way to get this project working from Docker but on the Windows 11 (23H2) O.S.. After much trial and error, I've successfully managed to stream the microphone (via UDP) to Rhasspy (running in Docker) and can get wake word and recognition which is great.

I'm now keen to keep up with the latest advances and hence the desire to use this more active project. I've been struggling to understand how to do the same, as all examples and the project in general is of course all aimed towards Linux. Unfortunately, I need to get this working with Windows, so I'm hoping someone maybe able to guide me in the right direction.

The latest WSL2 looked very promising together with Windows 11 but I'm unsure how to adapt the docker container or aplay/arecord commands to support it. See Playing sound in Docker container on WSL in Windows 11, as unmodified attempts have failed as there is no sound card device.

This post "Can we use this project on macbook directly" gave me hope and consequently my latest thoughts, as a last alternative, are to run the program natively but before doing this, I was really hoping there was a solution using Docker and hence this post.

Keep up this amazing work and hopefully somewhere down the line, I'll be able to contribute something - even if only guides or research!

tannisroot commented 2 months ago

If you can create an ALSA device inside the container it can work with anything

flinthamm commented 2 months ago

Hi @tannisroot, appreciate the comment. The trouble is I've not found any evidence to suggest this can work with Docker/Podman in Windows. Do you by chance have any pointers or experience of this setup working yourself?

tannisroot commented 2 months ago

No, I've stopped using Windows as my main OS ages ago, sorry. But based on a quick google search, I would look into WSL2 + USB Passthrough, with the microphone being a USB one

RheaAyase commented 2 weeks ago

I'm also surprised to see that there isn't any sort of Windows support. We're talking about HOME assistant features here - it's unlikely that the whole household runs on Linux.