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

[Request] Please make it run on Android #103

Open
evadecvs opened this issue Jun 10, 2023 · 8 comments
Open

[Request] Please make it run on Android #103

evadecvs opened this issue Jun 10, 2023 · 8 comments

Comments

@evadecvs
Copy link

Thank you very much for making the program that I was looking for for a long time, but I'm having trouble running it on Android, please make a version so that it can be compiled into one so that there are no separate library files and it's easy to use on many devices, especially Android

@synesthesiam
Copy link
Contributor

I won't have time to get this working, but if someone else is interested they will need to get piper-phonemize compiled for Android. This will involve compiling an espeak-ng fork and building the onnxruntime for Android.

@SchweitzerGAO
Copy link

@evadecvs You can refer to this project https://github.com/SchweitzerGAO/espeak-ng-android. Hope it will be helpful

@robertfernanV
Copy link

@evadecvs You can refer to this project https://github.com/SchweitzerGAO/espeak-ng-android. Hope it will be helpful
But only with this can run it in android studio?

@csukuangfj
Copy link

@evadecvs

Please have a look at #257

There are pre-built APKs containing piper models. You can install and run them on your phone for TTS without
Internet connection.

@jame25
Copy link

jame25 commented Nov 13, 2023

Would it be possible to have piper models be selected as the system default TTS voice on Android phones?

@csukuangfj
Copy link

csukuangfj commented Nov 14, 2023

Would it be possible to have piper models be selected as the system default TTS voice on Android phones?

I am afraid you cannot do that with sherpa-onnx, though sherpa-onnx provides kotlin APIs for running TTS locally without Internet connecton.

EDITED: Please see the comment below.

@gabmert
Copy link

gabmert commented Aug 23, 2024

Shouldn't this be possible now with https://k2-fsa.github.io/sherpa/onnx/tts/apk-engine.html from https://github.com/k2-fsa/sherpa-onnx ?

@wassname
Copy link

wassname commented Sep 6, 2024

It is! I've happily used it as an android with TTS for months.

For anyone not sure where to start, just install the "piper-en_GB-cori-medium.apk" from https://k2-fsa.github.io/sherpa/onnx/tts/apk-engine.html, and select it as your TTS engine

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

8 participants