[ObjectiveC] Text to Speech with Google Translate

Today, an easy way to use google translate as Text to Speech service.

Do you know this one?
http://www.translate.google.com/translate_tts?tl=it&q=ciao,%20come%20stai?

I wrote a class to do this in easy way.

APSpeech *Speech = [[APSpeech alloc] init];

Speech.Volume = 0.5;  // optional, default 0.4
Speech.Loop   = 0;    // optional, default 0

[Speech SpeechThis:@"Ciao, come stai?" inLanguage:APSpeechLanguageITA];

[Speech release];

You need only AVFoundation framework in your project.

Download source code here.

Rif: albertopasca.it