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

Asterics Grid Voice menu (on iOS) only shows one language of three available on Accesibility Settings. #223

Closed
arasaac-dga opened this issue Jan 13, 2023 · 19 comments

Comments

@arasaac-dga
Copy link
Collaborator

On an iPad configured in Spanish, in Content Reading option inside Accessibility Settings, the system offer 3 languages for Spanish (Spain) and another three for Spanish (Mexico):  

configurar_voces_automatico_iOS_3

But in Asterics Grid, on Voice Menu you can only select one language in Spanish (Spain), Monica and one for Spanish (Mexico), Paulina:

configurar_voces_automatico_iOS_5

It could be neccesary to investigate why it shows only one and if it is or not possible to retrieve the three languages available on Accessibility options. 

klues added a commit that referenced this issue Jan 18, 2023
@klues
Copy link
Contributor

klues commented Jan 18, 2023

I now have a real iPad available for testing and found out the reason for this problem: iOS has many voices with the same name (e.g. "Eddy"). I have considered voice names to be unique and therefore discarded Eddy (es) after I've already added Eddy (en) - that's the reason some voices didn't show up for selection. I've now changed it and using the unique voiceURI for distinguising between voices.

Now there are many more voices like Eddy (es-ES) and Eddy (es-MX) - however for me they sound exaclty the same. But I think we should continue showing both since it's an error of iOS to offer two different voices which are actually the same.

Should be available for testing on grid.asterics.eu/latest/ in 10 minutes.

@arasaac-dga
Copy link
Collaborator Author

We have checked and if you set Spanish as content language only 2 voices are shown (one in ES-es Monica and antother ES-mx Paulina). So in Spanish is not solved.

configurar_voces_automatico_iOS_5

iOS in Accesibility options offer 3 voices for ES-ES and 3 for ES-MX

configurar_voces_automatico_iOS_3

@klues
Copy link
Contributor

klues commented Jan 18, 2023

OK, for me it seems that there are much more voices available in the iOS settings:
image

This is what the settings in AsTeRICS Grid look like for me now:
image

Most of the voices available seem to come from "Eloquence" in the iOS settings menu, where these voices are listed.
However the voice I've selected in iOS settings ("Carlos") also isn't shown in AsTeRICS Grid. But it's also not shown on any other web speech API demo page like this: https://eeejay.github.io/webspeechdemos/
So I'm afraid that for whatever reason Apple decided to make some voices available via Web Speech API and some not.

@arasaac-dga
Copy link
Collaborator Author

Perhaps we have different iOS versions? Our iPad is old (5 years ago). Perhaps it's the reason why we only have 3 voices and only ES-ES and ES-MX. Or perhaps is because we have the iOS on Spanish. We don't know the reason but as you see in screenshots we dont have so many voices avaiable. Where is the path you floow to see all the voices avaiable? Attach some screenshots in English. We will try to change the language to English and follow the steps to try and we tell you our iOS version. Thanks.

@klues
Copy link
Contributor

klues commented Jan 18, 2023

We have an iPad Pro 12,9 inch, 3rd generation, with iOS 16. Maybe it's because it's the "pro" version.

I've switched my language to Spanish and this is the path in iOS settings to get to the voices (but I think it's the same you're using):
Accesibilidad -> Contenido leido -> Voces -> Español

@klues
Copy link
Contributor

klues commented Jan 18, 2023

In an email you've commented:

We have found an intermediate solution, fixing as predefined the male voice (for example Jorge) and set the voice as Automatic in Asterics Grid but it's a complex solution to users.

This isn't working for me, "automatic" just uses the first language of the list.
However I've found another iOS bug, sometimes the voice says something like "speak - voice name apple eloquence ... " and only then the text it should speak. So for me it seems like Apple's implementation is quite buggy.

@klues
Copy link
Contributor

klues commented Jan 18, 2023

I've posted the behaviour of missing voices at the Apple Developer forum. It's currently being reviewed and then should be available at this link: https://developer.apple.com/forums/thread/723503

Let's see if I get an answer.

@arasaac-dga
Copy link
Collaborator Author

Chapter 2. We had an Ipad Pro 9.5 with iOS 15.6. We have uploaded it to iOS 16. The result is, as you comment, that they have added new voices for different Spanish dialects and now is available the new "Eloquence" voice that offer different voices that are really really awful and with very poor quality. So, the new feature that you have added in latest, shows the new "Eloquence" voices but they are so poor that it's better to come back to the main version solution and offer only one per language. As a collateral effect, the trick that we use for setting the voice in Automatic (using the voice predefined in Accessibility) is lost. It worked with iOS 15 but not with iOS 16. So, we have lost more than we won with system updates. Hopefully, Apple responds to you and can reorientate this, because it's a pity not to have access to all the available voices through the API.

@klues
Copy link
Contributor

klues commented Jan 19, 2023

Oh, that's really embarrassing that updating to a new version takes away functionality 😞
Unfortunately it seems to be intended by Apple, this is their answer:

Hey there, it is expected that with Web Speech APIs only the pre-installed voices are available. Optionally downloadable voices are not available

@arasaac-dga
Copy link
Collaborator Author

Can you come back in the the update you made yesterday in latest to restore the list of voices as is in manin version? The new "Eloquence" voices is better that are not show in the list because are awful. About Apple response they not clarify why Web Speech API only show one voice and not all pre-installed. Because in case of Spanish Jorge that is preinstalalled is not shown in the list of Asterics. Not working the trick of Automatic selection it would be neccesary that all pre-installed voices (3 in Spanish, Jorge, Monica,...) are listed. It's really a problem because users need one male voice at least to choose.

@klues
Copy link
Contributor

klues commented Jan 19, 2023

I've commented to Apple that it's embarrassing that the iOS 16 update takes away some functionalities from the user and also that preinstalled voices like "Jorge" are not listed.

Of course I could revert the update of AsTeRICS Grid, but it would mean that I'm restoring a bug, which isn't what I really want to do. Just because the voices aren't good, I don't think they should be removed, I think the users should be able to decide what they want to use. However if you really think that it's best to remove the voices, I maybe would only filter out the spanish "Eloquence" voices, not all. Maybe for some other language these voices are better or the only offline alternative?! I also could just sort the voices and display the "Eloquence" voices at the bottom.

@arasaac-dga
Copy link
Collaborator Author

Ok thanks for commenting on it to Apple.
We understand that you comment to not to come back. Really it's not your problem and you make much more than Apple does. The main problem is not only the low quality of "Eloquence" voice but, above all, lose the possibility to use the Automatic option that on iOS 15 offers a good solution. So, leave as is at the moment and we wait for Apple's response. We thought about leaving as the last option or other solution. We will comment. Thanks as always!!!

@arasaac-dga
Copy link
Collaborator Author

We have tested un other languages like English and some voces luke bubbles or lsughing are a joke (but ver sadly). So please leave Eloquence voices at the end of the list in you can. Anyway we are stunning about this new voices. We don't understand coming from Apple but it's their problem. Thanks

klues added a commit that referenced this issue Jan 20, 2023
@klues
Copy link
Contributor

klues commented Jan 20, 2023

I've just updated to https://grid.asterics.eu/latest

  • voices with URI com.apple.speech.synthesis.voice.* are filtered out and not displayed (Apple's joke voices)
  • local voices (offline) are in general sorted to the top and it's now displayed if a voice is online or offline
  • voices containing com.apple.eloquence are sorted back - less quality

I think this should be a good solution.

@arasaac-dga
Copy link
Collaborator Author

Ok, thanks. It's the best solution at the moment. We hope Apple gives a solution and it's possible to have access to all the other voices via Web Speech API (including Jorge or Monica) or recover the option to select them via Automatic selection on Asterics.

@klues
Copy link
Contributor

klues commented Feb 10, 2023

@klues klues closed this as completed Feb 10, 2023
@klues
Copy link
Contributor

klues commented Sep 21, 2023

I've just updated to iOS 17 and it looks like something has changed. For each language I now can select at least one higher quality voice, for German Anna and for Spanish (ES) Mónica and (MX) Paulina. Additionally I've noticed that in Safari only these higher quality voices are available now, while in Chrome also the voices with bad quality are still available (e.g. Eddy, Flo, Grandma, etc.).

So in total I think a very positive change. However of course it would be still better if we would have all voices that are listed in the system settings.

@arasaac-dga
Copy link
Collaborator Author

arasaac-dga commented Sep 21, 2023

Yes. They are good news but not completely because at least in spanish we have a problem. There are no male voices and many users don't identify with female ones. We don't know how Apple doesn't consider something so basic as it's to offer almost one male and one female quality voice.

@klues
Copy link
Contributor

klues commented Sep 22, 2023

Yes, it's the same in German, there is only female Anna.

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

2 participants