PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV Mobile 2024 → How to use Speech Recognition inside the iOS SDK?
How to use Speech Recognition inside the iOS SDK?
Débuté par adrianoboller, 20 nov. 2014 14:33 - 2 réponses
Membre enregistré
3 655 messages
Popularité : +175 (223 votes)
Posté le 20 novembre 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];
}
Membre enregistré
2 messages
Posté le 21 décembre 2020 - 10:21