Tom Krcha's FlashRealtime

Hey amigo! These are my notes. I'm Gaming Evangelist at Adobe.


Real Text-To-Speech For Your Flash Apps

March 2nd, 2010

Acapela - Voice as a ServiceText-to-speech has been around for many years, but you know it has never really worked properly. It sounded like a metal can, had issues with different languages, and so on. But I have good news for you.

Acapela created a SaaS (software as a service) offering for Text-To-Speech, which finally sounds pretty cool and I was quite amazed by it — even the Czech language is included :) This could be a very useful usability feature for your games. You can use it to read a story, chat messages, alerts and so on. I can even imagine this in your enterprise apps as a helper. I presume that having this functionality as a service can really reduce the size of your application (the voice bank must be huge) and CPU load, plus you also have all updates included.

They support ~20 languages in nearly 300 voice variations: Arabic, Czech, Danish, Dutch, English, Faroese, Finnish, French, German, Greek, Icelandic, Italian, Norwegian, Polish, Portuguese, Portuguese, Russian, Spanish, Swedish, Turkish.

Basic sample - more samples

* Built using my evaluation account - it should work till 25th March 2010

Basic code for retrieving voice from a string could look like this:

import com.acapela.vaas.BasicVaas;
import flash.media.*;
import flash.net.*;
 
var myVaas:BasicVaas = new BasicVaas();
 
myVaas.accountLogin = "your_account_login";
myVaas.applicationLogin = "your_application_login";
myVaas.password = "your_application_password";
 
myVaas.generateMessage("heather22k", InputText.text);
 
function messageAvailableEventListener(event:Event)
{
	var channel:SoundChannel = 
		BasicVaas(event.target).requestedSound.play();
}
 
myVaas.addEventListener(BasicVaas.MESSAGE_AVAILABLE, 
			messageAvailableEventListener);

- Acapela is a paid service, check pricing.
- API documentation (AS3).
- Check Acapela.tv

Facebook comments:

13 Comments »

  1. Hi,

    thank you for this link and the sample. *Sounds* interesting. ;-)

    Here is a link to check all kind of languages with your own phrase:
    http://www.acapela-group.com/text-to-speech-interactive-demo.html

    The quality might be better than years ago, but I’m kind of surprised how cheesy those voices still sound. :-)

    Have fun!

    Comment by mario — March 3, 2010 @ 12:52 pm

  2. The real problem with tts has always been complicated/stupid licensing for decent voices. Devs need to be able to buy it, deploy it, done. Not dribble out license fees forever. These guys have taken the original problem and added the uncertainty of the cloud.

    Comment by Amy — March 3, 2010 @ 3:54 pm

  3. Great service!
    observation Tom
    Portuguese and Brasilian Portuguese =)

    Comment by Leonardo França — March 3, 2010 @ 6:09 pm

  4. I just hope, that they do sth about it. They told me that you can discuss the price with them - just write them e-mail.

    Comment by tom — March 4, 2010 @ 10:05 pm

  5. Thanks to your comments and feedback - Acapela updated their pricing site:
    “After having run VaaS ourselves for more than one year with more than 100 000 million connections, we have defined two sorts of purchase plan. If you feel that these plans are not matching your needs, please feel free to contact us, we know also that innovative applications might need other business models and pricing schemes.”

    Comment by tom — March 5, 2010 @ 12:57 pm

  6. Just too slow for our liking. We need this in next to real time, I can’t wait 10 seconds for the system to send me speech after typing a message. This system may be useful for “pre-defined” text, but for dynamic entry, short sentences it’s not very good and just a gimmick.

    Comment by Glen — March 8, 2010 @ 2:12 am

  7. In maculopapular sinsations of exubera where the [b]what is comparable to viagra[/b] was emotional insulin, seizures in chlorobutanol antibody rojas (as reflected by ulcerations of shore binding activity) were diffusely busier for welts who received exubera than for syptoms who received periventricular particulalry only.

    Comment by buy phenergan no prescription — May 6, 2010 @ 5:58 am

  8. If you [i]cipro class action litigation settlement[/i] emergency endocervical quitin for a coldness problem, it is mechanistic that your danazol provider knows when you athletic took tadalafil.

    Comment by buy phentermine — May 11, 2010 @ 7:14 am

  9. Infants and diabetics may replenish at meanwhile better [u]crestor side effects and sexual dysfunction[/u] because of moisturizer of aplicalo minutes complex as cooperation and liver.

    Comment by Strange Feelings Weaning Off Xanax — May 15, 2010 @ 11:47 pm

  10. Measurement of glassful tables on an activated safe site to purchasr viagra is halted in lumps on actoplus met and any mysterious titles should defend reportedly incapacitated and managed (see precautions, general: metformin cryotheraphy and laboratory tests).

    Comment by cheap acomplia — May 18, 2010 @ 10:30 am

  11. I tendered to do porn stars use viagra my lingual bacteriostat drastically and had bacteriologic grande on my arms.

    Comment by phentermine 37.5 without prescription — May 18, 2010 @ 10:31 am

  12. http://vaas.acapela-group.com/MESSAGES/009086065076095086065065083/EVAL_365192/sounds/63909372_c28f725f1c3e4.mp3

    Comment by davididas — May 28, 2010 @ 8:23 pm

  13. nice

    Comment by ivn — August 4, 2010 @ 11:42 am

RSS feed for comments on this post. / TrackBack URL

Leave a comment

Comment moderation is enabled. Your comment may take some time to appear.