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

Add language #34

Open
Markohui opened this issue Jul 15, 2020 · 1 comment
Open

Add language #34

Markohui opened this issue Jul 15, 2020 · 1 comment

Comments

@Markohui
Copy link

Hi, can you provide little help on how to set up new language to voice?

@MikeyParton
Copy link
Owner

I'm not sure what you mean by set up a new language, but the useSpeechSynthesis hook returns an array of voices that are available in the browser. You can then pass this as an argument when you call the speak function. For an example see https://github.com/MikeyParton/react-speech-kit/blob/master/examples/src/useSpeechSynthesis.jsx.

Is this what you are after?

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