乐鑫技术交流
直播中

符筹荣

8年用户 1059经验值
私信 关注
[问答]

在skainet加入播放http_mp3_exmple后,播放音乐没有办法启动唤醒词汇怎么办?

当唤醒词汇启动以后运行http_mp3_exmple(官方提供的程序https://github.com/espressif/esp-adf/tree/master/examples/player/pipeline_http_mp3),但是运行以后我们在说唤醒词汇的时候,就没有反应了。
2.当http_mp3_exmple(官方提供的程序)运行结束以后,唤醒词汇依然不起作用。
下面红色是加入的语句。
请问这个怎么处理?
mn_chunks++;
            int command_id = multinet->detect(model_data_mn, buffer);

            if (mn_chunks == chunk_num || command_id > -1) {
                mn_chunks = 0;
                detect_flag = 0;
                if (command_id > -1) {
                        //播放http-mp3-example.c
                        xTaskCreate(app_main_http_mp3, "app_main_diantai", 4096, NULL, 3, NULL);
                //    speech_commands_action(command_id);
                } else {
                    printf("can not recognize any speech commandsn");
                }
                printf("n-----------awaits to be waken up-----------n");
                led_off(LED_GPIO);
                                                                                                                                                            

更多回帖

发帖
×
20
完善资料,
赚取积分