iOS文字转语音在线识别切换发音人无效
ni88352 发布于2018-08 浏览:1656 回复:4
1
收藏

您好,我自己集成iOS切换发音人设置无效。只是默认女发声。请问哪里的问题?

-(void)configureSDK{

    NSLog(@"TTS version info: %@", [BDSSpeechSynthesizer version]);

    [BDSSpeechSynthesizer setLogLevel:BDS_PUBLIC_LOG_VERBOSE];

    [[BDSSpeechSynthesizer sharedInstance] setSynthesizerDelegate:self];

    [self configureOnlineTTS];

   // [self configureOfflineTTS];

    

收藏
点赞
1
个赞
共4条回复 最后由用户已被禁言回复于2022-04
#5尼基塔007不错回复于2019-10

还是IOS问题,这个问题比较特殊

0
#4用户已被禁言回复于2019-10

iOS问题需在控制台内提交工单咨询。

0
#3free迅雷下载爱回复于2019-10

您好,请问解决了吗?我也遇到相同问题。

0
#2ni88352回复于2018-08

 

-------追加---------

-(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];

    

}

 

0
TOP
切换版块