C-Nedelcu / talk-to-chatgpt

Talk to ChatGPT AI using your voice and listen to its answers through a voice
GNU Affero General Public License v3.0
1.97k stars 331 forks source link

Ukrainian speech synthesis #27

Closed Nevernighty closed 1 year ago

Nevernighty commented 1 year ago

I have found only instructions on how to add speech recognition in the extension code, but couldn't find where it pulls the speech synthesis besides voice.lang stuff. Can you add Ukrainian as a TTS? ChatGPT can talk it, and google has the TTS for Ukrainian existing...

C-Nedelcu commented 1 year ago

Hello do you see Ukrainian in this demo? https://zolomohan.com/text-to-speech/ This is a demo of the standard Google Chrome API text to speech functionality. That's where the voices come from. If Ukrainian isn't in the dropdown list, then I simply cannot make it happen.

Nevernighty commented 1 year ago

What about other ways? I've seen Ukrainian in other extensions that use same voices, is it possible to change API It pulls voices from?

I've found these https://www.google.com/intl/en/chrome/demos/speech.html https://speechify.com/blog/best-text-to-speech-chrome-extension/

and others that do support Ukrainian with google tts

winson7325 commented 1 year ago

https://www.youtube.com/watch?v=GOFvOdWdnNM&lc=Ugz7PLL9_wPSteqleU14AaABAg.9n7n_6mtxeX9nBtGQEvfvd

27:12 How did he do it then