Closed g4spow closed 5 years ago
Hi there,
To be honest, I'm not very familiar with the Node client of Google's Cloud Text-to-Speech API. However, I believe simply changing the audioEncoding
value in your request variable to 'LINEAR16'
should do the trick.
If you need any further help, I advise you to open a ticket directly on the client's github repo. They might be able to offer you better support there.
Cheers!
This is brilliant, so handy.
Just a query regarding bitrate and overall quality. When using "Download as MP3" the quality from Wavenet-for-Chrome far exceeds what I am getting out of using the NodeJS version of Google Text-to-Speech.
https://github.com/pgmichael/wavenet-for-chrome/blob/master/js/background.js
I take it you are using LINEAR16 to create the better quality bitrate and then writing it as an MP3?
Here is my code:
This is what I get from using this Node code
Audio: mp3, 24000 Hz, mono, fltp, 32 kb/s
Can you help edit this code so I get the same top quality as I get when I use your plugin? (I use NodeJS for the bigger files)