• 授权协议:-
  • 开发厂商:-
  • 软件语言:Objective-C
  • 更新日期:2014-03-14
MVSpeechSynthesizer

Instead of delgate method it provides block methods.Apart from simple usage it can auto detect the language of given string and read.It also throw currently reading word with their langauge.It can list all supported langauages and their country name

MVSpeechSynthesizer iOS 语音合成器 项目简介

AVSpeechSynthesizer 的功能:Simple way to integrate the AVSpeechsynthesizer into your app. Instead of delgate method it provides block methods. Apart from simple usage it can auto detect the language of given string and read. It can higlight currently reading word. It also throw currently reading word with their langauge. It can auto scroll the page if once reached bottom of the text box. It can read all languages which is supported by AVSpeechSynthesizer It can list all supported langauages and their country name示例代码:MVSpeechSynthesizer *mvSpeech=[MVSpeechSynthesizer sharedSyntheSize];//Initialize the class
mvSpeech.higlightColor=[UIColor yellowColor];//Higlght backgroundcolor
mvSpeech.isTextHiglight=YES;//If you want to highlight set yes, othgerwise set no.
mvSpeech.speechString=//Pass string which is need to read.
mvSpeech.inputView=_helpTextView;//Pass the input view which carries the string.
[mvSpeech startRead];//Initialize the read function.
mvSpeech.speechFinishBlock=^(AVSpeechSynthesizer *synthesizer, AVSpeechUtterance *utterence){
 //It will call when read action finished.
};

MVSpeechSynthesizer iOS 语音合成器 评论内容