News for hackers. Stuff that matters.
Re:Gnuspeech by roel_v on Tuesday October 20, 2015 @08:26PM (#10422823)
Can anyone in the field comment on what is the best offline TTS available today? This project is old, hardly maintained and the samples sound horrible. Festival is... not very good, but 'acceptable'. The MS build-in TTS engines are OK-ish. Dragon has some TTS but hard to use outside the use cases they designed it for it seems, and I'm not sure if they're even using their own TTS engine? Haven't had a chance to try it out myself. Any major ones I'm missing? And just how much better are the online ones, like Google's? Anyone have any quantitative data on that?
Re:Gnuspeech by erglkjahlkh on Tuesday October 20, 2015 @11:57PM (#10423619)
AFAIK there are a few that produce such results that they can not be distinguished from a real person. None of the really good ones are open source, and the best ones I have heard of are not even for sale.

The best implementations make an advantage in markets so they are well guarded. We do not know about the best implementations, because we did not notice a thing. For example some phone operators have replaced their customer services with TTS / STT solutions. Because people tend to lock up when they realize they are talking with a computer, they have had to make those systems sound very natural.

I know a few are pretty crappy ones, but a few are plain spooky. Customers that tend to joke and flirt with the computer, hoping for an emotional response, probably are most likely to notice them.

Then there's the case where the US intelligence services demonstrated their capabilities to a politician (senator/congressman) by recording him, and producing a voice clip of him saying something like "death to america" so well that no one could distinguish the speaker. It also seemingly passed further voice analysis. Google it up, pretty interesting read.

Re:Gnuspeech by TeMPOraL on Wednesday October 21, 2015 @04:37AM (#10424296)
> I know a few are pretty crappy ones, but a few are plain spooky. Customers that tend to joke and flirt with the computer, hoping for an emotional response, probably are most likely to notice them.

I got a call two years ago from a telemarketer that kept asking me yes/no questions with a robot voice and didn't leave me any space in the conversation to say anything. I really felt like I was talking to a computer so I tried to Turing-test him by forcing him to answer an open-ended question. It took two minutes, and the caller turned out to be human after all. That wasn't very relieving though. Humans should not speak with such zombified voice.

Re:Gnuspeech by Kristine1975 on Wednesday October 21, 2015 @06:22AM (#10424565)
>Humans should not speak with such zombified voice.

Why. Not. Let. The. Telemarketer. Have. Some. Fun. At. Their. Crappy. Job.

Re:Gnuspeech by ASalazarMX on Wednesday October 21, 2015 @06:22PM (#10429204)
You spoke to Daniel Suarez's Daemon!
Re:Gnuspeech by SpaghettiCat on Wednesday October 21, 2015 @03:56AM (#10424184)
You claim that some are not open-source and not for sale, then for what purpose are they made?
Re:Gnuspeech by mercora on Wednesday October 21, 2015 @04:30AM (#10424268)
I guess they would be used in a service that sells voice recordings, are developed for internal use or are born in research.
Re:Gnuspeech by michael_h on Tuesday October 20, 2015 @09:10PM (#10422957)
For English (and I think Japanese), HTS with the STRAIGHT vocoder can be pretty amazing. Very amazing. Licensing on both of those pieces is problematic. (Edit: I should probably mention that HTS is not easy to use. It will require some mental fortitude.)

Festival can produce very good results, but you have to get into the weeds with it and do a lot of planning. If you don't like Scheme, you're not going to like dealing with festival, and if you do like scheme, you're going to be frustrated by their particular scheme.

I've also noticed a lot of folks looking at post filtering, but that is a sea of dragons at the moment.

Re:Gnuspeech by roel_v on Wednesday October 21, 2015 @12:29AM (#10423726)
Assuming that for their demo at http://flite-hts-engine.sp.nitech.ac.jp/ they would select a good data set and parameters, I have to say that I'm not particularly impressed. Do you know of any online examples of a well-tuned Festival set up? I didn't find the 'official' Festival or Festvox examples especially great, certainly worse than online available TTS services, and I have never been able to find an example of a well-tuned result of Festival.
Re:Gnuspeech by michael_h on Wednesday October 21, 2015 @09:29AM (#10425244)
I don't know of any online examples, sorry. The problem is that a well-aligned festival voice is not academically interesting, so people generally don't publish it. Festival performs well when it can rely solely on unit selection and has multiple choices of the same phoneme sequence. Once it has to do some guessing on the synthesis, you'll see a drop in quality.

With a small bit of work, you can have festival use an HTS voice directly. I usually use festival to generate my label files, post filter the phoneme timing, synthesize with HTS, then apply a post-filter.

Re:Gnuspeech by superkuh on Wednesday October 21, 2015 @12:46AM (#10423774)
Flite is not Festival. It is a very cut down version for embedded machines.
Re:Gnuspeech by anthk on Wednesday October 21, 2015 @04:33AM (#10424282)
Flite lacks entonation on questions and such.

It will work better on the ZipitZ2 and pentium2 machines.

Enough to listen short stories, but it's not suited to listen a full book from you bed.

Re:Gnuspeech by roel_v on Wednesday October 21, 2015 @01:23AM (#10423855)
Yes I know, but the GP commented on both Flite and Festival, and I addressed both comments - albeit, I'll admit, in a tangled way.
Re:Gnuspeech by posttool on Wednesday October 21, 2015 @01:46AM (#10423915)
It is worth mentioning that STRAIGHT requires MATLAB.
Re:Gnuspeech by mwcampbell on Tuesday October 20, 2015 @10:18PM (#10423242)
Re:Gnuspeech by userbinator on Wednesday October 21, 2015 @12:13AM (#10423672)
Mary sounds quite good. Apparently if you know how to write input files in the correct format you can get it to speak much more like a real human by including stress/speed/tone/etc. variations too.
Re:Gnuspeech by vram22 on Wednesday October 21, 2015 @09:48AM (#10425347)
>http://espeak.sourceforge.net/

Can't confirm how well espeak works, since I didn't try it, but I have tried pyttsx on Windows. (pyttsx is a Python library which uses SAPI5 on Windows and espeak on Linux.)

Worked okay for me. Not tested a lot though. Here's my simple Python snippet for trying pyttsx on Windows:

http://code.activestate.com/recipes/578839-python-text-to-sp...

(A commenter on the above ActiveState recipe said my pyttsx recipe worked fine for him with espeak on Crux Linux.)

and more details on the same here:

http://jugad2.blogspot.in/2014/03/speech-synthesis-in-python...

"The pyttsx library is a cross-platform wrapper that supports the native text-to-speech libraries of Windows and Linux at least, using SAPI5 on Windows and eSpeak on Linux."

Also, check out the synthesized train announcer's voice in my blog post above - somewhat eerie and cool :)

Re:Gnuspeech by vram22 on Wednesday October 21, 2015 @09:58AM (#10425419)
And a similar small trial of the reverse problem - speech recognition, using the Python 'speech' library:

http://jugad2.blogspot.in/2014/03/speech-recognition-with-py...

Re:Gnuspeech by s-macke on Wednesday October 21, 2015 @04:15AM (#10424226)
Perfect moment to mention my little project.

http://simulationcorner.net/index.php?page=sam

I have to admit, that the quality is not good. But it also works on embedded systems.

Re:Gnuspeech by _delirium on Tuesday October 20, 2015 @09:44PM (#10423061)
The TTS engine built in to OSX works offline and is good. In my opinion it's as good as any of the online ones for most uses. But the OSX license limits it to "personal, non-commercial use". I'm not sure whether it's possible to get the same technology in a commercial license. Some of the voices are licensed from Nuance (parent company of Dragon), but it's not clear whether the engine is too.

Some better free-software offerings would really open this area up for experimentation, since the commercial offerings tend to be pretty black-box and targeted at very specific use-cases.

Re:Gnuspeech by makomk on Wednesday October 21, 2015 @06:25AM (#10424575)
Last time I looked, the stock Festival voices were intentionally not production quality - they were demonstrations of how well the Festvox automated voice building scripts worked without manual tweaking. They're basically academic research that the researchers let everyone use. If you want high-quality voices you'll have to pay for them, because so far no-one that's put in the work is willing to give it away for free.
Re:Gnuspeech by hiddencost on Tuesday October 20, 2015 @11:47PM (#10423589)
Amazon acquired Ivona, a polish TTS company.
Re:Gnuspeech by voltagex_ on Tuesday October 20, 2015 @11:51PM (#10423602)
My knowledge is probably 10 years out of date, but the Asterisk guys used Cepstral.