whatsapp-chatgpt icon indicating copy to clipboard operation
whatsapp-chatgpt copied to clipboard

TTS always generated English voice responses, though the question / transcribedLanguage was German

Open jooles opened this issue 1 year ago • 3 comments

Hi there,

this leads to funny behaviour when the TTS Engine reads out German text in English pronunciation ;-) Is there a possibility to control the language of the generated voice message?

Thanks!

jooles avatar Mar 07 '23 20:03 jooles

Hey @jooles, thats currently not possible.

The generated voice is always english.

Im also German, so I know how funny this is haha 😄

navopw avatar Mar 07 '23 20:03 navopw

thank you!

well, I figured there's already some German pretrained speechbrain models: https://huggingface.co/padmalcom/tts-tacotron2-german

But as I'm in no way familiar with python, this can't be done by me unfortunately ;)

maybe some of the collaborators will add support for other languages in the future. if not, I'm implementing something own using another API within the nodejs project (of course will release as a PR later)

jooles avatar Mar 07 '23 20:03 jooles

Hi @jooles, with the PR #138 that should be fixed. AWS Polly contains German voices too.

After downloading the latests commits you can follow the official documentation to get it working: https://askrella.github.io/whatsapp-chatgpt/#/pages/tts?id=aws-polly. Let me know if you find any issues.

Have a nice day!

MikelCalvo avatar Mar 13 '23 17:03 MikelCalvo

Yes, it's fixed - thank you! :)

jooles avatar Mar 27 '23 07:03 jooles