我们在官方提供的skainet的文件中,
当唤醒词汇启动以后运行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 = mul
tinet->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);