• Google speech
    9 replies, posted
Voice chatbox Text To Speech with accents! [event OnPlayerChat] [B]Settings in[/B] lua/autorun/sh_google.lua [B]Commands default[/B]: /google or !google Github: [url]https://github.com/Heyter/GoogleSpeech-GM[/url] How this is working, example: [URL="http://tts.voicetech.yandex.net/tts?speaker=ermil&text=Hi%20Facepunch"]speech[/URL] [URL="https://tech.yandex.com/speechkit/cloud/doc/guide/concepts/tts-http-request-docpage/"]API[/URL]
How to change lang of speaking?
[QUOTE=Rayek;52700247]How to change lang of speaking?[/QUOTE] API special for u. [URL="https://tech.yandex.com/speechkit/cloud/doc/guide/concepts/tts-http-request-docpage/"] link[/URL]
This is Yandex, not Google Voice? :hypeisnotreal:
[QUOTE=Potatofactory;52764491]This is Yandex, not Google Voice? :hypeisnotreal:[/QUOTE] Clearly a secret russian conspiracy to data mine secrets from Garry's Mod roleplay conversations.
[QUOTE=Potatofactory;52764491]This is Yandex, not Google Voice? :hypeisnotreal:[/QUOTE] Google speechkit does not work any more. [QUOTE=KillerLUA;52764788]Clearly a secret russian conspiracy to data mine secrets from Garry's Mod roleplay conversations.[/QUOTE] :toxx:
Use [QUOTE][url]http://translate.google.com/translate_tts?ie=UTF-8&tl=ru&client=tw-ob&q=%s[/url][/QUOTE] [editline]14th October 2017[/editline] For you script: [QUOTE]local encode = string_format("http://translate.google.com/translate_tts?ie=UTF-8&tl=ru&client=tw-ob&q=%s", httpUrlEncode(text))[/QUOTE]
What should I change to make it works nowadays? Where I should enter my yandex api key?
What's this for? https://github.com/Heyter/GoogleSpeech-GM/blob/master/Google%20Speech/lua/autorun/sh_google.lua#L2-L5
He uses it here. https://github.com/Heyter/GoogleSpeech-GM/blob/46c825b49ffef8f113986b02f15e51305484a9a4/Google%20Speech/lua/autorun/sh_google.lua#L15 Which is used here... https://github.com/Heyter/GoogleSpeech-GM/blob/59ddbdd0425a4dca0f1b6c8474523ecd29ae4a3c/Google%20Speech/lua/autorun/server/sv_google.lua#L15 ...and here... https://github.com/Heyter/GoogleSpeech-GM/blob/9559342587f7a32f20e64d3bcbde45808266581a/Google%20Speech/lua/autorun/client/cl_google.lua#L25 ... as well as here... https://github.com/Heyter/GoogleSpeech-GM/blob/9559342587f7a32f20e64d3bcbde45808266581a/Google%20Speech/lua/autorun/client/cl_google.lua#L62 Looks like it's used to give him TTS, and the ability to open the menu. However him having that SteamID in there could be placed as an example of what you can do.
Sorry, you need to Log In to post a reply to this thread.