Home

Awesome

ESP-SR Speech Recognition Framework

Documentation Status Component Registry

Espressif ESP-SR helps users build AI speech solutions based on ESP32-S3 or ESP32-P4 chips.

Overview

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/ESP32-P4 are recommended, which support AI instructions and larger, high-speed octal SPI PSRAM. The new algorithms will no longer support ESP32 chips.

Wake Word Engine

Espressif wake word engine WakeNet is specially designed to provide a high performance and low memory footprint wake word detection algorithm for users, which enables devices always listen to wake words, such as “Alexa”, “Hi,lexin” and “Hi,ESP”.

Espressif offers two ways to customize the wake word, please refer to the following document to choose the one that meets your needs:
Espressif Speech Wake Words Customization Process or Training Wake Words by TTS sample.

The following wake words are supported in esp-sr:

wake wordsESP32ESP32-S3/ESP32-P4
Hi,乐鑫wn5_hilexin, wn5_hilexinX3wn9_hilexin
你好小智wn5_nihaoxiaozhi,wn5_nihaoxiaozhiX3wn9_nihaoxiaozhi_tts
小爱同学wn9_xiaoaitongxue
Hi,ESPwn9_hiesp
Hi,M Fivewn9_himfive
Alexawn9_alexa
Jarviswn9_jarvis_tts
Computerwn9_computer_tts
Hey,Willowwn9_heywillow_tts
Sophiawn9_sophia_tts
Mycroftwn9_mycroft_tts
Hey,Printerwn9_heyprinter_tts
Hi,Joywn9_hijoy_tts
Hey,Wandwn9_heywanda_tts
Astrolabewn9_astrolabe_tts
你好小鑫wn9_nihaoxiaoxin_tts
小美同学wn9_xiaomeitongxue_tts
Hi,小星wn9_hixiaoxing_tts
小龙小龙wn9_xiaolongxiaolong_tts
喵喵同学wn9_miaomiaotongxue_tts
Hi,喵喵wn9_himiaomiao_tts
Hi,Lily/Hi,莉莉wn9_hilili_tts
Hi,Telly/Hi,泰力wn9_hitelly_tts
小滨小滨/小冰小冰wn9_xiaobinxiaobin_tts
Hi,小巫wn9_haixiaowu_tts

NOTE: _tts suffix means this WakeNet model is trained by TTS samples.

Speech Command Recognition

Espressif's speech command recognition model MultiNet is specially designed to provide a flexible off-line speech command recognition model. With this model, you can easily add your own speech commands, eliminating the need to train model again.

Currently, Espressif MultiNet supports up to 300 Chinese or English speech commands, such as “打开空调” (Turn on the air conditioner) and “打开卧室灯” (Turn on the bedroom light).

The following MultiNet models are supported in esp-sr:

languageESP32ESP32-S3ESP32-P4
Chinesemn2_cnmn5q8_cn, mn6_cn, mn7_cnmn7_cn
Englishmn5q8_en, mn6_en, mn7_enmn7_en

Audio Front End

Espressif Audio Front-End AFE integrates AEC (Acoustic Echo Cancellation), VAD (Voice Activity Detection), BSS (Blind Source Separation) and NS (Noise Suppression).

Our two-mic Audio Front-End (AFE) have been qualified as a “Software Audio Front-End Solution” for Amazon Alexa Built-in devices.

In order to achieve optimal performance: