• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

Text to Speech API's for SinusBot

Status
Not open for further replies.
Hey! Here is a working version for Google TTS-API :)

Code:
http://translate.google.com/translate_tts?ie=UTF-8&total=1&idx=0&textlen=32&client=tw-ob&q=__TEXT&tl=__LOCALE
Locale: en
Hey man, could you explain what im supposed to do with this link and how i get the bot to speak
 
Hey man, could you explain what im supposed to do with this link and how i get the bot to speak

Sure thing!

Goto your SinusBot control panel and go to Settings -> Instance settings and enter that url to the "TTS-Url" Box, and type 'en' to the "Locale" box next to it.so it should be like this:

e64dcb2c8ea001d40b3d2fd0a02c187c.png


Then save settings and the Text-to-speech should work! Just make sure your permissions are set correctly on SinusBot users and then you can use the !say command in your ts server.

!say Hi! Look at me mom I can talk
 
http://www.voicerss.org/api/documentation.aspx
English Version below:
http://www.voicerss.org/api/documentation.aspx
geht auch man muss sich nur anmelden und sich einen api key erstellen fande ich von den Stimmen auch sehr ansprechend, da es vor allem auch sehr viele gibt (aber leider nur eine deutsche). Die Seite ist auch gut dokumentiert und man bekommt kostenlos unendlich viele Api Keys
Ein Link zur TTS Api über HTTP:
http://api.voicerss.org/?key="Hier API Key Eingügen!!!"&src=__TEXT&hl=__LOCALE
Leider ist für mich das TTS feature nicht so gut, da man ja meistens nicht nur titel in english oder nur in deutsch hat und sobald tts versucht mit einer englischen Sprecherin etwas deutsches auszusprechen hört es sich komisch an... Eine erkennung des Liedtitels und dann dementsprechend die Stimme zu wählen stelle ich mir aber auch schwer vor... Und die Funktion, dass der Bot etwas sagt ist zwar lustig für mich aber nicht so nützlich
__________________________________________________________________________________________
http://www.voicerss.org/api/documentation.aspx
Is also working you just have to register at the homepage and generate a api key. This api also have many voices (us english, british english, australian english...). The homepage itself is well documented and you can generate many api keys for free.
A example link for the API via HTTPS:
http://api.voicerss.org/?key="Insert API Key here!!!"&src=__TEXT&hl=__LOCALE
 
Last edited:
Bei mir geht das mit Google nicht lange. Ich weis nicht, warum, aber ich glaube es liegt an dem Parameter Client. Kann mir jemand helfen?
 
Das Google TTS wird wahrscheinlich nicht auf Dauer funktionieren, da Google das nicht haben möchte. Die TTS-Engine ist nur für den Einsatz auf der Google Translator-Seite gedacht, und unter Umständen für zahlende Kunden. Irgendwann erkennt Google wahrscheinlich, dass das automatisierte Anfragen sind und blockt diese ab.
 
Check your scripts, there could be one which has this feature
It's the TTS that i added ,

I can do !say but when i have it on it also says [who joins channel and leaves and it can be spammed or if it joins a chnanel with a lot of people it says everyones name all at once
 
Status
Not open for further replies.
Back
Top Bottom