百度语音合成服务

百度语音合成服务

xcode7.3.1

离在线融合SDK版本:2.2.2 

解决方案:

libiconv.2.4.0.tbd

代码

//NSError* loadErr = [[BDSSpeechSynthesizer sharedInstance] startTTSEngine:ChineseTextData

//speechDataPath:ChineseSpeechData

//licenseFilePath:LicenseData withAppCode:@""];

NSError* loadErr = [[BDSSpeechSynthesizersharedInstance]loadOfflineEngine:ChineseTextData

speechDataPath:ChineseSpeechData

licenseFilePath:LicenseData

withAppCode:nil];

//loadErr = [[BDSSpeechSynthesizer sharedInstance] loadEnglishData:EnglishTextData

//speechData:EnglishSpeechData];

loadErr = [[BDSSpeechSynthesizersharedInstance]loadEnglishDataForOfflineEngine:EnglishTextData

speechData:EnglishSpeechData];

你可能感兴趣的:(百度语音合成服务)