ESP Box Speech Command Minimum working example
Posted: Sun Jan 01, 2023 2:06 am
Hey!
I'm trying to build a project where I use the ESP box to perform some basic tasks using voice recognition (basically just toggle some GPIO pins based on various commands). I'm trying to see if I can set up a basic working example where I can wake the device, say a command, and have a certain function run on the device. However, I have been looking through the examples and the documentation all day and have not made any leeway. The examples are all extremely complex and poorly commented... there are thousands of lines of code and it's unclear what is boilerplate, and what is actually needed.
Would somebody be able to provide some bare minimum sample code to intialize the voice recognition, and trigger a certain function based on a voice command (for example, turn on the light/turn off the light to toggle a given GPIO pin).
I know it is possible to set something like this up through the web app using the firmware, however this won't work for me, I need a bit more complexity. So really I'm looking for something like the "Blink" example in the Espressif IDE, except triggered via a voice command.
I'm trying to build a project where I use the ESP box to perform some basic tasks using voice recognition (basically just toggle some GPIO pins based on various commands). I'm trying to see if I can set up a basic working example where I can wake the device, say a command, and have a certain function run on the device. However, I have been looking through the examples and the documentation all day and have not made any leeway. The examples are all extremely complex and poorly commented... there are thousands of lines of code and it's unclear what is boilerplate, and what is actually needed.
Would somebody be able to provide some bare minimum sample code to intialize the voice recognition, and trigger a certain function based on a voice command (for example, turn on the light/turn off the light to toggle a given GPIO pin).
I know it is possible to set something like this up through the web app using the firmware, however this won't work for me, I need a bit more complexity. So really I'm looking for something like the "Blink" example in the Espressif IDE, except triggered via a voice command.