react-speech-kit
react-speech-kit copied to clipboard
Add language
Hi, can you provide little help on how to set up new language to voice?
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?