PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV Mobile 2024 → How to use Speech Recognition inside the iOS SDK?
How to use Speech Recognition inside the iOS SDK?
Iniciado por adrianoboller, 20,nov. 2014 14:33 - 2 respuestas
Miembro registrado
3.651 mensajes
Popularité : +175 (223 votes)
Publicado el 20,noviembre 2014 - 14:33
//Text to speech in iOS – AVSpeechSynthesizer

//It would be great to have the text to speech capability that IOS7 API offers:

//https://developer.apple.com/library/ios/documentation/AVFoundation/Reference/AVSpeechSynthesizer_Ref/Reference/Reference.html


IOS()
#import <AVFoundation/AVFoundation.h>


void IOS_LerTexto()
{
AVSpeechUtterance *utterance = [AVSpeechUtterance speechUtteranceWithString:@"Seu Táxi, Chegou!!"];
AVSpeechSynthesizer *synth = [[AVSpeechSynthesizer alloc] init];
[synth speakUtterance:utterance];
}
Miembro registrado
2 mensajes
Publicado el 21,diciembre 2020 - 10:21