diff --git a/docs/en/audio_front_end/migration_guide.rst b/docs/en/audio_front_end/migration_guide.rst index 6a84b47..5bdc0fe 100644 --- a/docs/en/audio_front_end/migration_guide.rst +++ b/docs/en/audio_front_end/migration_guide.rst @@ -6,11 +6,12 @@ Migration from V1.* to V2.* Configuration and Initialization -------------------------------- -- 1. The legacy configuration initialization method AFE_CONFIG_DEFAULT() has been removed. Please use ``afe_config_init`` to initialize configurations. Modifications can still be made after initialization: +- 1. The legacy configuration initialization method AFE_CONFIG_DEFAULT() has been removed. Please use ``afe_config_init`` to initialize configurations: .. code-block:: c afe_config_t *afe_config = afe_config_init("MMNR", models, AFE_TYPE_SR, AFE_MODE_HIGH_PERF); + afe_config_print(afe_config); // print all configurations - 2. ESP_AFE_SR_HANDLE and ESP_AFE_VC_HANDLE have been removed. Use ``esp_afe_handle_from_config`` to create instances: diff --git a/docs/en/vadnet/README.rst b/docs/en/vadnet/README.rst index afd2194..41a430b 100644 --- a/docs/en/vadnet/README.rst +++ b/docs/en/vadnet/README.rst @@ -19,6 +19,7 @@ Use VADNet - Select VADNet model :: + idf.py menuconfig ESP Speech Recognition -> Select voice activity detection -> voice activity detection (vadnet1 medium). @@ -44,7 +45,7 @@ Use VADNet afe_handle->enable_vad(afe_data); // enable VADNet afe_handle->reset_vad(afe_data); // reset VADNet status -- VAD Cache and Detection +- VAD Cache There are two issues in the VAD settings that can cause a delay in the first frame trigger of speech. diff --git a/docs/zh_CN/audio_front_end/migration_guide.rst b/docs/zh_CN/audio_front_end/migration_guide.rst index c51b9f1..e248d75 100644 --- a/docs/zh_CN/audio_front_end/migration_guide.rst +++ b/docs/zh_CN/audio_front_end/migration_guide.rst @@ -7,11 +7,12 @@ rstCopy 配置和初始化 -------------------------------- -- 1. 旧的配置初始化方法 AFE_CONFIG_DEFAULT() 已被移除。请使用 ``afe_config_init`` 来初始化配置。初始化后仍可进行修改: +- 1. 旧的配置初始化方法 AFE_CONFIG_DEFAULT() 已被移除。请使用 ``afe_config_init`` 来初始化配置: .. code-block:: c afe_config_t *afe_config = afe_config_init("MMNR", models, AFE_TYPE_SR, AFE_MODE_HIGH_PERF); + afe_config_print(afe_config); // print all configurations - 2. ESP_AFE_SR_HANDLE 和 ESP_AFE_VC_HANDLE 已被移除。使用 ``esp_afe_handle_from_config`` 来创建实例: diff --git a/docs/zh_CN/vadnet/README.rst b/docs/zh_CN/vadnet/README.rst index ec6535c..7416a09 100644 --- a/docs/zh_CN/vadnet/README.rst +++ b/docs/zh_CN/vadnet/README.rst @@ -18,6 +18,7 @@ VADNet 训练数据包括了大约5000小时中文数据, 5000 小时英文数 - 选择VADNet模型 :: + idf.py menuconfig ESP Speech Recognition -> Select voice activity detection -> voice activity detection (vadnet1 medium).