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

Custom Audio Source #11

Open
Volatile-Memory opened this issue Jul 24, 2020 · 0 comments
Open

Custom Audio Source #11

Volatile-Memory opened this issue Jul 24, 2020 · 0 comments

Comments

@Volatile-Memory
Copy link

I'm developing an app for hearing aids - the aids are capable of streaming audio in the form of a low bitrate codec which I can decode into LPCM or other formats on-the-fly.

Is it possible to override one of the classes in this library -- say, SpeechRecognizer -- to provide it with my custom audio stream instead of it using the phone's default mic as the Google Assistant does?

I am willing to accept missing out on hotword detection from the hearing aid (either way, we can't run this stream on our aids indefinitely without severe battery drain), but I would want to be able to provide the speech recognizer with the audio from the hearing aids microphone once the recognizer is activated.

Does this sound possible and would it be possible able to add this functionality to this library?
Even just knowing it is possible would help me, but if it is I am willing to contribute an implementation in the form of a PR.

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