Merge branch 'feat/add_two_wn9' into 'master'

Add 小龙小龙 and Hey,Printer wake model

See merge request speech-recognition-framework/esp-sr!94
This commit is contained in:
Sun Xiang Yu 2024-03-18 11:36:59 +08:00
commit f5607edd2c
10 changed files with 41 additions and 16 deletions

View File

@ -4,6 +4,10 @@
- Available storage is less than the remaining flash space on IDF v5.0. - 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. 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.7.0
- Add first Noise Suppression model: nsnet2
- Add more wake word model trained by TTS sample
## 1.6.1 ## 1.6.1
- Add hey willow wakenet model: wn9_heywillow_tts - Add hey willow wakenet model: wn9_heywillow_tts
- Update wn9_alexa from v3 to v4 - Update wn9_alexa from v3 to v4

View File

@ -63,23 +63,23 @@ choice SR_WN_MODEL_LOAD
Select the Wake Words to be loaded. Select the Wake Words to be loaded.
config SR_WN_WN5_HILEXIN config SR_WN_WN5_HILEXIN
bool "Hi,Lexin (wn5_hilexin)" bool "Hi,乐鑫 (wn5_hilexin)"
depends on IDF_TARGET_ESP32 depends on IDF_TARGET_ESP32
config SR_WN_WN5X3_HILEXIN config SR_WN_WN5X3_HILEXIN
bool "Hi,Lexin (wn5_hilexinX3)" bool "Hi,乐鑫 (wn5_hilexinX3)"
depends on IDF_TARGET_ESP32 depends on IDF_TARGET_ESP32
config SR_WN_WN5_NIHAOXIAOZHI config SR_WN_WN5_NIHAOXIAOZHI
bool "nihaoxiaozhi (wn5_nihaoxiaozhi)" bool "你好小智 (wn5_nihaoxiaozhi)"
depends on IDF_TARGET_ESP32 depends on IDF_TARGET_ESP32
config SR_WN_WN5X3_NIHAOXIAOZHI config SR_WN_WN5X3_NIHAOXIAOZHI
bool "nihaoxiaozhi (wn5_nihaoxiaozhiX3)" bool "你好小智 (wn5_nihaoxiaozhiX3)"
depends on IDF_TARGET_ESP32 depends on IDF_TARGET_ESP32
config SR_WN_WN5X3_NIHAOXIAOXIN config SR_WN_WN5X3_NIHAOXIAOXIN
bool "nihaoxiaoxin (wn5_nihaoxiaoxinX3)" bool "你好小鑫 (wn5_nihaoxiaoxinX3)"
depends on IDF_TARGET_ESP32 depends on IDF_TARGET_ESP32
config SR_WN_WN8_ALEXA config SR_WN_WN8_ALEXA
@ -87,11 +87,11 @@ choice SR_WN_MODEL_LOAD
depends on IDF_TARGET_ESP32S3 depends on IDF_TARGET_ESP32S3
config SR_WN_WN9_HILEXIN config SR_WN_WN9_HILEXIN
bool "Hi,Lexin (wn9_hilexin)" bool "Hi,乐鑫 (wn9_hilexin)"
depends on IDF_TARGET_ESP32S3 depends on IDF_TARGET_ESP32S3
config SR_WN_WN9_XIAOAITONGXUE config SR_WN_WN9_XIAOAITONGXUE
bool "xiaoaitongxue (wn9_xiaoaitongxue)" bool "小爱同学 (wn9_xiaoaitongxue)"
depends on IDF_TARGET_ESP32S3 depends on IDF_TARGET_ESP32S3
config SR_WN_WN9_ALEXA config SR_WN_WN9_ALEXA
@ -107,7 +107,7 @@ choice SR_WN_MODEL_LOAD
depends on IDF_TARGET_ESP32S3 depends on IDF_TARGET_ESP32S3
config SR_WN_WN9_NIHAOXIAOZHI config SR_WN_WN9_NIHAOXIAOZHI
bool "nihaoxiaozhi (wn9_nihaoxiaozhi)" bool "你好小智 (wn9_nihaoxiaozhi)"
depends on IDF_TARGET_ESP32S3 depends on IDF_TARGET_ESP32S3
config SR_WN_WN9_JARVIS_TTS config SR_WN_WN9_JARVIS_TTS
@ -127,21 +127,29 @@ choice SR_WN_MODEL_LOAD
depends on IDF_TARGET_ESP32S3 depends on IDF_TARGET_ESP32S3
config SR_WN_WN9_NIHAOXIAOXIN_TTS config SR_WN_WN9_NIHAOXIAOXIN_TTS
bool "nihaoxiaoxin (wn9_nihaoxiaoxin_tts)" bool "你好小鑫 (wn9_nihaoxiaoxin_tts)"
depends on IDF_TARGET_ESP32S3 depends on IDF_TARGET_ESP32S3
config SR_WN_WN9_XIAOMEITONGXUE_TTS config SR_WN_WN9_XIAOMEITONGXUE_TTS
bool "xiaomeitongxue (wn9_xiaomeitongxue_tts)" bool "小美同学 (wn9_xiaomeitongxue_tts)"
depends on IDF_TARGET_ESP32S3 depends on IDF_TARGET_ESP32S3
config SR_WN_WN9_HIXIAOXING_TTS config SR_WN_WN9_HIXIAOXING_TTS
bool "Hi,Xiaoxing (wn9_hixiaoxing_tts)" bool "Hi,小星 (wn9_hixiaoxing_tts)"
depends on IDF_TARGET_ESP32S3 depends on IDF_TARGET_ESP32S3
config SR_WN_WN9_MYCROFT_TTS config SR_WN_WN9_MYCROFT_TTS
bool "Mycroft (wn9_mycroft_tts)" bool "Mycroft (wn9_mycroft_tts)"
depends on IDF_TARGET_ESP32S3 depends on IDF_TARGET_ESP32S3
config SR_WN_WN9_HEYPRINTER_TTS
bool "Hey,Printer (wn9_heyprinter_tts)"
depends on IDF_TARGET_ESP32S3
config SR_WN_WN9_XIAOLONGXIAOLONG_TTS
bool "小龙小龙 (wn9_xiaolongxiaolong_tts)"
depends on IDF_TARGET_ESP32S3
config SR_WN_WN9_CUSTOMWORD config SR_WN_WN9_CUSTOMWORD
bool "customized word (wn9_customword)" bool "customized word (wn9_customword)"
depends on IDF_TARGET_ESP32S3 depends on IDF_TARGET_ESP32S3
@ -156,11 +164,11 @@ menu "Load Multiple Wake Words"
depends on SR_WN_LOAD_MULIT_WORD depends on SR_WN_LOAD_MULIT_WORD
config SR_WN_WN9_HILEXIN_MULTI config SR_WN_WN9_HILEXIN_MULTI
bool "Hi,Lexin (wn9_hilexin)" bool "Hi,乐鑫 (wn9_hilexin)"
default False default False
config SR_WN_WN9_XIAOAITONGXUE_MULTI config SR_WN_WN9_XIAOAITONGXUE_MULTI
bool "xiaoaitongxue (wn9_xiaoaitongxue)" bool "小爱同学 (wn9_xiaoaitongxue)"
default False default False
config SR_WN_WN9_ALEXA_MULTI config SR_WN_WN9_ALEXA_MULTI
@ -188,11 +196,19 @@ menu "Load Multiple Wake Words"
depends on IDF_TARGET_ESP32S3 depends on IDF_TARGET_ESP32S3
config SR_WN_WN9_NIHAOXIAOXIN_TTS_MULTI config SR_WN_WN9_NIHAOXIAOXIN_TTS_MULTI
bool "nihaoxiaoxin (wn9_nihaoxiaoxin_tts)" bool "你好小鑫 (wn9_nihaoxiaoxin_tts)"
depends on IDF_TARGET_ESP32S3 depends on IDF_TARGET_ESP32S3
config SR_WN_WN9_XIAOMEITONGXUE_TTS_MULTI config SR_WN_WN9_XIAOMEITONGXUE_TTS_MULTI
bool "xiaomeitongxue (wn9_xiaomeitongxue_tts)" bool "小美同学 (wn9_xiaomeitongxue_tts)"
depends on IDF_TARGET_ESP32S3
config SR_WN_WN9_HEYPRINTER_TTS_MULTI
bool "Hey,Printer (wn9_heyprinter_tts)"
depends on IDF_TARGET_ESP32S3
config SR_WN_WN9_XIAOLONGXIAOLONG_TTS_MULTI
bool "小龙小龙 (wn9_xiaolongxiaolong_tts)"
depends on IDF_TARGET_ESP32S3 depends on IDF_TARGET_ESP32S3
config SR_WN_WN9_MYCROFT_TTS_MULTI config SR_WN_WN9_MYCROFT_TTS_MULTI

View File

@ -42,9 +42,11 @@ The following wake words are supported in esp-sr:
|Hey,Willow | | wn9_heywillow_tts | |Hey,Willow | | wn9_heywillow_tts |
|Sophia | | wn9_sophia_tts | |Sophia | | wn9_sophia_tts |
|Mycroft | | wn9_mycroft_tts | |Mycroft | | wn9_mycroft_tts |
|Hey,Printer | | wn9_heyprinter_tts |
|你好小鑫 | | wn9_nihaoxiaoxin_tts | |你好小鑫 | | wn9_nihaoxiaoxin_tts |
|小美同学 | | wn9_xiaomeitongxue_tts | |小美同学 | | wn9_xiaomeitongxue_tts |
|Hi,小星 | | wn9_hixiaoxing_tts | |Hi,小星 | | wn9_hixiaoxing_tts |
|小龙小龙 | | wn9_小龙小龙_tts |
*NOTE:* `_tts` suffix means this WakeNet model is trained by TTS samples. *NOTE:* `_tts` suffix means this WakeNet model is trained by TTS samples.

View File

@ -1,4 +1,4 @@
version: "1.6.1" version: "1.7.0"
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:

View File

@ -0,0 +1,2 @@
# (neural network type)_(model data version)_(label1_detection window length_threshold for 90%_threshold for 95%)_(label2 ...)_...
wakenet9l_tts1h8_Heyprinter_3_0.623_0.629

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
wakenet9l_tts1h8_小龙小龙_3_0.624_0.628

Binary file not shown.

Binary file not shown.