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

How to use VAD just for flags (start/stop mic operations) #6

Open
Karam000 opened this issue Oct 23, 2024 · 0 comments
Open

How to use VAD just for flags (start/stop mic operations) #6

Karam000 opened this issue Oct 23, 2024 · 0 comments

Comments

@Karam000
Copy link

Hello

Thanks a lot for your amazing VAD solution. I'm facing a use case where I need to use VAD just for flags of active/inactive user speaking states.

I need to use the VoiceIsActive flag just to fire my logic, which includes usage of microphone and a custom audio chunking algorithm, and then do sth else when VoiceIsActive is false.

To give you a more accurate description, my use case is that I use an online speech recognition service which takes as input the user spoken audio chunked into little pieces for processing.

The problem is that VAD kinda "locks" the use of mic, in the sense that it needs to be working all the time to function properly.
But I need to have control over the audio recording logic so I can chunk it in the way I like, and then stop recording when VAD VoiceIsActive is false.

Hope I made my explanation clear.

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

1 participant