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

Audio Inputs for Windows #21

Open
renfrewcountyscanner opened this issue Nov 20, 2023 · 1 comment
Open

Audio Inputs for Windows #21

renfrewcountyscanner opened this issue Nov 20, 2023 · 1 comment

Comments

@renfrewcountyscanner
Copy link

Hi,

More of a question than anything.
Is there a way to use a different audio input in windows?

"inputDevice": "hw:1,0", I know has to be set and that is the default audio device in windows, but how can you run two instances going to two separate audio devices? Is there any way at all?

Also, for the other enhancement request to be able to feed audio files into the app via the command line or an API. I would be all for that as well.

@kdolan
Copy link
Contributor

kdolan commented Nov 20, 2023

So there is an opportunity to make the configuration file and documentation more clear. Currently, my understanding is that when using Windows the only audio device that can be accessed is the Windows DEFAULT audio device set in the input settings on windows.
This project uses the npm mic package which in turn relies upon sox.

When using Linux arecord is used which is much more flexible.

So to answer your question, you can't run two instances on windows with different inputs... BUT there is a potential work around. Windows Subsystem for Linux (WSL) is getting pretty mature and my understanding is that arecord should work in WSL2.

Regarding your request, there is a feature request open for that. Please check that out and let me know if that is along the same lines as what you are asking for. Pull requests welcome!

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

2 participants