gotev / android-speech

Android speech recognition and text to speech made easy
http://gotev.github.io/android-speech/
Apache License 2.0
473 stars 156 forks source link

Continuous Speech Recognition #39

Closed Anshul1507 closed 3 years ago

Anshul1507 commented 4 years ago

It can be possible with your library at a minimal interval of 100ms.

PS: I make a PR related to this

gotev commented 4 years ago

Seen #37 but it's a workaround which can cause activity lifecycle leaks. You'll almost always hear the bundled in beep at regular intervals, don't you? Google Voice Search, which is the system service used by this library, isn't meant for continuous listening.

Anshul1507 commented 4 years ago

I lowered the device audio at the time of create activity and back to normal (default) when user press back, in this way i remove that regular beep.

gotev commented 4 years ago

Oh wow, that's many workarounds in a row. Are you using this in any production app?

Anshul1507 commented 4 years ago

Not in any production app, but i make one sample paragraph reading app with your library. Code Link.