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

Using Two Microphones for Speaker Transcription #1650

Open
expashka opened this issue Oct 29, 2024 · 1 comment
Open

Using Two Microphones for Speaker Transcription #1650

expashka opened this issue Oct 29, 2024 · 1 comment

Comments

@expashka
Copy link

Hello,

I am currently working on a project that involves real-time transcription of conversations using the Vosk speech recognition system. I would like to inquire about the possibility of utilizing two different microphones for transcribing Speaker 1 and Speaker 2.

Background
In my setup, I have two different microphones connected to my machine:

Audio Card 1
Audio Card 2

The goal is to capture audio from each microphone separately and transcribe it in real-time, distinguishing between the two speakers. However, I am facing challenges in configuring the Vosk API to handle multiple audio input devices simultaneously.

Questions
Is there support in the Vosk API for handling multiple input devices at the same time?
What are the recommended practices for implementing this feature?
Are there any examples or documentation that outline how to set up two separate audio streams for different microphones?
Any guidance or insights on this issue would be greatly appreciated!

Thank you for your time.

@nshmyrev
Copy link
Collaborator

You just process two streams in two threads. You can try to write the code yourself first.

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

No branches or pull requests

2 participants