播放结束和开始提示音 没有反应
07随风 发布于2017-05 浏览:1583 回复:1
0
收藏

[_client setPlayTone:EVoiceRecognitionPlayTonesRecEnd isPlay:YES];


调用上面这个接口,没有反应,

音频文件也添加到项目中了,

可以正常识别,返回结果

但是切换到非输入模式

    [_client setPropertyList:@[@(EVoiceRecognitionPropertyMusic),                  // 音乐
                               @(EVoiceRecognitionPropertyVideo),                  // 视频
                               @(EVoiceRecognitionPropertyApp),                    // 应用
                               @(EVoiceRecognitionPropertyWeb),                    // web
                               @(EVoiceRecognitionPropertySearch),                 // 热词
                               @(EVoiceRecognitionPropertyEShopping),              // 电商&购物
                               @(EVoiceRecognitionPropertyHealth),                 // 健康&母婴
                               @(EVoiceRecognitionPropertyCall),                   // 打电话
                               @(EVoiceRecognitionPropertyMedicalCare) ,           // 医疗
                               @(EVoiceRecognitionPropertyCar),                    // 汽车
                               @(EVoiceRecognitionPropertyCatering),               // 娱乐餐饮
                               @(EVoiceRecognitionPropertyFinanceAndEconomics),    // 财经
                               @(EVoiceRecognitionPropertyGame),                   // 游戏
                               @(EVoiceRecognitionPropertyCookbook),               // 菜谱
                               @(EVoiceRecognitionPropertyAssistant),              // 助手
                               @(EVoiceRecognitionPropertyRecharge),               // 话费充值
                               /* 离线垂类 */
                               @(EVoiceRecognitionPropertyContacts) ,              // 联系人指令
                               @(EVoiceRecognitionPropertySetting),                // 手机设置
                               @(EVoiceRecognitionPropertyTVInstruction),          // 电视指令
                               @(EVoiceRecognitionPropertyPlayerInstruction),      // 播放器指令
                               @(EVoiceRecognitionPropertyRadio)]];

就会识别很慢,都是在说话结束后才开始启动连续上屏,最后才开始识别,非常慢


收藏
点赞
0
个赞
共1条回复 最后由用户已被禁言回复于2022-04
#2chenxiaoyu3回复于2017-06

是使用demo出现的问题吗?

0
TOP
切换版块