-
Notifications
You must be signed in to change notification settings - Fork 524
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
Is it possible to disable speech recognition ending automatically? #107
Comments
@zhish3n I also want the same kind of stuff. |
@devblucursor I believe it is possible by setting the EXTRA_SPEECH_INPUT_COMPLETE_SILENCE_LENGTH_MILLIS constant, which you can read about here. However, my experiments seem to indicate that setting this constant will not have any effect on API < 8. |
@zhish3n Thanks! Man :) |
I have been looking for a solution for this issue as well, but so far without any luck... It seems that this issue is not related to this module, but the issue lies with android itself. Not sure if there is any fix out there. Have thought about creating a method which would automatically trigger recording again if android stops it, but haven't been successful with that one yet either. |
I really need it too =( |
we can expose this option on javascript side we gonna accept a PR that solves this |
are there any news on this feature? |
nu? |
any update?? |
@zhish3n Did your solved your problem? |
would love to see any solutions anyone has found |
+1 |
I chose to check it every half second and just refresh if it has ended: async checkRecognition() {
await Voice.isRecognizing().then(result => {
if (result != 1) {
Voice.start('en-US')
} else {
return true
}
})
} |
try my logic ...
onSpeechEnd = (e) => {
onSpeechEnd = (e) => { _startRecognizing = () => { _stopRecognizing = () => { |
onSpeechPartialResults = (e) => { onSpeechEnd = (e) => {
good luck ;) |
any legit way to stop voice recognition to NOT stop by itself? |
@krigame Have you found a solution to this !? |
Hey guys, please any update about this ? |
Hello @everyone, If anyone have found a solution, then please respond here, as so many people have been waiting for a solution like this. |
Any solution yet? |
I would like to use the module for longer phrases and perhaps even paragraphs, but the module automatically stops when there is a short pause detected. Any way to disable this and only stop recognition when the user presses a button?
The text was updated successfully, but these errors were encountered: