microg / GmsCore

Free implementation of Play Services
https://microg.org
Apache License 2.0
8.72k stars 1.74k forks source link

Google Maps navigation voice #438

Open oneacl opened 7 years ago

oneacl commented 7 years ago

Hello, I have CM13 with the latest microg installed (and this has been going on for a while). In Google Maps v6 (an older one) navigation works seems to work (possibly with PicoTTS) but since version 9 (or somewhere in between) there's no voice for navigation instructions.

I haven't tried to install GoogleTTS (I'd rather avoid that) and I was wondering if anyone else has noticed this.

Thank you.

oneacl commented 7 years ago

I installed GoogleTTS and voice navigation works now. I'm not sure if this is something that can be fixed within microg as it's likely that the Maps app insists on using GoogleTTS and fail even if PicoTTS is already installed.

Faberix commented 6 years ago

For me, PicoTTS isn't working at all. It always crashes when I try to use it. You can test for yourself by trying to listen to the example in settings. It works with GApps installed, but not with microg. Apparently, PicoTTS somehow tries uses Play Services which results in a segmentation fault. I attached the logcat that you can collect more information about it: logcat picotts.txt. Other TTS-engines work, tough. I currently use VocalizerEx2 from here. The voices are even quite good. Flite works, too. For now, this is a workaround, but of course, as a default TTS engine, PicoTTS should work.

As for the navigation, it actually shouldn't matter whether you use GoogleTTS or another engine since Android exposes a unified interface for all TTS engines. I use a Galaxy A5 2016 with Resurrection Remix.

mase76 commented 4 years ago

PicoTTS seems not to be shipped with AOSP Roms any more. The crashes could be the reason for that. The only working alternative for me now is installing GoogleTTS via apk or Aurora. I wanted to talk with Marvin about that later after his talk on KC, but I missed him. Could it in general be possible, that MicroG provides a TTS service, to get rid of all the proprietary Google stuff?