lino-levan / better-node-gtts

Google Text-to-Speech for NodeJS (Unofficial API)
Apache License 2.0
8 stars 3 forks source link

how do you put it in another language? #4

Closed edergames29 closed 3 months ago

edergames29 commented 1 year ago

how do you put it in another language?

edergames29 commented 1 year ago

var gTTS = require("better-node-gtts")("pt") dont work

lino-levan commented 1 year ago

What language are you trying to use?

edergames29 commented 1 year ago

Que idioma você está tentando usar?

Brazilian Portuguese and Portuguese Portuguese

lino-levan commented 1 year ago

Have you tried the Text2Speech class?

I don't write a lot of node anymore but something like:

const { Text2Speech } = require("better-node-gtts")
const pt = new Text2Speech("pt");
fukemy commented 3 months ago

Hi do you support other people speech voice? It's only default once speech voice

lino-levan commented 3 months ago

We only support the default google voice, sorry.