Xogy / xsound

Improved audio library for FiveM
MIT License
115 stars 82 forks source link

TTS not working #21

Closed bcortezf closed 2 years ago

bcortezf commented 2 years ago

Describe the bug TTS is not working, at least for me.

To Reproduce Steps to reproduce the behavior:

  1. Execute the TextToSpeech function
  2. See error

Screenshots image

image image

Additional context It seems to return 404. The link works well in navigator, but doesnt work when running from FiveM NUI.

Link executed: https://translate.google.com/translate_tts?ie=UTF-8&q=Prueba%20prueba&tl=es-CL&total=1&idx=0&client=tw-ob

Have a nice day.

Xogy commented 2 years ago

I removed the TTS function since I wasn't able to fix it to this day, hopefully, I will find some free API that does not require an API key to run and can run more instances at once.