Compare commits

...

2 Commits

Author SHA1 Message Date
Sun Xiang Yu
85a1c63432 Merge branch 'bugfix/mn' into 'master'
Some checks failed
Push components to Espressif Component Service / upload_components (push) Has been cancelled
bugfix(mn): fix mn6 duration overflow

See merge request speech-recognition-framework/esp-sr!177
2025-06-16 19:43:14 +08:00
xysun
127e75d617 bugfix(mn): fix mn6 duration overflow 2025-06-16 16:48:48 +08:00
14 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,9 @@
# Change log for esp-sr
## 2.1.4
- Fix the bug of multinet duration overflow
- Fix the memory leak bug in multinet7 and multinet6
## 2.1.3
- Replace kissfft with dl_fft for wakenet9s
- Replace esp-dsp fft with dl_fft for wakenet9

View File

@ -1,4 +1,4 @@
version: "2.1.3"
version: "2.1.4"
description: esp_sr provides basic algorithms for Speech Recognition applications
url: https://github.com/espressif/esp-sr
dependencies:

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -71,7 +71,7 @@ TEST_CASE("multinet cpu loading", "[mn]")
char *model_name = esp_srmodel_filter(models, ESP_MN_PREFIX, NULL);
esp_mn_iface_t *multinet = esp_mn_handle_from_name(model_name);
model_iface_data_t *model_data = multinet->create(model_name, 6000);
model_iface_data_t *model_data = multinet->create(model_name, 500000);
int frequency = multinet->get_samp_rate(model_data);
int audio_chunksize = multinet->get_samp_chunksize(model_data) * sizeof(int16_t);
char *lang = multinet->get_language(model_data);