您好,我自己集成iOS切换发音人设置无效。只是默认女发声。请问哪里的问题?
-(void)configureSDK{
NSLog(@"TTS version info: %@", [BDSSpeechSynthesizer version]);
[BDSSpeechSynthesizer setLogLevel:BDS_PUBLIC_LOG_VERBOSE];
[[BDSSpeechSynthesizer sharedInstance] setSynthesizerDelegate:self];
[self configureOnlineTTS];
// [self configureOfflineTTS];
请登录后评论
TOP
切换版块
还是IOS问题,这个问题比较特殊
iOS问题需在控制台内提交工单咨询。
您好,请问解决了吗?我也遇到相同问题。
-------追加---------
-(void)configureOnlineTTS{
[[BDSSpeechSynthesizer sharedInstance] setApiKey:API_KEY_TTS withSecretKey:SECRET_KEY_TTS];
[[AVAudioSession sharedInstance]setCategory:AVAudioSessionCategoryPlayback error:nil];
[[BDSSpeechSynthesizer sharedInstance] setSynthParam:@(BDS_SYNTHESIZER_SPEAKER_MALE_3) forKey:BDS_SYNTHESIZER_PARAM_SPEAKER];
// [[BDSSpeechSynthesizer sharedInstance] setSynthParam:@(10) forKey:BDS_SYNTHESIZER_PARAM_ONLINE_REQUEST_TIMEOUT];
}