Code Monkey home page Code Monkey logo

google-translate-tts's People

Contributors

florabtw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

google-translate-tts's Issues

Discord bot toBuffer error

Been getting this error all of a sudden. Worked just fine up until a couple days ago, nothing changed on my end code-wise.

Error: Unable to parse audio data. Check your request params. at toBuffer (/home/runner/#PROJECTNAME#/node_modules/google-translate-tts/src/synthesize.js:65:13)

language codes changed?

I'm using the Node Red module. When I set it up a few months ago it was working fine with the voice code set to "de-DE".

This stopped working in the last few weeks - not exactly sure when.

I had a look at the network traffic of translate.google.com when clicking the speaker icon and as it turns out it sends:
hl=de

Changing the voice code in Node Red to "de" made it work again. Looks like Google changed the code, at least for German?

Is there a way to use this in nodered?

I used to use an old google-tts but I'm getting alot of "get key failed from google" and reading around it seem like the node i use is out of date with the new Google tts changes.
So wanted to know is this could maybe replace it.

Nodered issues, again.

Seems like Google changed there stuff again. The node that I'm using is giving me the "Get key failed from google" again.
Will you be doing any updates to this node?

Issues with synthesization?

Recently my discord bot stopped functioning with the error "Error: Unable to parse audio data. Check your request params.
at toBuffer (/home/runner/PROJECTNAME/node_modules/google-translate-tts/src/synthesize.js:48:13)"

Worked flawlessly until recently.

Rate limit?

soundoftext-api     | GET /sounds/6854cf90-504b-11eb-966e-e52d1cd1ebcf 200 217.638 ms - 71
soundoftext-api     | <TITLE>302 Moved</TITLE></HEAD><BODY><H1>302 Moved</H1>The document has moved<A HREF="https://www.google.com/sorry/index?continue=https://translate.google.com/_/TranslateWebserverUi/data/batchexecute&amp;q=EgSlFpBxGL</BODY></HTML>S5BwrEFKQPEi4GstNTudFjUoAuIwMgFy">here</A>.
soundoftext-api     | 2021-01-06T21:50:46.328Z - : Request could not be fulfilled: {
soundoftext-api     |            text: Nell'ottobre 2018 la Hasbro ha ufficialmente inserito il logo di: "Glitter Force" tra le varie serie che presenterà alla fiera degli addetti del settore, ovvero: "Mipcom",
soundoftext-api     |            id: 337054c0-5069-11eb-a3fd-2f0f9848c024
soundoftext-api     |         }
soundoftext-api     | 2021-01-06T21:50:46.331Z - :  message=Unexpected token < in JSON at position 0, stack=SyntaxError: Unexpected token < in JSON at position 0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.