Closed x-legion closed 4 months ago
not sure if Android TTS works on all platforms and im not really interested in implementing too much platform specific code. But ill look into it
would be nice, I would love to use it with sherpa-onnx
I can use https://pub.dev/packages/flutter_tts and it will be ok for all platforms (excluding linux maybe) but to be perfectly honest im kind of waiting for there so be a decent open source alternative to something like eleven labs that i can implement
I can use https://pub.dev/packages/flutter_tts and it will be ok for all platforms (excluding linux maybe) but to be perfectly honest im kind of waiting for there so be a decent open source alternative to something like eleven labs that i can implement
I use this app primarily on Android only. Windows and Linux have better alternatives to this. Maybe you can fork some code from here for Android. https://github.com/jing332/tts-server-android
This would be a cool feature. Being able to speak in the keyboard (in the android app) is great, but having the app speak back would be killer.
openai's speech api, or microsoft's edge-tts, better than flutter_tts.
Worth noting that LocalAI supports basically all of the OpenAI API, but locally. That includes multiple models, text to speech, speech to text, image generation, and image recognition. It would make sense to use that, as a starting point. The combination of running a very small model locally on mobile + LocalAI for a more powerful model when remote PC connectivity is available would be great.
sherpa-onnx has now an official Dart client:
@davidmigloz Sounds great all integrate that for the 1.3 release
doesnt seem to have out of the box support for flutter TTS yet? only in dart and it needs me to provide my own piper binaries
I haven't tried it myself yet, but yes, it's not "out of the box", you have to manage the TTS models yourself.
@davidmigloz
Managing the models isnt a problem, its managing the binaries. It doesnt appear they have ffigen set up correctly to compile the required C++ code.
This would mean i would need to obtain the correct precompiled binaries for Android x86_64 and arm64, Linux, Windows and now MacOS x86_64 and arm64.
Then i would need to ship these precompiled binaries with maid which is something im not willing to do because its against open source and it would cause issues with f-droid.
I am still slowly working on the TTS question but yeah i need it to compile on build
ahh indeed, I see what you mean
babylon_tts is working now
Implement Android native TTS for dyslexic people. Kind of like how Google Bard is doing.