No sounds or voices #584

Open
opened 2021-06-14 18:16:10 +00:00 by tangsgod · 26 comments
tangsgod commented 2021-06-14 18:16:10 +00:00 (Migrated from github.com)

I don't have sounds and voices..
I can't turn on the sound icon neither the voice option in parameters.

Lineage OS 17.1 Android 10 Redmi Note 8
Current version: 2021.06.07

I don't have sounds and voices.. I can't turn on the sound icon neither the voice option in parameters. Lineage OS 17.1 Android 10 Redmi Note 8 Current version: 2021.06.07
biodranik commented 2021-06-14 23:31:02 +00:00 (Migrated from github.com)

Do you have a TTS engine installed? There are some instructions here: https://mapsme.zendesk.com/hc/en-us/articles/208628985-How-can-I-check-TTS-settings-on-my-Android-device-

Do you have a TTS engine installed? There are some instructions here: https://mapsme.zendesk.com/hc/en-us/articles/208628985-How-can-I-check-TTS-settings-on-my-Android-device-
tangsgod commented 2021-06-15 10:44:15 +00:00 (Migrated from github.com)

Thank you @bernikovich , the engine wasn't intalled. I did it then I can tick the sounds option.
While i can't test it now at work, i'll try it later on the road back home.

Thank you @bernikovich , the engine wasn't intalled. I did it then I can tick the sounds option. While i can't test it now at work, i'll try it later on the road back home.
dominikstrb commented 2021-07-19 21:26:23 +00:00 (Migrated from github.com)

I'll just post to this issue because I have a similar problem. I have TTS installed (https://f-droid.org/packages/com.github.olga_yakovleva.rhvoice.android) and it is working in the system settings but not in Organic Maps. I can enable and disable TTS in the app's settings, but when I start a navigation, it stays silent.

I'll just post to this issue because I have a similar problem. I have TTS installed (https://f-droid.org/packages/com.github.olga_yakovleva.rhvoice.android) and it is working in the system settings but not in Organic Maps. I can enable and disable TTS in the app's settings, but when I start a navigation, it stays silent.
biodranik commented 2021-07-19 23:19:52 +00:00 (Migrated from github.com)

@dominikstrb please share adb logcat logs after enabling TTS in the app's settings and restarting the app.

@dominikstrb please share `adb logcat` logs after enabling TTS in the app's settings and restarting the app.
dominikstrb commented 2021-07-20 11:30:46 +00:00 (Migrated from github.com)

Hi @biodranik, here is my log. Thanks! If there is anything else I can do, please let me know.

Hi @biodranik, here is my [log](https://github.com/organicmaps/organicmaps/files/6847861/log.txt). Thanks! If there is anything else I can do, please let me know.
biodranik commented 2021-07-20 21:53:17 +00:00 (Migrated from github.com)

What is your device's locale? I see that TTS languages are not detected by our code for some reason. Either we didn't query it properly, or the package is missing something for proper integration.

What is your device's locale? I see that TTS languages are not detected by our code for some reason. Either we didn't query it properly, or the package is missing something for proper integration.
dominikstrb commented 2021-07-21 08:25:34 +00:00 (Migrated from github.com)

My language is set to English (US).

My language is set to English (US).
biodranik commented 2021-07-21 20:34:37 +00:00 (Migrated from github.com)

Does it work in some other TTS apps, excluding system settings?

Does it work in some other TTS apps, excluding system settings?
dominikstrb commented 2021-07-21 20:41:48 +00:00 (Migrated from github.com)

Yes, it works for example in Osmand.

Yes, it works for example in Osmand.
biodranik commented 2021-07-21 20:51:14 +00:00 (Migrated from github.com)

@rtsisyk Looks like the current code has some bug that doesn't allow to detect TTS properly on Android side. Can you please take a look? Maybe it's locale-related.

@rtsisyk Looks like the current code has some bug that doesn't allow to detect TTS properly on Android side. Can you please take a look? Maybe it's locale-related.
Endem10n commented 2021-07-21 21:12:02 +00:00 (Migrated from github.com)

@dominikstrb could you, please, also clarify Android version and device model?

@dominikstrb could you, please, also clarify Android version and device model?
dominikstrb commented 2021-07-21 21:31:33 +00:00 (Migrated from github.com)

I'm using Android 11 (CalyxOS 2.7.1) on a Google Pixel 4a.

I'm using Android 11 (CalyxOS 2.7.1) on a Google Pixel 4a.
duplexsystem commented 2021-10-10 22:28:52 +00:00 (Migrated from github.com)

I'm having the same issue

I'm having the same issue
biodranik commented 2021-10-11 07:28:05 +00:00 (Migrated from github.com)

I'm having the same issue

OS/Device?

> I'm having the same issue OS/Device?
duplexsystem commented 2021-10-14 04:12:15 +00:00 (Migrated from github.com)

Lineage OS MicroG pixel 4a

Lineage OS MicroG pixel 4a
duplexsystem commented 2021-10-14 04:12:40 +00:00 (Migrated from github.com)

Also i have rhvoice installed

Also i have rhvoice installed
biodranik commented 2022-01-21 16:34:49 +00:00 (Migrated from github.com)

Looks like there is a bug: if system TTS settings were changed, OM doesn't get these changes without a restart. So please relaunch the app after any TTS system modifications.

Looks like there is a bug: if system TTS settings were changed, OM doesn't get these changes without a restart. So please relaunch the app after any TTS system modifications.
PetbkA commented 2022-04-29 05:26:29 +00:00 (Migrated from github.com)

Same here:
OS: LineageOS 19 (Android 12)
OM: 2022.03.23-4-Google
TTS Engines:

  1. Google googletts.google-speech-apk_20220321.02_p1.436777630
  2. RHVoice 1.8.0 with Russian voice (Anna 4.1.2.10) installed.

Behavior is:

  1. If system language is set to English, no TTS Engines are seen in OM, although they are seen in OS Settings;
  2. Trying to enable voice instructions in this state only change switch to On, but only text changes, not the switch state;
  3. If I'll change OS language to Russian, I can enable voice instructions in OM;
  4. Luckily changing OS language back to English doesn't disable instructions in OM, so step 3 is a workaround.

Here's the logs for 1 and 2.

Same here: **OS**: LineageOS 19 (Android 12) **OM**: 2022.03.23-4-Google **TTS Engines:** 1. [Google](https://play.google.com/store/apps/details?id=com.google.android.tts&hl=en&gl=US) googletts.google-speech-apk_20220321.02_p1.436777630 2. [RHVoice](https://f-droid.org/packages/com.github.olga_yakovleva.rhvoice.android/) 1.8.0 with Russian voice (Anna 4.1.2.10) installed. **Behavior is:** 1. If system language is set to English, no TTS Engines are [seen](https://user-images.githubusercontent.com/22843816/165888805-528def32-97b7-438f-ade9-d2309181310c.jpg) in OM, although they [are seen](https://user-images.githubusercontent.com/22843816/165888859-8a946c31-da3d-4157-ba26-5b1fe2ae4e37.jpg) in OS Settings; 2. Trying to enable voice instructions in this state only change switch to On, but only text changes, [not the switch state](https://user-images.githubusercontent.com/22843816/165888978-46b79590-b4fd-449e-aefc-303eb9c5f350.jpg); 3. If I'll change OS language to Russian, I [can enable](https://user-images.githubusercontent.com/22843816/165889036-82207dbb-4bf5-46c6-af01-4a0f3ac73ad6.jpg) voice instructions in OM; 4. Luckily changing OS language back to English doesn't disable instructions in OM, so step 3 is a workaround. Here's the [logs](https://github.com/organicmaps/organicmaps/files/8588289/logs.zip) for 1 and 2.
biodranik commented 2022-04-29 14:11:54 +00:00 (Migrated from github.com)

I think the problem is related to OM's outdated code of the TTS engine API, and it doesn't work properly on modern devices.
It would be great if someone can check it.

I think the problem is related to OM's outdated code of the TTS engine API, and it doesn't work properly on modern devices. It would be great if someone can check it.
biodranik commented 2022-05-08 21:39:01 +00:00 (Migrated from github.com)

There is a workaround for RHVoice to work properly: to install ESpeak, and then restart the app.

There is a [workaround](https://github.com/RHVoice/RHVoice/issues/510#issuecomment-1073370897) for RHVoice to work properly: to install ESpeak, and then restart the app.
foss- commented 2022-05-09 09:52:42 +00:00 (Migrated from github.com)

Just another data point: LineageOS 18.1 on gauguin device: no voice output with both Google Speech Services and RHVoice installed.

Just another data point: LineageOS 18.1 on gauguin device: no voice output with both Google Speech Services and RHVoice installed.
biodranik commented 2022-05-09 21:38:50 +00:00 (Migrated from github.com)

@foss- did you try to install ESpeak and reboot the device?

@foss- did you try to install ESpeak and reboot the device?
foss- commented 2022-05-10 08:00:09 +00:00 (Migrated from github.com)

installed eSpeak (looks deprecated, there is an 8 year old version and a 1 year old version, installed the latter). Rebooted device. Selected eSpeak in System Settings > Accessibility > Text-to-speech output > Preferred engine but no dice. Should I hear voice instruction when starting a navigation or do I have to be moving? Asking because testing this from a desk. eSpeak sounds rather horrible when playing a test snippet in system settings.

Sidenote: OM > Settings > Voice Instructions > For more information please check this guide takes me to a maps.me support article. Not sure if a KB exists for OM but that should probably be adjusted.

installed eSpeak (looks deprecated, there is an 8 year old version and a 1 year old version, installed the latter). Rebooted device. Selected eSpeak in `System Settings > Accessibility > Text-to-speech output > Preferred engine` but no dice. Should I hear voice instruction when starting a navigation or do I have to be moving? Asking because testing this from a desk. eSpeak sounds rather horrible when playing a test snippet in system settings. Sidenote: `OM > Settings > Voice Instructions > For more information please check this guide` takes me to a maps.me support article. Not sure if a KB exists for OM but that should probably be adjusted.
biodranik commented 2022-05-10 19:34:27 +00:00 (Migrated from github.com)

@foss- That is a known issue, there is a work going on: https://github.com/organicmaps/website/pulls/32

Espeak version on FDroid is built in 2021.

Did you try to switch to RHVoice after installing ESpeak?

@foss- That is a known issue, there is a work going on: https://github.com/organicmaps/website/pulls/32 Espeak [version](https://f-droid.org/packages/com.reecedunn.espeak/) on FDroid is built in 2021. Did you try to switch to RHVoice after installing ESpeak?
foss- commented 2022-05-10 20:16:40 +00:00 (Migrated from github.com)

No, so tried now:

  • switch system to RHVoice as Preferred engine. When then starting a navigation, still hearing nothing.

Edit: Actually moving did the trick and tts worked as expected. Now I am unsure if this would also have worked at an earlier point in time as all testing was done without moving device.

Is ESpeak still needed due to the way tts is currently handled in OM?

Forgot to mention: audio is disrupted whenever OM announces something, but when playnig a podcast with AntennaPod 2.5.2 the audio does not return once the announcement is over. Manual interaction via headset or mobile device allow to continue podcast. Have not yet tried if music behaves identical but would assume so.
Would expect for any running audio to ideally be continued after OM annoucnement is over.

No, so tried now: - switch system to `RHVoice` as Preferred engine. When then starting a navigation, still hearing nothing. Edit: Actually moving did the trick and tts worked as expected. Now I am unsure if this would also have worked at an earlier point in time as all testing was done without moving device. Is ESpeak still needed due to the way tts is currently handled in OM? Forgot to mention: audio is disrupted whenever OM announces something, but when playnig a podcast with AntennaPod 2.5.2 the audio does not return once the announcement is over. Manual interaction via headset or mobile device allow to continue podcast. Have not yet tried if music behaves identical but would assume so. Would expect for any running audio to ideally be continued after OM annoucnement is over.
biodranik commented 2023-01-29 07:39:18 +00:00 (Migrated from github.com)

There is an interesting instruction on how to make RHVoice work:

  1. Install Organic Maps
  2. Install RHVoice
  3. Open RHVoice and install a language
  4. Enable Talkback in Settings > Accessibility
  5. Exit the tutorial and disable Talkback
  6. Settings > Accessibility > Text-to-speech output
  7. Make sure RHVoice is configured there
  8. Open Organic Maps and the setting for voice instructions can be enabled.
There is an [interesting instruction](https://discuss.grapheneos.org/d/2488-organic-maps-app-voice-instructions-are-not-available/3) on how to make RHVoice work: 1. Install Organic Maps 2. Install RHVoice 3. Open RHVoice and install a language 4. Enable Talkback in Settings > Accessibility 5. Exit the tutorial and disable Talkback 6. Settings > Accessibility > Text-to-speech output 7. Make sure RHVoice is configured there 8. Open Organic Maps and the setting for voice instructions can be enabled.
This repo is archived. You cannot comment on issues.
No labels
Accessibility
Accessibility
Address
Address
Android
Android
Android Auto
Android Auto
Android Automotive (AAOS)
Android Automotive (AAOS)
API
API
AppGallery
AppGallery
AppStore
AppStore
Battery and Performance
Battery and Performance
Blocker
Blocker
Bookmarks and Tracks
Bookmarks and Tracks
Borders
Borders
Bug
Bug
Build
Build
CarPlay
CarPlay
Classificator
Classificator
Community
Community
Core
Core
CrashReports
CrashReports
Cycling
Cycling
Desktop
Desktop
DevEx
DevEx
DevOps
DevOps
dev_sandbox
dev_sandbox
Directions
Directions
Documentation
Documentation
Downloader
Downloader
Drape
Drape
Driving
Driving
Duplicate
Duplicate
Editor
Editor
Elevation
Elevation
Enhancement
Enhancement
Epic
Epic
External Map Datasets
External Map Datasets
F-Droid
F-Droid
Fonts
Fonts
Frequently User Reported
Frequently User Reported
Fund
Fund
Generator
Generator
Good first issue
Good first issue
Google Play
Google Play
GPS
GPS
GSoC
GSoC
iCloud
iCloud
Icons
Icons
iOS
iOS
Legal
Legal
Linux Desktop
Linux Desktop
Linux packaging
Linux packaging
Linux Phone
Linux Phone
Mac OS
Mac OS
Map Data
Map Data
Metro
Metro
Navigation
Navigation
Need Feedback
Need Feedback
Night Mode
Night Mode
NLnet 2024-06-281
NLnet 2024-06-281
No Feature Parity
No Feature Parity
Opening Hours
Opening Hours
Outdoors
Outdoors
POI Info
POI Info
Privacy
Privacy
Public Transport
Public Transport
Raw Idea
Raw Idea
Refactoring
Refactoring
Regional
Regional
Regression
Regression
Releases
Releases
RoboTest
RoboTest
Route Planning
Route Planning
Routing
Routing
Ruler
Ruler
Search
Search
Security
Security
Styles
Styles
Tests
Tests
Track Recording
Track Recording
Translations
Translations
TTS
TTS
UI
UI
UX
UX
Walk Navigation
Walk Navigation
Watches
Watches
Web
Web
Wikipedia
Wikipedia
Windows
Windows
Won't fix
Won't fix
World Map
World Map
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: organicmaps/organicmaps-tmp#584
No description provided.