We have moved at community.getvera.com

Author Topic: [FIXED] Google TTS engine is no more working  (Read 39602 times)

Offline steets250

  • Full Member
  • ***
  • Posts: 151
  • Karma: +3/-2
Re: Google TTS is now protected against robot and automation systems
« Reply #15 on: July 28, 2015, 09:30:25 pm »
For me it looks like entering the captcha is unblocking the TTS for my IP for multiple searches. Is that not the same for others?

Offline watek2k

  • Newbie
  • *
  • Posts: 19
  • Karma: +1/-3

Offline korttoma

  • Hero Member
  • *****
  • Posts: 729
  • Karma: +26/-5
Re: Google TTS is now protected against robot and automation systems
« Reply #17 on: July 29, 2015, 07:08:41 am »
Seems like ivona is launching some kind of online TTS service maybe this can be an alternative?
I bet it will come with a prize tag though...

http://www.ivona.com/
- Tomas

Offline lolodomo

  • Moderator
  • Master Member
  • *****
  • Posts: 3484
  • Karma: +74/-10
Re: Google TTS is now protected against robot and automation systems
« Reply #18 on: July 29, 2015, 10:14:58 am »

Offline lolodomo

  • Moderator
  • Master Member
  • *****
  • Posts: 3484
  • Karma: +74/-10
Re: Google TTS is now protected against robot and automation systems
« Reply #19 on: July 29, 2015, 02:11:44 pm »
I read about Microsoft  Translator API this afternoon and I am now convinced that adding this TTS engine is doable.
For the user, that would be more difficult to setup because an account has to be created on a particular platform and a new application has to be declared by the user to get the identifiers that will be required by the plugin.
For the plugin itself,  the new thing is that a session token has to be obtained and renewed when necessary.

So I will add this new engine to the plugin. Should be available in few days.

Any idea if the Microsoft speech is as good as Google speech ?

Note that the account is free if you translate less than 20 000 characters per month. That's largely enough for few TTS messages per day.
« Last Edit: July 29, 2015, 02:17:11 pm by lolodomo »

Offline RichardTSchaefer

  • Community Beta
  • Master Member
  • ******
  • Posts: 10091
  • Karma: +764/-143
Re: Google TTS is now protected against robot and automation systems
« Reply #20 on: July 29, 2015, 02:31:58 pm »
Or go back to Vera Alerts for Android (Or you can probably do something from Tasker) for free TTS on the Android device that works without a Internet connection.

Offline kazenami

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
Re: Google TTS is now protected against robot and automation systems
« Reply #21 on: July 29, 2015, 04:32:27 pm »
Thanks to this, I've installed MaryTTS (http://mary.dfki.de/) on my Raspberry PI (that was only running the Hue Server for the Amazon ECHO Workaround). This is for those that don't have a 24/7 Mac server running. Hopefully it helps :D

Here's what I did (Full Steps).

1. SSH into Raspberry PI

$ cd Downloads
$ wget https://github.com/marytts/marytts/releases/download/v5.1/marytts-5.1.zip
Unzip the application to the /usr/bin directory

$ sudo unzip marytts-5.1.zip -d /opt
At this point it will not run unless the you have already installed Java 1.7 you can determine the current version of Java by executing:

$ java -version
Install the required version of Java (also add openjdk-7-jdk if you intend to do any java development):

$ sudo apt-get install openjdk-7-jre
After installing the new java runtime (jre) it will still not be the default. To set the new jre to your default use:

$ sudo update-alternatives --config java

Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java 1061 auto mode
1 /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java 1061 manual mode
2 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 1051 manual mode

Press enter to keep the current choice
  • , or type selection number: 2

Having selected option 2 the java version should return something similar to:

$ java -version
java version "1.7.0_65"
OpenJDK Runtime Environment (IcedTea 2.5.1) (7u65-2.5.1-5~deb7u1)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)
The runtime package delivers the scripts necessary to run the MaryTTS Server, which can be used via a browser of the client to synthesize speech. The server can be launched with:

$ /opt/marytts-5.1/bin/marytts-server.sh
This can then be used either through a browser or via the MaryTTS Client. The browser address will be:

http://(RaspPI_IP):59125
The MaryTTS Client, which is a Java GUI can be launched with:

$ /opt/marytts-5.1/bin/marytts-client.server
Launch the Server

2. Edit L_SonosTTS.LUA (Download Apps -> Develop Apps -> Luup files)

- edit the SAY_EXECUTE variable, replace the 5th line with the Google URL to:

http://(RaspPI_IP):59125/process?INPUT_TYPE=TEXT&OUTPUT_TYPE=AUDIO&FAKE=%s&INPUT_TEXT=%s&LOCALE=en_US&AUDIO=WAVE_FILE

* Please replace the (RaspPI_IP) with your device IP and make sure to put them inside the quotes.

- Upload, replace, restart LUUP.

3. Test and enjoy! Congrats, you're done. No more relying on other TTS servers.

Offline tomgru

  • Hero Member
  • *****
  • Posts: 1403
  • Karma: +18/-6
Re: Google TTS is now protected against robot and automation systems
« Reply #22 on: July 29, 2015, 04:43:22 pm »
I read about Microsoft  Translator API this afternoon and I am now convinced that adding this TTS engine is doable.
For the user, that would be more difficult to setup because an account has to be created on a particular platform and a new application has to be declared by the user to get the identifiers that will be required by the plugin.
For the plugin itself,  the new thing is that a session token has to be obtained and renewed when necessary.

So I will add this new engine to the plugin. Should be available in few days.

Any idea if the Microsoft speech is as good as Google speech ?

Note that the account is free if you translate less than 20 000 characters per month. That's largely enough for few TTS messages per day.

Speaking on behalf of Microsoft (I work there), i'm sure it's MUCH better!!!  ;D

Truthfully, i have no idea... and work no where near that side of the company. However, if you have any issues, let me know and i'll try to find a contact for you if possible!


Offline lolodomo

  • Moderator
  • Master Member
  • *****
  • Posts: 3484
  • Karma: +74/-10
Re: Google TTS is now protected against robot and automation systems
« Reply #23 on: July 29, 2015, 06:03:19 pm »
I will consider MaryTTS too.
Note that MaryTTS produces WAV files so this could be a problem with the Vera memory.
The quality of french voices looks not very good.

Offline SteveZ

  • Sr. Member
  • ****
  • Posts: 328
  • Karma: +4/-1
Re: Google TTS is now protected against robot and automation systems
« Reply #24 on: July 29, 2015, 08:34:43 pm »
I just wanted to report back that running OS X in a virtual box with the tts server installed does indeed work. there are many tutorials on how to do this. here are some links for anyone else interested.

http://www.macbreaker.com/2014/05/os-x-mavericks-in-virtualbox-with-niresh.html

https://wolfpaulus.com/jounal/mac/ttsserver/

Offline michelhamelin

  • Full Member
  • ***
  • Posts: 162
  • Karma: +3/-1
Re: Google TTS is now protected against robot and automation systems
« Reply #25 on: July 29, 2015, 10:19:15 pm »
1 -Maybe buy a cheap Android tablet
2-Install Imperihome ,(tts engine is working)
3-Plug line-out in to Sonos line-in

Sorry for bad explanation i m not very good in English writing.

Offline lolodomo

  • Moderator
  • Master Member
  • *****
  • Posts: 3484
  • Karma: +74/-10
Re: Google TTS is now protected against robot and automation systems
« Reply #26 on: July 30, 2015, 12:48:26 am »
I will not go in this direction but note that Google translation v2 is not so expensive if you don't use a lot of text. It depends on the number of characters: $20 for a million per month. It could result to less than $1 per month for our usage. But no free quota.
« Last Edit: July 30, 2015, 01:09:47 am by lolodomo »

Offline lolodomo

  • Moderator
  • Master Member
  • *****
  • Posts: 3484
  • Karma: +74/-10
Re: Google TTS is now protected against robot and automation systems
« Reply #27 on: July 30, 2015, 01:08:37 am »
By the way, the Google translate API v2 seems to provide translate feature but no TTS feature !

Offline watek2k

  • Newbie
  • *
  • Posts: 19
  • Karma: +1/-3
Re: Google TTS is now protected against robot and automation systems
« Reply #28 on: July 30, 2015, 08:44:53 am »
Another one to throw into the hat is:

https://www.ivona.com

They are the voice behind Amazon Echo, I just signed up and you get 50'00 units per month for free but I dont have a clue what a unit is lol!

Though here is that we could eventually have Echo as a full time listener and a unified voice for the Vera created alerts......

Just a thought!

Thanks for the attention.

Johnny

Offline lolodomo

  • Moderator
  • Master Member
  • *****
  • Posts: 3484
  • Karma: +74/-10
Re: Google TTS is now protected against robot and automation systems
« Reply #29 on: July 30, 2015, 09:51:30 am »
Another one to throw into the hat is:

https://www.ivona.com

They are the voice behind Amazon Echo, I just signed up and you get 50'00 units per month for free but I dont have a clue what a unit is lol!

Though here is that we could eventually have Echo as a full time listener and a unified voice for the Vera created alerts......

Just a thought!

Thanks for the attention.

Johnny

Are you sure it is free or that you have a free quota ?
Maybe it is free because at a beta stage ? What exactly afyer the beta stage ?

I found the explanation about how is calculated a unit:
Quote
Number of units is calculated by dividing number of characters in the input text by 200 and rounding up the result. SSML tags are removed from the calculation. There is no pre-paid model, so no upfront investment is needed to use the service.
http://developer.ivona.com/en/speechcloud/introduction.html
As I understand, each TTS request will cost 1 unit if your text is less than 200 characters.

Where did you find that there is a free quora ?

API looks a little more complex. But that is probably doable.