[ESP32-Korvo Review] 08 ESP-Skainet Development Preparation
[Copy link]
This post was last edited by Tianyiwuzui on 2021-3-20 20:30
After a few nights of hard work, I finally set up the ESP-IDF development environment. Now it’s time to get down to business: voice application development.
Espressif's voice development component is ESP-Skainet, which supports the development of wake-up word recognition and command word recognition applications based on Espressif's ESP32 chip in the most convenient way. Using ESP-Skainet, you can easily build wake-up word recognition and command word recognition applications.
Wake-up word recognition
The wake-up word model is committed to providing a high-performance model with low resource consumption, supporting the recognition of wake-up words such as "Alexa", "Tmall Genie", and "Xiao Ai".
Currently, Espressif provides free wake-up words such as "Hi, Espressif", "Hello Xiaozhi", "Hello Xiaoxin", and "hi, Jeson". If users need other wake-up words, Espressif provides wake-up word customization services. For details, please refer to .
Voice command word recognition
The command word recognition model is dedicated to providing a flexible offline voice command recognition framework. Users can easily customize voice commands according to their needs without retraining the model.
Currently, the model supports recognition of Chinese command words such as "Turn on the air conditioner" and "Turn on the bedroom light" and English command words such as "Turn on/off the light". The maximum number of custom voice command words is 100.
Acoustic Algorithm
Currently, ESP-Skainet integrates Acoustic Echo Cancellation (AEC), automatic gain control (AGC), noise suppression (NS), voice activity detection (VAD) and microphone array algorithm (Mic Array Speech Enhancement).
To develop applications using ESP-Skainet , you must first clone the development package from GitHub. When I thought of this, I started to get mad again, because when I installed ESP-IDF before, cloning files from GitHub was very slow and often failed. There was no other way but to give it a try.
Start ESP-IDF Command Prompt and enter the command:
git clone --recursive https://github.com/espressif/esp-skainet.git
After waiting for a few minutes, it still failed.
I kept trying again, but there was no response after more than ten minutes. There was no failure message or success message.
After a long time, it still prompts that it cannot connect to GitHub .
I continued trying, and finally the download progress prompt message popped up, and I was so moved.
It was another long wait, but the result was still failure.
Oh, it seems that it depends on the internet speed and luck. Never mind. I’ll try again another day.
|