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

Feature request: SpeechRecognition pause/resume #92

Open
stevedekorte opened this issue Mar 15, 2021 · 2 comments
Open

Feature request: SpeechRecognition pause/resume #92

stevedekorte opened this issue Mar 15, 2021 · 2 comments

Comments

@stevedekorte
Copy link

When using the speech APIs for interactive conversations, the SpeechRecognition API will hear the SpeechSynthesis responses and confuse them with user microphone input. I'd suggest adding pause() and resume() methods to SpeechRecognition so speech input can be disabled during speech output. The SpeechRecognition stop() API doesn't solve this problem as the SpeechRecognition instance is not reusable and starting another SpeechRecognition instance requires the user to again approve microphone input which makes user the interface too burdensome to be useful for many (most?) applications.

@stevedekorte
Copy link
Author

stevedekorte commented Mar 15, 2021

FTM, I'm on MacOSX 11.2.3 (20D91) using Chrome 89.0.4389.82 (Official Build) (x86_64)

@tomuench
Copy link

tomuench commented Apr 8, 2021

I like your idea steve. Had the same problem in my project and have solved it with the workaround stop. It's just a workaround and it would be better to have pause and resume.

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