mirror of
https://github.com/espressif/esp-sr.git
synced 2025-09-15 15:28:44 +08:00
bugfix(mn): fix mn6 duration overflow
This commit is contained in:
parent
6d130e9d8a
commit
127e75d617
@ -1,5 +1,9 @@
|
|||||||
# Change log for esp-sr
|
# 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
|
## 2.1.3
|
||||||
- Replace kissfft with dl_fft for wakenet9s
|
- Replace kissfft with dl_fft for wakenet9s
|
||||||
- Replace esp-dsp fft with dl_fft for wakenet9
|
- Replace esp-dsp fft with dl_fft for wakenet9
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
version: "2.1.3"
|
version: "2.1.4"
|
||||||
description: esp_sr provides basic algorithms for Speech Recognition applications
|
description: esp_sr provides basic algorithms for Speech Recognition applications
|
||||||
url: https://github.com/espressif/esp-sr
|
url: https://github.com/espressif/esp-sr
|
||||||
dependencies:
|
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.
@ -71,7 +71,7 @@ TEST_CASE("multinet cpu loading", "[mn]")
|
|||||||
char *model_name = esp_srmodel_filter(models, ESP_MN_PREFIX, NULL);
|
char *model_name = esp_srmodel_filter(models, ESP_MN_PREFIX, NULL);
|
||||||
esp_mn_iface_t *multinet = esp_mn_handle_from_name(model_name);
|
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 frequency = multinet->get_samp_rate(model_data);
|
||||||
int audio_chunksize = multinet->get_samp_chunksize(model_data) * sizeof(int16_t);
|
int audio_chunksize = multinet->get_samp_chunksize(model_data) * sizeof(int16_t);
|
||||||
char *lang = multinet->get_language(model_data);
|
char *lang = multinet->get_language(model_data);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user