Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
flinthamm opened this issue Aug 28, 2024 · 4 comments
Open

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

flinthamm opened this issue Aug 28, 2024 · 4 comments

Comments

@flinthamm
Copy link

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!

@flinthamm flinthamm changed the title Stream UDP microphone to satellite or use WSL2 Windows 11 | Stream UDP microphone to satellite or use WSL2 Aug 28, 2024
@tannisroot
Copy link
Contributor

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

@flinthamm
Copy link
Author

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
Copy link
Contributor

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@flinthamm @tannisroot @RheaAyase and others