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

Correct differentiation between local and cloud voices #1176

Merged

Conversation

RodriSanchez1
Copy link
Collaborator

@RodriSanchez1 RodriSanchez1 commented Apr 11, 2022

In this pr the classification of online and local voices has been corrected.
We get the localService property to differentiate if the voice is installed on the device or not.
As issue #1052 indicates, we were treating the voices provided by the browser as local, when in fact they were online.
For android, the cboard-speech-tts plugin has been modified to obtain the feature property that tells us if the voice provided by android.tts.speech is installed on the device. In order to test this update in cordova, first you have to delete the cboard-speech-tts plugin and modify the package.json and package-lock.json files by changing the path of said plugin to "cboard-speech-tts": "github:RodriSanchez1/cboard-speech-tts#fix/localVoices " on ccboard repository.

close #1052

@RodriSanchez1 RodriSanchez1 reopened this Jun 8, 2022
@RodriSanchez1 RodriSanchez1 marked this pull request as draft June 8, 2022 14:59
@martinbedouret martinbedouret marked this pull request as ready for review December 27, 2022 22:10
@martinbedouret martinbedouret merged commit b5ef1d3 into cboard-org:master Dec 27, 2022
@martinbedouret martinbedouret added this to the 1.25.0 milestone Dec 27, 2022
RodriSanchez1 pushed a commit that referenced this pull request Dec 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Browser online Voices are not detected like 'online'
2 participants