mirror of
https://github.com/espressif/esp-sr.git
synced 2025-09-15 15:28:44 +08:00
Merge branch 'feat/timeout_trigger' into 'master'
feat(mn): modify multinet6 timeout trigger See merge request speech-recognition-framework/esp-sr!53
This commit is contained in:
commit
a189d8e25a
@ -175,7 +175,7 @@ test_esp_sr:
|
||||
artifacts: true
|
||||
optional: true
|
||||
tags:
|
||||
- 'esp32s3'
|
||||
- esp32s3
|
||||
image: $DOCKER_TARGET_TEST_v5_0_ENV_IMAGE
|
||||
variables:
|
||||
TEST_TARGET: 'esp32s3'
|
||||
@ -192,7 +192,7 @@ test_esp_tts:
|
||||
artifacts: true
|
||||
optional: true
|
||||
tags:
|
||||
- 'esp32s3'
|
||||
- esp32s3
|
||||
image: $DOCKER_TARGET_TEST_v5_0_ENV_IMAGE
|
||||
variables:
|
||||
TEST_TARGET: 'esp32s3'
|
||||
|
||||
@ -4,6 +4,10 @@
|
||||
- Available storage is less than the remaining flash space on IDF v5.0.
|
||||
If you can not map model partition successfully, please check the left free storage by `spi_flash_mmap_get_free_pages(ESP_PARTITION_MMAP_DATA)` or update IDF to v5.1 or later.
|
||||
|
||||
## 1.4.2
|
||||
- Reset timeout trigger of multinet6 when a new speech command is detected
|
||||
- Alloc all beams from PSRAM
|
||||
|
||||
## 1.4.1
|
||||
- Fix the wrong APIs of multinet2 when using ESP32 chip
|
||||
- VAD can work fine when WakeNet is disabled
|
||||
|
||||
@ -17,7 +17,7 @@ ESP-SR framework includes the following modules:
|
||||
|
||||
These algorithms are provided in the form of a component, so they can be integrated into your projects with minimum effort.
|
||||
|
||||
ESP32-S3 is recommended, which supports AI instructions and larger, high-speech octal SPI PSRAM.
|
||||
ESP32-S3 is recommended, which supports AI instructions and larger, high-speed octal SPI PSRAM.
|
||||
The new algorithms will no longer support ESP32 chips.
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -267,7 +267,7 @@ void esp_mn_commands_print(void)
|
||||
ESP_LOGI(TAG, "---------------------------------------------------------\n");
|
||||
}
|
||||
|
||||
void print_active_speech_commands(void)
|
||||
void esp_mn_active_commands_print(void)
|
||||
{
|
||||
ESP_LOGI(TAG, "---------------------ACTIVE SPEECH COMMANDS---------------------");
|
||||
esp_mn_model_handle->print_active_speech_commands(esp_mn_model_data);
|
||||
|
||||
@ -170,4 +170,4 @@ void esp_mn_commands_print(void);
|
||||
/**
|
||||
* @brief Print all active commands.
|
||||
*/
|
||||
void print_active_speech_commands(void);
|
||||
void esp_mn_active_commands_print(void);
|
||||
@ -299,7 +299,7 @@ void test_print_cpuloading(void *arg)
|
||||
vTaskDelete(NULL);
|
||||
}
|
||||
|
||||
TEST_CASE(">>>>>>>> audio_front_end SR cpu loading and memory info <<<<<<<<", "[afe]")
|
||||
TEST_CASE("audio_front_end SR cpu loading and memory info", "[afe]")
|
||||
{
|
||||
srmodel_list_t *models = esp_srmodel_init("model");
|
||||
if (models!=NULL) {
|
||||
@ -346,7 +346,7 @@ TEST_CASE(">>>>>>>> audio_front_end SR cpu loading and memory info <<<<<<<<", "[
|
||||
|
||||
|
||||
|
||||
TEST_CASE(">>>>>>>> audio_front_end VC create/destroy API & memory leak <<<<<<<<", "[afe]")
|
||||
TEST_CASE("audio_front_end VC create/destroy API & memory leak", "[afe]")
|
||||
{
|
||||
int start_total_mem_size = 0;
|
||||
int start_internal_mem_size = 0;
|
||||
@ -418,7 +418,7 @@ TEST_CASE(">>>>>>>> audio_front_end VC create/destroy API & memory leak <<<<<<<<
|
||||
}
|
||||
}
|
||||
|
||||
TEST_CASE(">>>>>>>> audio_front_end VC cpu loading and memory info <<<<<<<<", "[afe]")
|
||||
TEST_CASE("audio_front_end VC cpu loading and memory info", "[afe]")
|
||||
{
|
||||
total_ram_size_before = heap_caps_get_free_size(MALLOC_CAP_8BIT);
|
||||
internal_ram_size_before = heap_caps_get_free_size(MALLOC_CAP_8BIT | MALLOC_CAP_INTERNAL);
|
||||
|
||||
@ -173,7 +173,7 @@ TEST_CASE("multinet set commands", "[mn]")
|
||||
} else {
|
||||
printf("Invalid language\n");
|
||||
}
|
||||
print_active_speech_commands();
|
||||
esp_mn_active_commands_print();
|
||||
|
||||
multinet->destroy(model_data);
|
||||
esp_srmodel_deinit(models);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user