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

Does not load voices in p5.js editor #3

Open
thomasfredericks opened this issue Oct 3, 2016 · 3 comments
Open

Does not load voices in p5.js editor #3

thomasfredericks opened this issue Oct 3, 2016 · 3 comments

Comments

@thomasfredericks
Copy link

I get the following error when executing listVoices() in the p5.js editor :
"p5.Speech: voices not loaded yet!"

@Rozanova
Copy link

I'm having the same issue. Will post something if I figure it out

@rev3rend
Copy link
Contributor

rev3rend commented Oct 15, 2017 via email

@Thue
Copy link

Thue commented Nov 23, 2017

It seems that onvoiceschanged is not currently supported in Firefox, according to https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis/onvoiceschanged : "Note that Firefox doesn't support it at present," . They recommend doing

populateVoiceList();
if (speechSynthesis.onvoiceschanged !== undefined) {
speechSynthesis.onvoiceschanged = populateVoiceList;
}

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

4 participants