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

AI voice and language preference #144

Open
manfromcott opened this issue Jun 24, 2023 · 3 comments
Open

AI voice and language preference #144

manfromcott opened this issue Jun 24, 2023 · 3 comments

Comments

@manfromcott
Copy link

The setting for AI voice and language works fine, but reverts to the default in a new session. All the other preferences work fine

@C-Nedelcu
Copy link
Owner

hello,
could you offer more details about this ?
the settings are saved in a cookie -
image

if you could maybe paste the contents of the cookie I could perhaps help ?

I haven't had issues personally. How about maybe clearing your cookies altogether?
Does it help if you change some specific values ? try using a language you wouldn't normally use, or a voice you wouldn't normally use, something like that, and see if it sticks?

@manfromcott
Copy link
Author

manfromcott commented Jun 27, 2023 via email

@spiki12345
Copy link

spiki12345 commented Jun 27, 2023

@C-Nedelcu
I solved it by directly checking the variable "CN_WANTED_VOICE_NAME" outside the "onvoiceschanged" event, removing the following lines:
944 - window.speechSynthesis.onvoiceschanged = function () {
and
964 - }
So, the cookie is read, but it was never reaching the verification of the variable "CN_WANTED_VOICE_NAME."

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

3 participants