k2-fsa / sherpa-onnx

Speech-to-text, text-to-speech, speaker recognition, and VAD using next-gen Kaldi with onnxruntime without Internet connection. Support embedded systems, Android, iOS, Raspberry Pi, RISC-V, x86_64 servers, websocket server/client, C/C++, Python, Kotlin, C#, Go, NodeJS, Java, Swift, Dart, JavaScript, Flutter, Object Pascal, Lazarus, Rust
https://k2-fsa.github.io/sherpa/onnx/index.html
Apache License 2.0
3.11k stars 359 forks source link

Crash on TTS Android settings #948

Open malnvenshorn opened 3 months ago

malnvenshorn commented 3 months ago

Hi, I cannot select the downloaded engine in the Android settings, because it crashes every time. I've already read #528, but it doesn't matter if the app is closed or still running in the background. The TTS test within the app is working fine. I just cannot use the engine with other apps.

csukuangfj commented 3 months ago

please tell us which version you are using.

malnvenshorn commented 3 months ago

I've downloaded sherpa-onnx-1.9.25-arm64-v8a-de-tts-engine-vits-piper-de_DE-thorsten-medium.apk

malnvenshorn commented 3 months ago

Found a workaround for now:

  1. Uninstalled sherpa-onnx
  2. Installed an other TTS engine, eSpeak
  3. Set up eSpeak as TTS engine in the Android settings
  4. Reinstalled sherpa-onnx

After that I was able to change the TTS engine to sherpa-onnx.