[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?

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