espressif / esp-skainet

Espressif intelligent voice assistant
Other
587 stars 132 forks source link

why set aec_init to false for esp32-box board? (AIS-1181) #97

Closed IamFive closed 1 year ago

IamFive commented 1 year ago

code: https://github.com/espressif/esp-skainet/blob/master/examples/wake_word_detection/main/main.c#L96 why is esp32-s3-box special from other s3 boards?

feizi commented 1 year ago

I think it's just to reduce CPU loading and memory size.

IamFive commented 1 year ago

int nch = afe_handle->get_channel_num(afe_data); int feed_channel = esp_get_feed_channel();

feizi commented 1 year ago

int nch = afe_handle->get_channel_num(afe_data); int feed_channel = esp_get_feed_channel();

  • afe_handle->get_channel_num(afe_data) 中返回的是 Mic 的数量(afe_config.pcm_config.mic_num)吗 Yes

  • esp_get_feed_channel 是什么作用,为什么esp32-s3-box 上返回的是4,硬件信息里显示只有2个i2s。 One i2s supports two microphone channles