Keyword spotting on the Arduino Nano
As you might have guessed, it is time to deploy the KWS application on the Arduino Nano.
In this recipe, we will show how to do so with the help of Edge Impulse.
Getting ready
The application on the Arduino Nano will be based on the nano_ble33_sense_microphone_continuous.cpp example provided by Edge Impulse, which implements a real-time KWS application. Before adjusting this code sample, we want to examine how it works to get ready for this final recipe.
Learning how a real-time KWS application works
A real-time KWS application—for example, the one used in a smart assistant—should capture and process all pieces of the audio stream to never miss any events. Therefore, the application must record audio and run inference simultaneously so we do not miss any information.
On a microcontroller, parallel tasks can be performed in two ways:
- With a real-time OS (RTOS...