sherpa-onnx icon indicating copy to clipboard operation
sherpa-onnx copied to clipboard

Android TTS: Some ideas for packaging tts engine and voices/models

Open domasofan opened this issue 9 months ago • 2 comments

Hi all,

Just tested the tts engine on android 14 on a phone with an 64 bit processor. I also tested tts with the talkback screenreader. It works very well and is pretty responsive for a neural tts.

Maybe i have some interesting ideas to package the voices and the tts engine. It might be a good idea to package the tts engine without the voices but include the espeak-ng-data directory so it doesn't need to be installed multiple times with the voices. I also would remove the tts app from the voices packages and just keep it in the tts engine. As well i would remove all other files and just keep the tokens file, the onnx file and maybe other needed files which are just for the individual voice.

Can multiple voices be installed? If yes it might be interesting to add a voices list to the gui of the tts engine app to set the currently used/default voice. Additionally renaming the voice packages' display name to the various models so when removing it might be easier to remove the right voices and keep the wanted ones.

What do you think about that?

I can create single issues if you want later with the ideas. This issue might be interesting for brainstorming a little bit.

Greetings, Simon

domasofan avatar May 09 '24 18:05 domasofan

First to open a new issue please search similar issues. read #569

paolo-caroni avatar May 29 '24 09:05 paolo-caroni

Hi @paolo-caroni,

👍 Sorry, haven't seen that one.

Greetings, Simon

domasofan avatar May 29 '24 18:05 domasofan