Google's text-to speech engine voices?
Asked Answered
H

6

16

Most of you probably know the text-to-speech synthesizer of google translate, as you can access programmatically here btw:

http://translate.google.com/translate_tts?tl=en&q=text

My impression was it's sometimes using espeak, but in the major languages, the quality is much better than that. Anybody knows what Google is using, or what voices they are using? Clearly it's not the normal and also not the mbrola espeak voices.

Hidden answered 27/10, 2010 at 20:59 Comment(1)
Translate API requires an API key and it is a paid service nowadays: cloud.google.com/translate/docsLongheaded
S
7

I would look in the list of Google acquisitions
(Wikipedia, list of google acquisitions):

84 December 3, 2010 Phonetic Arts Speech synthesis  UK Google Voice, Google Translate [90]

Sopher answered 17/1, 2011 at 8:31 Comment(0)
W
3

I have made a simple wrap with ruby. https://github.com/c2h2/tts

gem install tts
require 'tts'
'hello world!".to_file "en"
Wizardly answered 17/6, 2011 at 17:44 Comment(2)
Is there any way to add languages? Esp. Hindi or other Indian Languages as these are supported by Google Translate. Using above code sample works for English but fails for Hindi with following error message : ruby/lib/ruby/gems/1.9.1/gems/tts-0.4.1/lib/tts.rb:59 :in `to_url': Not accepted language, accpeted are zh,en,it,fr (RuntimeError).Dreamadreamer
Thanks for the Ruby Gem. I've raised an issue on github.Dreamadreamer
S
0

Try this one:

Speech Util

It´s free, but only for English.

Sheri answered 13/9, 2012 at 12:24 Comment(0)
R
0

I would be surprised if Google translate is using espeak. Firstly, the results are too good and lack many typical espeak flaws. Second, Google is well known to be using ideas like deep nets in their speech group (see the work by Geof Hinton and also http://research.google.com/pubs/SpeechProcessing.html).

Racket answered 24/8, 2013 at 2:29 Comment(0)
D
0

Try pyttsx: https://github.com/parente/pyttsx

$ pip install pyttsx
$ python
>>> import pyttsx
>>> e = pyttsx.init()
>>> e.say('haha hahaha haha haha hahaha')
>>> e.runAndWait()
Deppy answered 25/12, 2014 at 2:45 Comment(0)
P
0

Use the pyttsx3 module for python3.

just use pip install pyttsx3 for installing

Perfuse answered 26/6, 2017 at 4:35 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.