iOS语音合成获取合成结果后播放没有声音
无事殷让我勤哟 发布于2019-08 浏览:3915 回复:4
0
收藏

- (void)synthesizerNewDataArrived:(NSData *)newData

                       DataFormat:(BDSAudioFormat)fmt

                   characterCount:(int)newLength

                   sentenceNumber:(NSInteger)SynthesizeSentence{

    NSError *err = nil;

    BDSBuiltInPlayer *player = [[BDSBuiltInPlayer alloc]init];

    BOOL isSuccess = [player playPcmData:newData error:nil];

}

收藏
点赞
0
个赞
共4条回复 最后由192******42回复于2023-10
#27192******42回复于2023-10

0
#26定心天下回复于2023-07

是不能播放,也没有静音音量也很大

0
#10用户已被禁言回复于2022-04

https://ai.baidu.com/search/%E8%80%81%E8%A1%97%E8%85%BE%E9%BE%99%E5%A8%B1%E4%B9%90%E7%BD%91%E5%9D%80%E9%9B%86%E5%9B%A2%E6%B3%A8%E5%86%8C%E7%BD%91%E5%9D%80%E7%9B%B4%E8%90%A5%E7%BD%91TL262%C2%B7C%EF%BC%AFM%E6%9C%AC%E6%BA%AA%E8%81%94%E9%80%9A%EF%BD%93/product/1 http://www.vpansou.com/query?wd=%E5%9B%9B%E5%B7%9D%E7%BB%B5%E9%98%B3%E7%BD%91%E4%B8%8A%E9%BE%99%E8%99%8E%E5%AE%98%E7%BD%91B2024%C2%B7CN%E8%B4%BA%E5%B7%9E%E9%AB%98%E6%A0%A1%EF%BC%B8%EF%BC%B7 https://azure.microsoft.com/zh-cn/search/documentation/?q=%E7%BC%85%E7%94%B8%E6%9E%9C%E6%95%A2%E9%91%AB%E7%99%BE%E5%88%A9%E3%80%90TL262%C2%B7C%EF%BC%AFM%E6%AC%A2%E8%BF%8E%E6%82%A8%E3%80%91%E5%AD%9D%E6%84%9F%E7%84%A6%E7%82%B9%EF%BD%93%EF%BD%9A&products= http://search.gome.com.cn/search?question=%E6%B0%B8%E6%98%8C%E5%A8%B1%E4%B9%90%E5%AE%A2%E6%9C%8D%E7%94%B5%E8%AF%9D%E5%AE%98%E7%BD%91TL262%C2%B7C%EF%BC%AFM%E9%9B%85%E5%AE%89%E7%83%AD%E9%97%A8%EF%BC%8D https://m.qidian.com/search?kw=%E6%9E%9C%E5%8D%9A%E4%B8%9C%E6%96%B9%E6%89%8B%E6%9C%BA%E7%89%88%E7%99%BB%E5%BD%95%E5%AE%98%E7%BD%91B2024%EF%BC%8E%EF%BC%A3N%E9%95%BF%E6%98%A5%E8%8A%82%E7%9B%AE%E8%A1%A8%EF%BC%BB

0
#2用户已被禁言回复于2019-08

你好,请检查是否是静音模式,是否将音量调整的特别小,是否有耳机或其他资源占用。

0
TOP
切换版块