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

Android: speech recognition does not work when using Espeak-ng as the default text to speech engine #1861

Open
hozosch opened this issue Jan 28, 2024 · 7 comments

Comments

@hozosch
Copy link
Contributor

hozosch commented Jan 28, 2024

when using espeak as the default text to speech engine on android, speech recognition does not work. By that, I mean when I, for example, want to dictate something using the Gboard Keyboard.

  1. Open an application with a text field, such as a messenger App like WhatsApp, to type a message.
  2. Hit "Voice input" or whatever it's called in English. I only know the German labels.
  3. You will hear that the tone indicating that voice input has started keeps replaying, meaning that it starts over and over. This does not happen with other speech synthesizers like google tts and also shouldn't be the case for Espeak-ng. I hope there is a fix for it.
@beqabeqa473
Copy link
Contributor

beqabeqa473 commented Jan 29, 2024 via email

@hozosch
Copy link
Contributor Author

hozosch commented Jan 29, 2024

My preferred screen reader of choice is Talk Back, which is therefore what I'm using.

@beqabeqa473
Copy link
Contributor

Ok, thanks, i understand. I asked, because nowadays people are experiencing problems with voice input with jieshuo.

@hozosch
Copy link
Contributor Author

hozosch commented Jan 29, 2024

Oh, that's interesting. I wondered if the situation may have been different with commentary, since it seems to be better in some ways compared to Talk Back. I still continue hanging on to Talk back for now though. It works well on my Xiaomi a2.

@hozosch
Copy link
Contributor Author

hozosch commented Jan 29, 2024

One of my friends can also reproduce it on his google pixel. So this is not something specific to a certain phone or Android version.

@alex19EP
Copy link
Member

yep I reproduced this using tb on pixel 8 pro.

@beqabeqa473 I think this has something to do with the fact that we either use old apis to output sound to Android or somehow close the stream incorrectly.

If you can look at this problem, I will be grateful.

@beqabeqa473
Copy link
Contributor

beqabeqa473 commented Jan 29, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants